Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] 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.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance") translateModel(IBPSA.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 112.3 kB / 17.33 MB, free: 4.996 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.001165/0.001165, allocations: 198.6 kB / 18.33 MB, free: 4.004 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.391/1.391, allocations: 225.6 MB / 244.8 MB, free: 13.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8404/0.8404, allocations: 128.4 MB / 426.1 MB, free: 7.137 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001893/0.001893, allocations: 66.98 kB / 0.5911 GB, free: 21.35 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1581, allocations: 83.26 MB / 0.6725 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.Resistance): time 0.005245/0.1634, allocations: 3.101 MB / 0.6755 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002169/0.1656, allocations: 1.344 MB / 0.6768 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001134/0.1657, allocations: 7.938 kB / 0.6768 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001089/0.1668, allocations: 350.7 kB / 0.6771 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003276/0.1671, allocations: 139.3 kB / 0.6773 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003335/0.1674, allocations: 135.6 kB / 0.6774 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0004083/0.1678, allocations: 303 kB / 0.6777 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003936/0.1682, allocations: 188.3 kB / 0.6779 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001657/0.1684, allocations: 135.5 kB / 0.678 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003785/0.1688, allocations: 143.5 kB / 0.6781 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.644e-05/0.1688, allocations: 20 kB / 0.6781 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002859/0.1691, allocations: 171.6 kB / 0.6783 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001131/0.1692, allocations: 83.72 kB / 0.6784 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000119/0.1693, allocations: 103.5 kB / 0.6785 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0004644/0.1698, allocations: 338.8 kB / 0.6788 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.1698, allocations: 0 / 0.6788 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1698, allocations: 3.938 kB / 0.6788 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.218e-05/0.1698, allocations: 0 / 0.6788 GB, free: 13.34 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0009096/0.1707, allocations: 0.5298 MB / 0.6793 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.1708, allocations: 8.031 kB / 0.6793 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000573/0.1713, allocations: 80.72 kB / 0.6794 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003033/0.1716, allocations: 245.2 kB / 0.6797 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.868e-05/0.1717, allocations: 8.75 kB / 0.6797 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.451e-05/0.1717, allocations: 24.36 kB / 0.6797 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004491/0.1721, allocations: 295.5 kB / 0.68 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.1722, allocations: 0 / 0.68 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.189e-05/0.1722, allocations: 12 kB / 0.68 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.166e-05/0.1722, allocations: 24.3 kB / 0.68 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003129/0.1725, allocations: 193 kB / 0.6802 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001626/0.1742, allocations: 1.468 MB / 0.6816 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002725/0.1744, allocations: 171.7 kB / 0.6818 GB, free: 10 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.172e-05/0.1745, allocations: 28.86 kB / 0.6818 GB, free: 9.969 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 9.337e-06/0.1745, allocations: 7.984 kB / 0.6818 GB, free: 9.961 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.1745, allocations: 30.56 kB / 0.6818 GB, free: 9.922 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.1745, allocations: 0 / 0.6818 GB, free: 9.922 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.0004921/0.175, allocations: 227.5 kB / 0.6821 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.045e-05/0.1751, allocations: 51.41 kB / 0.6821 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002174/0.1753, allocations: 195.5 kB / 0.6823 GB, free: 9.41 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.1753, allocations: 33.7 kB / 0.6823 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.1754, allocations: 168.1 kB / 0.6825 GB, free: 9.203 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.341e-05/0.1755, allocations: 27.78 kB / 0.6825 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.03e-05/0.1755, allocations: 33.67 kB / 0.6826 GB, free: 9.137 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.1757, allocations: 334.8 kB / 0.6829 GB, free: 8.801 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.742e-05/0.1758, allocations: 35.98 kB / 0.6829 GB, free: 8.766 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/0.1759, allocations: 100.5 kB / 0.683 GB, free: 8.637 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001922/0.1761, allocations: 144.5 kB / 0.6831 GB, free: 8.465 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1761, allocations: 0 / 0.6831 GB, free: 8.465 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003059/0.1764, allocations: 190.3 kB / 0.6833 GB, free: 8.27 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.1764, allocations: 6.656 kB / 0.6833 GB, free: 8.266 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.822e-06/0.1764, allocations: 7.984 kB / 0.6833 GB, free: 8.258 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001693/0.1766, allocations: 24.84 kB / 0.6834 GB, free: 8.23 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.1767, allocations: 27.94 kB / 0.6834 GB, free: 8.203 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001319/0.178, allocations: 1.426 MB / 0.6848 GB, free: 6.633 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/0.1781, allocations: 19.83 kB / 0.6848 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.1781, allocations: 12.16 kB / 0.6848 GB, free: 6.602 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001414/0.1783, allocations: 153.7 kB / 0.685 GB, free: 6.441 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.771e-05/0.1783, allocations: 15.91 kB / 0.685 GB, free: 6.426 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.095e-05/0.1783, allocations: 21.39 kB / 0.685 GB, free: 6.406 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.1783, allocations: 0 / 0.685 GB, free: 6.406 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.1783, allocations: 0 / 0.685 GB, free: 6.406 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1783, allocations: 0 / 0.685 GB, free: 6.406 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000527/0.1789, allocations: 447.3 kB / 0.6854 GB, free: 5.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1789, allocations: 3.938 kB / 0.6854 GB, free: 5.906 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.033e-05/0.1789, allocations: 11.94 kB / 0.6854 GB, free: 5.895 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.898e-05/0.179, allocations: 20.84 kB / 0.6855 GB, free: 5.871 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.732e-06/0.179, allocations: 0 / 0.6855 GB, free: 5.871 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001163/0.1802, allocations: 1.418 MB / 0.6868 GB, free: 4.312 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1802, allocations: 0 / 0.6868 GB, free: 4.312 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002665/0.1804, allocations: 212.8 kB / 0.687 GB, free: 4.086 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.647e-05/0.1805, allocations: 97 kB / 0.6871 GB, free: 3.973 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.091e-05/0.1805, allocations: 4 kB / 0.6871 GB, free: 3.969 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.1806, allocations: 4 kB / 0.6871 GB, free: 3.965 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.976e-05/0.1807, allocations: 4 kB / 0.6871 GB, free: 3.961 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.523e-06/0.1807, allocations: 7.938 kB / 0.6871 GB, free: 3.953 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001285/0.1808, allocations: 144.4 kB / 0.6873 GB, free: 3.812 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.1808, allocations: 4 kB / 0.6873 GB, free: 3.809 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003116/0.1811, allocations: 51.89 kB / 0.6873 GB, free: 3.758 MB / 0.5137 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 (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000115/0.1812, allocations: 99.23 kB / 0.6874 GB, free: 3.648 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003973/0.1816, allocations: 202.5 kB / 0.6876 GB, free: 3.438 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1816, allocations: 0.5625 kB / 0.6876 GB, free: 3.438 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001703/0.1818, allocations: 162.7 kB / 0.6878 GB, free: 3.266 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003268/0.1821, allocations: 23.98 kB / 0.6878 GB, free: 3.242 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005966/0.1827, allocations: 358.3 kB / 0.6881 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00041/0.1831, allocations: 0.7553 MB / 0.6889 GB, free: 2.086 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 9.746e-05/0.1832, allocations: 29.52 kB / 0.6889 GB, free: 2.059 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.338e-05/0.1833, allocations: 15.44 kB / 0.6889 GB, free: 2.043 MB / 0.5137 GB Notification: Performance of SimCode: time 3e-07/0.1833, allocations: 0 / 0.6889 GB, free: 2.043 MB / 0.5137 GB Notification: Performance of Templates: time 0.005149/0.1884, allocations: 1.805 MB / 0.6907 GB, free: 268 kB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 480]