Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med") translateModel(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 106 kB / 16.4 MB, free: 6.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 193.2 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.249/1.249, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6754/0.6754, allocations: 115.3 MB / 406.5 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 62.12 kB / 0.5577 GB, free: 32.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1283, allocations: 76.19 MB / 0.6321 GB, free: 4.449 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002391/0.1307, allocations: 1.407 MB / 0.6334 GB, free: 3.031 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003035/0.1338, allocations: 2.665 MB / 0.636 GB, free: 368 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.161e-05/0.1338, allocations: 3.938 kB / 0.636 GB, free: 364 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001614/0.1355, allocations: 0.5829 MB / 0.6366 GB, free: 15.77 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.962e-05/0.1355, allocations: 15.91 kB / 0.6366 GB, free: 15.75 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.418e-06/0.1355, allocations: 0 / 0.6366 GB, free: 15.75 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002205/0.1358, allocations: 154.8 kB / 0.6368 GB, free: 15.6 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.108e-05/0.1358, allocations: 40.39 kB / 0.6368 GB, free: 15.56 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.445e-05/0.1359, allocations: 63.61 kB / 0.6369 GB, free: 15.5 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001177/0.136, allocations: 79.58 kB / 0.6369 GB, free: 15.42 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.206e-05/0.1361, allocations: 0 / 0.6369 GB, free: 15.42 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009204/0.137, allocations: 475.3 kB / 0.6374 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.319e-05/0.137, allocations: 31.84 kB / 0.6374 GB, free: 14.92 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.894e-05/0.1371, allocations: 95.36 kB / 0.6375 GB, free: 14.83 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000524/0.1377, allocations: 442.3 kB / 0.6379 GB, free: 14.39 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1377, allocations: 0 / 0.6379 GB, free: 14.39 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.1377, allocations: 0 / 0.6379 GB, free: 14.39 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.1377, allocations: 0 / 0.6379 GB, free: 14.39 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.000663/0.1384, allocations: 0.5529 MB / 0.6385 GB, free: 13.79 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/0.1384, allocations: 12.03 kB / 0.6385 GB, free: 13.78 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001487/0.1386, allocations: 99.94 kB / 0.6386 GB, free: 13.68 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002039/0.1388, allocations: 306.2 kB / 0.6389 GB, free: 13.34 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.55e-05/0.1388, allocations: 154.9 kB / 0.639 GB, free: 13.19 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.841e-05/0.1389, allocations: 154.9 kB / 0.6392 GB, free: 13.04 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.389e-05/0.139, allocations: 117.5 kB / 0.6393 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.263e-05/0.139, allocations: 79.47 kB / 0.6394 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.99e-05/0.139, allocations: 154.5 kB / 0.6395 GB, free: 12.68 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.546e-05/0.1391, allocations: 150.6 kB / 0.6397 GB, free: 12.54 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.029e-05/0.1391, allocations: 150.6 kB / 0.6398 GB, free: 12.39 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000331/0.1395, allocations: 0.5367 MB / 0.6403 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.16e-05/0.1395, allocations: 169.1 kB / 0.6405 GB, free: 11.62 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.761e-05/0.1396, allocations: 84.14 kB / 0.6406 GB, free: 11.54 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.014e-05/0.1396, allocations: 75.28 kB / 0.6406 GB, free: 11.46 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.127e-05/0.1397, allocations: 113.8 kB / 0.6407 GB, free: 11.34 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.1397, allocations: 0 / 0.6407 GB, free: 11.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001857/0.1399, allocations: 57.3 kB / 0.6408 GB, free: 11.28 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.329e-05/0.14, allocations: 126.7 kB / 0.6409 GB, free: 11.14 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004442/0.1404, allocations: 433.2 kB / 0.6413 GB, free: 10.71 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.1404, allocations: 29.7 kB / 0.6414 GB, free: 10.67 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.994e-05/0.1405, allocations: 136.5 kB / 0.6415 GB, free: 10.54 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.776e-06/0.1405, allocations: 0 / 0.6415 GB, free: 10.54 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.589e-05/0.1406, allocations: 93.66 kB / 0.6416 GB, free: 10.44 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.1408, allocations: 338.8 kB / 0.6419 GB, free: 10.1 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/0.1409, allocations: 104.4 kB / 0.642 GB, free: 9.992 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001709/0.1411, allocations: 161.3 kB / 0.6422 GB, free: 9.816 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003173/0.1414, allocations: 305.6 kB / 0.6425 GB, free: 9.496 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.1414, allocations: 3.984 kB / 0.6425 GB, free: 9.492 MB / 494.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004692/0.1419, allocations: 321 kB / 0.6428 GB, free: 9.172 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.1419, allocations: 8 kB / 0.6428 GB, free: 9.164 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.1419, allocations: 4.016 kB / 0.6428 GB, free: 9.16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.142, allocations: 4 kB / 0.6428 GB, free: 9.156 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.313e-06/0.142, allocations: 3.938 kB / 0.6428 GB, free: 9.152 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.709e-06/0.142, allocations: 11.97 kB / 0.6428 GB, free: 9.141 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001302/0.1421, allocations: 43.5 kB / 0.6428 GB, free: 9.098 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.1421, allocations: 8 kB / 0.6428 GB, free: 9.09 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (cab[1].material,cab[2].material,cab[3].material,cab[4].material,cab[5].material,cab[6].material,cab[7].material) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001868/0.1423, allocations: 241.1 kB / 0.6431 GB, free: 8.844 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.058e-05/0.1424, allocations: 124.6 kB / 0.6432 GB, free: 8.715 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.392e-05/0.1424, allocations: 122.9 kB / 0.6433 GB, free: 8.59 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.222e-05/0.1425, allocations: 180.2 kB / 0.6435 GB, free: 8.406 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.552e-05/0.1426, allocations: 184.2 kB / 0.6437 GB, free: 8.219 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.307e-05/0.1426, allocations: 180.2 kB / 0.6438 GB, free: 8.035 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002529/0.1429, allocations: 477.1 kB / 0.6443 GB, free: 7.512 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.87e-05/0.1429, allocations: 105 kB / 0.6444 GB, free: 7.402 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.56e-05/0.143, allocations: 101 kB / 0.6445 GB, free: 7.297 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.457e-05/0.143, allocations: 196.2 kB / 0.6447 GB, free: 7.098 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.765e-05/0.1431, allocations: 180.2 kB / 0.6448 GB, free: 6.914 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.884e-05/0.1431, allocations: 188.4 kB / 0.645 GB, free: 6.723 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.245e-05/0.1432, allocations: 176.3 kB / 0.6452 GB, free: 6.543 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001257/0.1433, allocations: 331.4 kB / 0.6455 GB, free: 6.195 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.747e-05/0.1434, allocations: 201.8 kB / 0.6457 GB, free: 5.973 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.162e-05/0.1435, allocations: 184.1 kB / 0.6459 GB, free: 5.785 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/0.1436, allocations: 109 kB / 0.646 GB, free: 5.672 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.586e-05/0.1437, allocations: 180.2 kB / 0.6461 GB, free: 5.488 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.541e-05/0.1437, allocations: 101 kB / 0.6462 GB, free: 5.383 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002324/0.144, allocations: 283.1 kB / 0.6465 GB, free: 5.109 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.144, allocations: 4 kB / 0.6465 GB, free: 5.105 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003404/0.1443, allocations: 80 kB / 0.6466 GB, free: 5.027 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000328/0.1446, allocations: 302.3 kB / 0.6469 GB, free: 4.723 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001915/0.1448, allocations: 163.9 kB / 0.647 GB, free: 4.562 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.1449, allocations: 0 / 0.647 GB, free: 4.562 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.282e-06/0.1449, allocations: 3.938 kB / 0.647 GB, free: 4.559 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003533/0.1452, allocations: 465.6 kB / 0.6475 GB, free: 4.098 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005298/0.1458, allocations: 0.4975 MB / 0.648 GB, free: 3.57 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002921/0.1461, allocations: 0.7743 MB / 0.6487 GB, free: 2.77 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.296e-05/0.1461, allocations: 3.984 kB / 0.6487 GB, free: 2.766 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.645e-05/0.1461, allocations: 11.44 kB / 0.6487 GB, free: 2.758 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1461, allocations: 0 / 0.6487 GB, free: 2.758 MB / 494.1 MB Notification: Performance of Templates: time 0.006106/0.1522, allocations: 3.094 MB / 0.6518 GB, free: 15.66 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile (rm -f IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1)