Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low.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_low,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low") translateModel(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008671/0.0008672, allocations: 93.27 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009641/0.0009641, allocations: 175.9 kB / 16.91 MB, free: 6.684 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.416/1.416, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6881/0.6881, allocations: 115.5 MB / 407.6 MB, free: 2.668 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003565/0.0003565, allocations: 11.98 kB / 495.9 MB, free: 6.344 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.1571, allocations: 77.54 MB / 0.56 GB, free: 9.02 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.001538/0.1587, allocations: 1.118 MB / 0.5611 GB, free: 7.887 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002471/0.1612, allocations: 1.885 MB / 0.5629 GB, free: 5.996 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.08e-05/0.1613, allocations: 4 kB / 0.5629 GB, free: 5.992 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001086/0.1624, allocations: 369.4 kB / 0.5632 GB, free: 5.633 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.26e-05/0.1624, allocations: 19.91 kB / 0.5633 GB, free: 5.613 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.607e-06/0.1624, allocations: 4 kB / 0.5633 GB, free: 5.609 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002164/0.1627, allocations: 131.2 kB / 0.5634 GB, free: 5.48 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.437e-05/0.1627, allocations: 21.48 kB / 0.5634 GB, free: 5.457 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.898e-05/0.1628, allocations: 47.73 kB / 0.5635 GB, free: 5.41 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001098/0.1629, allocations: 63.7 kB / 0.5635 GB, free: 5.348 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.1629, allocations: 4 kB / 0.5635 GB, free: 5.344 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004271/0.1634, allocations: 179.9 kB / 0.5637 GB, free: 5.168 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.163e-05/0.1634, allocations: 27.91 kB / 0.5637 GB, free: 5.141 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 9.224e-05/0.1635, allocations: 101.2 kB / 0.5638 GB, free: 5.035 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000418/0.1639, allocations: 283.2 kB / 0.5641 GB, free: 4.758 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.164, allocations: 0 / 0.5641 GB, free: 4.758 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.164, allocations: 0 / 0.5641 GB, free: 4.758 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.908e-06/0.164, allocations: 0 / 0.5641 GB, free: 4.758 MB / 430.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.0006289/0.1646, allocations: 478.6 kB / 0.5645 GB, free: 4.242 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.1647, allocations: 8.031 kB / 0.5646 GB, free: 4.234 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001514/0.1648, allocations: 96.03 kB / 0.5646 GB, free: 4.141 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002162/0.165, allocations: 291.3 kB / 0.5649 GB, free: 3.82 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.92e-05/0.1651, allocations: 154.9 kB / 0.5651 GB, free: 3.668 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.032e-05/0.1652, allocations: 158.9 kB / 0.5652 GB, free: 3.512 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.82e-05/0.1652, allocations: 109.1 kB / 0.5653 GB, free: 3.398 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.256e-05/0.1653, allocations: 79.28 kB / 0.5654 GB, free: 3.32 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.003e-05/0.1653, allocations: 150.6 kB / 0.5655 GB, free: 3.172 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.871e-05/0.1654, allocations: 154.6 kB / 0.5657 GB, free: 3.02 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.519e-05/0.1654, allocations: 150.6 kB / 0.5658 GB, free: 2.871 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003422/0.1658, allocations: 0.5055 MB / 0.5663 GB, free: 2.316 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.796e-05/0.1659, allocations: 173 kB / 0.5665 GB, free: 2.137 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.765e-05/0.1659, allocations: 84.14 kB / 0.5666 GB, free: 2.051 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.506e-05/0.166, allocations: 75.28 kB / 0.5666 GB, free: 1.977 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.782e-05/0.166, allocations: 109.8 kB / 0.5668 GB, free: 1.859 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 8.31e-07/0.166, allocations: 0 / 0.5668 GB, free: 1.859 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001698/0.1662, allocations: 57.55 kB / 0.5668 GB, free: 1.797 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.489e-05/0.1662, allocations: 130.6 kB / 0.5669 GB, free: 1.656 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003179/0.1666, allocations: 326.3 kB / 0.5672 GB, free: 1.332 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.1666, allocations: 25.7 kB / 0.5673 GB, free: 1.301 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.698e-05/0.1667, allocations: 120.4 kB / 0.5674 GB, free: 1.18 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.324e-06/0.1667, allocations: 0 / 0.5674 GB, free: 1.18 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.871e-05/0.1667, allocations: 45.69 kB / 0.5674 GB, free: 1.129 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.1669, allocations: 334.8 kB / 0.5677 GB, free: 0.793 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.029e-05/0.167, allocations: 63.89 kB / 0.5678 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001148/0.1671, allocations: 129.5 kB / 0.5679 GB, free: 0.582 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002225/0.1673, allocations: 209.8 kB / 0.5681 GB, free: 364 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.1673, allocations: 0 / 0.5681 GB, free: 364 kB / 430.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004088/0.1677, allocations: 237.2 kB / 0.5684 GB, free: 120 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.1678, allocations: 4 kB / 0.5684 GB, free: 116 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.1678, allocations: 8.219 kB / 0.5684 GB, free: 108 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.689e-06/0.1678, allocations: 0 / 0.5684 GB, free: 108 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.196e-06/0.1678, allocations: 7.984 kB / 0.5684 GB, free: 100 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.1678, allocations: 7.938 kB / 0.5684 GB, free: 92 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001154/0.1679, allocations: 23.59 kB / 0.5684 GB, free: 68 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.168, allocations: 4 kB / 0.5684 GB, free: 64 kB / 430.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.0001844/0.1681, allocations: 229 kB / 0.5686 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.585e-05/0.1682, allocations: 120.7 kB / 0.5687 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.404e-05/0.1683, allocations: 117.8 kB / 0.5689 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.287e-05/0.1684, allocations: 180.2 kB / 0.569 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.301e-05/0.1684, allocations: 184.2 kB / 0.5692 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.479e-05/0.1685, allocations: 176.3 kB / 0.5694 GB, free: 15.03 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002726/0.1688, allocations: 453.2 kB / 0.5698 GB, free: 14.53 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.836e-05/0.1688, allocations: 108.9 kB / 0.5699 GB, free: 14.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.541e-05/0.1689, allocations: 104.9 kB / 0.57 GB, free: 14.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.2e-05/0.1689, allocations: 184.2 kB / 0.5702 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.775e-05/0.169, allocations: 180.3 kB / 0.5704 GB, free: 13.94 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.256e-05/0.1691, allocations: 180.2 kB / 0.5705 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.38e-05/0.1691, allocations: 184.2 kB / 0.5707 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001417/0.1693, allocations: 327.5 kB / 0.571 GB, free: 13.22 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.628e-05/0.1694, allocations: 197.8 kB / 0.5712 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.422e-05/0.1695, allocations: 180.2 kB / 0.5714 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/0.1696, allocations: 105 kB / 0.5715 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.214e-05/0.1697, allocations: 184.2 kB / 0.5717 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-05/0.1697, allocations: 108.9 kB / 0.5718 GB, free: 12.41 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000198/0.1699, allocations: 213.9 kB / 0.572 GB, free: 12.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1699, allocations: 0 / 0.572 GB, free: 12.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003366/0.1703, allocations: 67.98 kB / 0.572 GB, free: 12.14 MB / 446.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.00029/0.1706, allocations: 270.7 kB / 0.5723 GB, free: 11.86 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001617/0.1708, allocations: 107.9 kB / 0.5724 GB, free: 11.76 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1708, allocations: 0 / 0.5724 GB, free: 11.76 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.402e-06/0.1708, allocations: 0 / 0.5724 GB, free: 11.76 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000402/0.1712, allocations: 0.5328 MB / 0.5729 GB, free: 11.22 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004949/0.1717, allocations: 438 kB / 0.5733 GB, free: 10.76 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003029/0.172, allocations: 0.7355 MB / 0.574 GB, free: 10 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.269e-05/0.172, allocations: 4 kB / 0.574 GB, free: 9.996 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.949e-05/0.172, allocations: 15.42 kB / 0.5741 GB, free: 9.98 MB / 446.1 MB Notification: Performance of SimCode: time 4.01e-07/0.172, allocations: 0 / 0.5741 GB, free: 9.98 MB / 446.1 MB Notification: Performance of Templates: time 0.00504/0.1771, allocations: 2.212 MB / 0.5762 GB, free: 7.785 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile (rm -f IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1)