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.000828/0.0008279, allocations: 92.95 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.00102/0.00102, allocations: 178.5 kB / 16.92 MB, free: 6.645 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.447/1.447, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6908/0.6908, allocations: 115.5 MB / 407.6 MB, free: 2.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003259/0.0003259, allocations: 17.64 kB / 495.9 MB, free: 6.363 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.1615, allocations: 77.53 MB / 0.56 GB, free: 9.039 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.001412/0.163, allocations: 1.133 MB / 0.5611 GB, free: 7.895 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002965/0.1659, allocations: 2.601 MB / 0.5636 GB, free: 5.285 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.739e-05/0.166, allocations: 0 / 0.5636 GB, free: 5.285 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001339/0.1673, allocations: 0.5514 MB / 0.5641 GB, free: 4.734 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.005e-05/0.1674, allocations: 19.91 kB / 0.5642 GB, free: 4.715 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.123e-06/0.1674, allocations: 4 kB / 0.5642 GB, free: 4.711 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002446/0.1676, allocations: 174.9 kB / 0.5643 GB, free: 4.539 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.183e-05/0.1677, allocations: 32.41 kB / 0.5644 GB, free: 4.508 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.049e-05/0.1678, allocations: 51.75 kB / 0.5644 GB, free: 4.457 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001267/0.1679, allocations: 83.52 kB / 0.5645 GB, free: 4.375 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.134e-05/0.1679, allocations: 0 / 0.5645 GB, free: 4.375 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009295/0.1689, allocations: 495.2 kB / 0.565 GB, free: 3.891 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.362e-05/0.1689, allocations: 35.83 kB / 0.565 GB, free: 3.855 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001214/0.1691, allocations: 125.1 kB / 0.5651 GB, free: 3.727 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005077/0.1696, allocations: 398.3 kB / 0.5655 GB, free: 3.336 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1696, allocations: 0 / 0.5655 GB, free: 3.336 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1696, allocations: 0 / 0.5655 GB, free: 3.336 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.1696, allocations: 0 / 0.5655 GB, free: 3.336 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.0006911/0.1703, allocations: 0.5277 MB / 0.566 GB, free: 2.758 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.1703, allocations: 8.031 kB / 0.566 GB, free: 2.75 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001492/0.1705, allocations: 107.8 kB / 0.5661 GB, free: 2.645 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000228/0.1707, allocations: 306.4 kB / 0.5664 GB, free: 2.312 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.752e-05/0.1708, allocations: 154.9 kB / 0.5666 GB, free: 2.16 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.829e-05/0.1709, allocations: 154.9 kB / 0.5667 GB, free: 2.008 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.432e-05/0.1709, allocations: 109.5 kB / 0.5668 GB, free: 1.895 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.2e-05/0.171, allocations: 75.47 kB / 0.5669 GB, free: 1.82 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.563e-05/0.171, allocations: 154.5 kB / 0.567 GB, free: 1.668 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-05/0.1711, allocations: 154.6 kB / 0.5672 GB, free: 1.516 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.509e-05/0.1711, allocations: 150.6 kB / 0.5673 GB, free: 1.367 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003894/0.1715, allocations: 0.5366 MB / 0.5679 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001001/0.1716, allocations: 169.1 kB / 0.568 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.301e-05/0.1717, allocations: 84.14 kB / 0.5681 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.426e-05/0.1717, allocations: 75.28 kB / 0.5682 GB, free: 456 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.39e-05/0.1718, allocations: 117.8 kB / 0.5683 GB, free: 328 kB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.1718, allocations: 0 / 0.5683 GB, free: 328 kB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002694/0.1721, allocations: 61.25 kB / 0.5683 GB, free: 260 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.442e-05/0.1722, allocations: 126.7 kB / 0.5685 GB, free: 120 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006595/0.1729, allocations: 437.1 kB / 0.5689 GB, free: 15.68 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.1729, allocations: 29.7 kB / 0.5689 GB, free: 15.65 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.173, allocations: 128.5 kB / 0.569 GB, free: 15.52 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.697e-06/0.173, allocations: 0 / 0.569 GB, free: 15.52 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/0.1732, allocations: 77.66 kB / 0.5691 GB, free: 15.44 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.1733, allocations: 338.8 kB / 0.5694 GB, free: 15.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001785/0.1735, allocations: 100.5 kB / 0.5695 GB, free: 15 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002065/0.1737, allocations: 161.3 kB / 0.5697 GB, free: 14.82 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003077/0.1741, allocations: 305.6 kB / 0.57 GB, free: 14.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1741, allocations: 0 / 0.57 GB, free: 14.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004875/0.1746, allocations: 328.9 kB / 0.5703 GB, free: 14.18 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.1746, allocations: 10.03 kB / 0.5703 GB, free: 14.17 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.1746, allocations: 4.156 kB / 0.5703 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.1746, allocations: 11.94 kB / 0.5703 GB, free: 14.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.352e-06/0.1746, allocations: 0 / 0.5703 GB, free: 14.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.1746, allocations: 7.938 kB / 0.5703 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001493/0.1748, allocations: 39.38 kB / 0.5703 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.1748, allocations: 7.984 kB / 0.5704 GB, free: 14.1 MB / 446.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.0002103/0.175, allocations: 245 kB / 0.5706 GB, free: 13.85 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.766e-05/0.1751, allocations: 120.6 kB / 0.5707 GB, free: 13.72 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.14e-05/0.1752, allocations: 126.8 kB / 0.5708 GB, free: 13.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-05/0.1752, allocations: 176.3 kB / 0.571 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.015e-05/0.1753, allocations: 192.2 kB / 0.5712 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-05/0.1754, allocations: 176.3 kB / 0.5713 GB, free: 13.03 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002913/0.1757, allocations: 473.2 kB / 0.5718 GB, free: 12.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.023e-05/0.1757, allocations: 108.9 kB / 0.5719 GB, free: 12.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.839e-05/0.1758, allocations: 101 kB / 0.572 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.239e-05/0.1758, allocations: 184.2 kB / 0.5722 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.429e-05/0.1759, allocations: 184.2 kB / 0.5723 GB, free: 11.92 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.733e-05/0.1759, allocations: 176.3 kB / 0.5725 GB, free: 11.74 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.169e-05/0.176, allocations: 184.2 kB / 0.5727 GB, free: 11.55 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001444/0.1762, allocations: 323.5 kB / 0.573 GB, free: 11.21 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.1763, allocations: 209.6 kB / 0.5732 GB, free: 10.98 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.86e-05/0.1764, allocations: 184.2 kB / 0.5734 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001332/0.1765, allocations: 104.9 kB / 0.5735 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.678e-05/0.1766, allocations: 192.2 kB / 0.5737 GB, free: 10.49 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.311e-05/0.1766, allocations: 105.2 kB / 0.5738 GB, free: 10.38 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003357/0.177, allocations: 279.1 kB / 0.574 GB, free: 10.11 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.177, allocations: 0 / 0.574 GB, free: 10.11 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003775/0.1774, allocations: 72 kB / 0.5741 GB, free: 10.04 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.000329/0.1777, allocations: 297.5 kB / 0.5744 GB, free: 9.742 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002174/0.1779, allocations: 176.1 kB / 0.5745 GB, free: 9.57 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.178, allocations: 4.125 kB / 0.5745 GB, free: 9.566 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.403e-06/0.178, allocations: 0 / 0.5745 GB, free: 9.566 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004238/0.1784, allocations: 0.5238 MB / 0.5751 GB, free: 9.035 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006534/0.1791, allocations: 0.5556 MB / 0.5756 GB, free: 8.449 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003923/0.1795, allocations: 0.7746 MB / 0.5764 GB, free: 7.648 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.254e-05/0.1795, allocations: 4 kB / 0.5764 GB, free: 7.645 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.835e-05/0.1795, allocations: 11.44 kB / 0.5764 GB, free: 7.633 MB / 446.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1795, allocations: 0 / 0.5764 GB, free: 7.633 MB / 446.1 MB Notification: Performance of Templates: time 0.006637/0.1862, allocations: 2.787 MB / 0.5791 GB, free: 4.852 MB / 446.1 MB 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)