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.001429/0.001429, allocations: 109.8 kB / 16.41 MB, free: 6.492 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.00153/0.00153, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.349/1.349, allocations: 222.9 MB / 241 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.7695/0.7695, allocations: 126.1 MB / 417.3 MB, free: 12.81 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 71.83 kB / 0.5731 GB, free: 27.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.1625, allocations: 78.7 MB / 0.6499 GB, free: 4.133 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.003061/0.1656, allocations: 1.417 MB / 0.6513 GB, free: 2.707 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003617/0.1692, allocations: 2.662 MB / 0.6539 GB, free: 40 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.883e-05/0.1693, allocations: 4 kB / 0.6539 GB, free: 36 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001583/0.1709, allocations: 0.5828 MB / 0.6545 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.95e-05/0.171, allocations: 23.84 kB / 0.6545 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 4.929e-06/0.171, allocations: 3.938 kB / 0.6545 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002509/0.1712, allocations: 158.9 kB / 0.6546 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.398e-05/0.1713, allocations: 36.41 kB / 0.6547 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.499e-05/0.1714, allocations: 51.73 kB / 0.6547 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001339/0.1715, allocations: 79.58 kB / 0.6548 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.509e-05/0.1715, allocations: 4 kB / 0.6548 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009748/0.1725, allocations: 471.3 kB / 0.6553 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.935e-05/0.1726, allocations: 31.84 kB / 0.6553 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001295/0.1727, allocations: 99.36 kB / 0.6554 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007097/0.1734, allocations: 442 kB / 0.6558 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.857e-06/0.1735, allocations: 0 / 0.6558 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.164e-06/0.1735, allocations: 0 / 0.6558 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.46e-05/0.1735, allocations: 4 kB / 0.6558 GB, free: 14.07 MB / 0.4981 GB 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.0009474/0.1744, allocations: 0.5603 MB / 0.6564 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.1745, allocations: 15.91 kB / 0.6564 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001919/0.1747, allocations: 108 kB / 0.6565 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002635/0.175, allocations: 302.4 kB / 0.6568 GB, free: 13 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.165e-05/0.175, allocations: 154.9 kB / 0.6569 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.061e-05/0.1751, allocations: 150.9 kB / 0.6571 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.258e-05/0.1752, allocations: 109.5 kB / 0.6572 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.418e-05/0.1752, allocations: 75.47 kB / 0.6572 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.304e-05/0.1753, allocations: 154.5 kB / 0.6574 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-05/0.1753, allocations: 154.6 kB / 0.6575 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.175e-05/0.1754, allocations: 158.5 kB / 0.6577 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003774/0.1758, allocations: 0.5328 MB / 0.6582 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.591e-05/0.1759, allocations: 173.1 kB / 0.6584 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.674e-05/0.1759, allocations: 80.14 kB / 0.6584 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.727e-05/0.1759, allocations: 79.28 kB / 0.6585 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.165e-05/0.176, allocations: 105.8 kB / 0.6586 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 2.445e-06/0.176, allocations: 0 / 0.6586 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 0.000241/0.1762, allocations: 61.44 kB / 0.6587 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.42e-05/0.1763, allocations: 126.7 kB / 0.6588 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004824/0.1768, allocations: 429.3 kB / 0.6592 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/0.1768, allocations: 25.7 kB / 0.6592 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.08e-05/0.1769, allocations: 144.6 kB / 0.6594 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.967e-06/0.1769, allocations: 0 / 0.6594 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.597e-05/0.177, allocations: 89.66 kB / 0.6595 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001735/0.1772, allocations: 342.8 kB / 0.6598 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001132/0.1773, allocations: 96.5 kB / 0.6599 GB, free: 9.676 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001637/0.1775, allocations: 169.2 kB / 0.66 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002956/0.1778, allocations: 305.6 kB / 0.6603 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1778, allocations: 0 / 0.6603 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005106/0.1783, allocations: 333 kB / 0.6606 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.1783, allocations: 4 kB / 0.6606 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.158e-06/0.1784, allocations: 7.938 kB / 0.6607 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.1784, allocations: 3.984 kB / 0.6607 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.096e-06/0.1784, allocations: 4.219 kB / 0.6607 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.1784, allocations: 4 kB / 0.6607 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001373/0.1785, allocations: 47.45 kB / 0.6607 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.1786, allocations: 4 kB / 0.6607 GB, free: 8.766 MB / 0.4981 GB 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.0002755/0.1788, allocations: 252.5 kB / 0.661 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.389e-05/0.1789, allocations: 124.8 kB / 0.6611 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.007e-05/0.179, allocations: 118.9 kB / 0.6612 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.656e-05/0.1791, allocations: 188.2 kB / 0.6614 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.452e-05/0.1792, allocations: 176.3 kB / 0.6615 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.669e-05/0.1793, allocations: 180.2 kB / 0.6617 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003479/0.1796, allocations: 473.2 kB / 0.6622 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.145e-05/0.1797, allocations: 113 kB / 0.6623 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.573e-05/0.1797, allocations: 108.9 kB / 0.6624 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.037e-05/0.1798, allocations: 180.3 kB / 0.6625 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-05/0.1799, allocations: 184.1 kB / 0.6627 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.643e-05/0.18, allocations: 180.5 kB / 0.6629 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.378e-05/0.1801, allocations: 180.3 kB / 0.6631 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001923/0.1803, allocations: 331.6 kB / 0.6634 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001295/0.1804, allocations: 201.9 kB / 0.6636 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001365/0.1805, allocations: 192.2 kB / 0.6638 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/0.1807, allocations: 101 kB / 0.6638 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.529e-05/0.1808, allocations: 180.2 kB / 0.664 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.241e-05/0.1808, allocations: 105 kB / 0.6641 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002971/0.1811, allocations: 283.1 kB / 0.6644 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1812, allocations: 0 / 0.6644 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004229/0.1816, allocations: 83.92 kB / 0.6645 GB, free: 4.691 MB / 0.4981 GB 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.000463/0.1821, allocations: 312.2 kB / 0.6648 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002643/0.1823, allocations: 163.8 kB / 0.6649 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.1823, allocations: 4.438 kB / 0.6649 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.443e-06/0.1823, allocations: 4 kB / 0.6649 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004758/0.1828, allocations: 463 kB / 0.6654 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007147/0.1836, allocations: 0.5022 MB / 0.6659 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003651/0.1839, allocations: 0.7782 MB / 0.6666 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.608e-05/0.1839, allocations: 3.984 kB / 0.6666 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.905e-05/0.184, allocations: 11.44 kB / 0.6666 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.184, allocations: 3.938 kB / 0.6666 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of Templates: time 0.006735/0.1907, allocations: 3.061 MB / 0.6696 GB, free: 15.34 MB / 0.5137 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)