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.001375/0.001375, allocations: 119.4 kB / 17.09 MB, free: 5.965 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.001314/0.001314, allocations: 197.9 kB / 18.02 MB, free: 5.047 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.344/1.344, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.732/0.732, allocations: 115.3 MB / 407.2 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 67.53 kB / 0.5583 GB, free: 32.47 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1513, allocations: 76.18 MB / 0.6327 GB, free: 4.535 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002828/0.1542, allocations: 1.404 MB / 0.6341 GB, free: 3.125 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003468/0.1577, allocations: 2.662 MB / 0.6367 GB, free: 464 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.524e-05/0.1577, allocations: 3.938 kB / 0.6367 GB, free: 460 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001976/0.1598, allocations: 0.5828 MB / 0.6373 GB, free: 15.86 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.231e-05/0.1598, allocations: 19.84 kB / 0.6373 GB, free: 15.84 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.221e-06/0.1599, allocations: 0 / 0.6373 GB, free: 15.84 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002802/0.1601, allocations: 158.9 kB / 0.6374 GB, free: 15.69 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.937e-05/0.1602, allocations: 36.39 kB / 0.6375 GB, free: 15.65 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.1603, allocations: 71.61 kB / 0.6375 GB, free: 15.58 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001718/0.1605, allocations: 71.58 kB / 0.6376 GB, free: 15.51 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.822e-05/0.1605, allocations: 4 kB / 0.6376 GB, free: 15.5 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001189/0.1617, allocations: 467.3 kB / 0.6381 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.927e-05/0.1618, allocations: 35.78 kB / 0.6381 GB, free: 15.01 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001065/0.1619, allocations: 99.36 kB / 0.6382 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007948/0.1627, allocations: 446.3 kB / 0.6386 GB, free: 14.48 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1627, allocations: 0 / 0.6386 GB, free: 14.48 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1628, allocations: 4 kB / 0.6386 GB, free: 14.47 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.245e-05/0.1628, allocations: 0 / 0.6386 GB, free: 14.47 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.0008963/0.1637, allocations: 0.5451 MB / 0.6391 GB, free: 13.88 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.1637, allocations: 8.031 kB / 0.6392 GB, free: 13.87 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001831/0.1639, allocations: 99.94 kB / 0.6392 GB, free: 13.77 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002678/0.1642, allocations: 314.2 kB / 0.6395 GB, free: 13.42 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.079e-05/0.1642, allocations: 150.9 kB / 0.6397 GB, free: 13.27 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.625e-05/0.1643, allocations: 158.9 kB / 0.6398 GB, free: 13.12 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.096e-05/0.1644, allocations: 109.5 kB / 0.6399 GB, free: 13 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.982e-05/0.1644, allocations: 79.41 kB / 0.64 GB, free: 12.93 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.611e-05/0.1645, allocations: 162.5 kB / 0.6402 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-05/0.1646, allocations: 150.6 kB / 0.6403 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.915e-05/0.1646, allocations: 154.6 kB / 0.6405 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004/0.1651, allocations: 0.5289 MB / 0.641 GB, free: 11.89 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.026e-05/0.1651, allocations: 169.1 kB / 0.6411 GB, free: 11.71 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.958e-05/0.1652, allocations: 92.08 kB / 0.6412 GB, free: 11.62 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.713e-05/0.1652, allocations: 79.27 kB / 0.6413 GB, free: 11.54 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.762e-05/0.1653, allocations: 105.8 kB / 0.6414 GB, free: 11.43 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.1653, allocations: 0 / 0.6414 GB, free: 11.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001834/0.1655, allocations: 53.36 kB / 0.6415 GB, free: 11.37 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.942e-05/0.1656, allocations: 134.6 kB / 0.6416 GB, free: 11.22 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004536/0.166, allocations: 437.2 kB / 0.642 GB, free: 10.78 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.166, allocations: 25.7 kB / 0.642 GB, free: 10.75 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.071e-05/0.1661, allocations: 132.5 kB / 0.6422 GB, free: 10.62 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.346e-06/0.1661, allocations: 0 / 0.6422 GB, free: 10.62 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.16e-05/0.1662, allocations: 93.66 kB / 0.6422 GB, free: 10.52 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.1664, allocations: 338.8 kB / 0.6426 GB, free: 10.18 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.1665, allocations: 100.5 kB / 0.6427 GB, free: 10.08 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001577/0.1667, allocations: 165.3 kB / 0.6428 GB, free: 9.898 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003196/0.167, allocations: 305.6 kB / 0.6431 GB, free: 9.578 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.167, allocations: 0 / 0.6431 GB, free: 9.578 MB / 494.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005064/0.1675, allocations: 321 kB / 0.6434 GB, free: 9.258 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.1675, allocations: 8.219 kB / 0.6434 GB, free: 9.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.1676, allocations: 7.938 kB / 0.6434 GB, free: 9.242 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.1676, allocations: 7.984 kB / 0.6434 GB, free: 9.234 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.948e-06/0.1676, allocations: 7.922 kB / 0.6435 GB, free: 9.227 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.1676, allocations: 7.938 kB / 0.6435 GB, free: 9.219 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001439/0.1678, allocations: 43.28 kB / 0.6435 GB, free: 9.176 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.879e-06/0.1678, allocations: 4 kB / 0.6435 GB, free: 9.172 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.000244/0.168, allocations: 241.1 kB / 0.6437 GB, free: 8.926 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.789e-05/0.1681, allocations: 124.6 kB / 0.6439 GB, free: 8.797 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.718e-05/0.1682, allocations: 122.9 kB / 0.644 GB, free: 8.672 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.891e-05/0.1683, allocations: 176.3 kB / 0.6441 GB, free: 8.492 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-05/0.1683, allocations: 184.2 kB / 0.6443 GB, free: 8.305 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.226e-05/0.1684, allocations: 176.3 kB / 0.6445 GB, free: 8.125 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003017/0.1687, allocations: 485 kB / 0.6449 GB, free: 7.594 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.363e-05/0.1688, allocations: 101 kB / 0.645 GB, free: 7.488 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.49e-05/0.1688, allocations: 105 kB / 0.6451 GB, free: 7.379 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.821e-05/0.1689, allocations: 188.2 kB / 0.6453 GB, free: 7.188 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.691e-05/0.169, allocations: 184.2 kB / 0.6455 GB, free: 7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.976e-05/0.169, allocations: 180.4 kB / 0.6457 GB, free: 6.816 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.017e-05/0.1691, allocations: 180.3 kB / 0.6458 GB, free: 6.633 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001709/0.1693, allocations: 335.4 kB / 0.6462 GB, free: 6.281 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.1694, allocations: 197.8 kB / 0.6463 GB, free: 6.062 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.927e-05/0.1695, allocations: 188.1 kB / 0.6465 GB, free: 5.871 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/0.1696, allocations: 109 kB / 0.6466 GB, free: 5.758 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.168e-05/0.1697, allocations: 180.3 kB / 0.6468 GB, free: 5.574 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.528e-05/0.1698, allocations: 104.9 kB / 0.6469 GB, free: 5.465 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002611/0.17, allocations: 279.1 kB / 0.6472 GB, free: 5.195 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.17, allocations: 0 / 0.6472 GB, free: 5.195 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004187/0.1705, allocations: 83.98 kB / 0.6472 GB, free: 5.113 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.0004127/0.1709, allocations: 305 kB / 0.6475 GB, free: 4.809 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002367/0.1711, allocations: 163.9 kB / 0.6477 GB, free: 4.648 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1711, allocations: 0 / 0.6477 GB, free: 4.648 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.797e-06/0.1711, allocations: 7.875 kB / 0.6477 GB, free: 4.641 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004244/0.1716, allocations: 465.1 kB / 0.6481 GB, free: 4.18 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006581/0.1722, allocations: 0.5164 MB / 0.6487 GB, free: 3.625 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.1726, allocations: 0.7743 MB / 0.6494 GB, free: 2.824 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.885e-05/0.1726, allocations: 7.438 kB / 0.6494 GB, free: 2.82 MB / 494.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1726, allocations: 4 kB / 0.6494 GB, free: 2.816 MB / 494.1 MB Notification: Performance of Templates: time 0.005424/0.178, allocations: 3.143 MB / 0.6525 GB, free: 15.67 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)