Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.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.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad") translateModel(IBPSA.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 110.7 kB / 17.33 MB, free: 5.035 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.001239/0.001239, allocations: 201.9 kB / 18.32 MB, free: 4.051 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.356/1.356, allocations: 225.6 MB / 244.8 MB, free: 13.67 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8051/0.8051, allocations: 128.4 MB / 426.1 MB, free: 7.137 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001827/0.001827, allocations: 66.3 kB / 0.5911 GB, free: 21.42 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1484, allocations: 83.26 MB / 0.6725 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.VariableLoad): time 0.006234/0.1546, allocations: 3.891 MB / 0.6763 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003114/0.1577, allocations: 1.804 MB / 0.678 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001683/0.1579, allocations: 8 kB / 0.678 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001407/0.1593, allocations: 451.2 kB / 0.6785 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.000545/0.1598, allocations: 246.8 kB / 0.6787 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006173/0.1604, allocations: 262.2 kB / 0.6789 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0006184/0.1611, allocations: 0.4906 MB / 0.6794 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005492/0.1616, allocations: 284.9 kB / 0.6797 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002347/0.1618, allocations: 195.3 kB / 0.6799 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004681/0.1623, allocations: 247.1 kB / 0.6801 GB, free: 12 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.96e-05/0.1624, allocations: 32 kB / 0.6801 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003769/0.1627, allocations: 199.5 kB / 0.6803 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001422/0.1629, allocations: 139.6 kB / 0.6805 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001921/0.1631, allocations: 179.1 kB / 0.6806 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0005979/0.1637, allocations: 0.4942 MB / 0.6811 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1637, allocations: 0 / 0.6811 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.312e-06/0.1637, allocations: 0 / 0.6811 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.1637, allocations: 0 / 0.6811 GB, free: 10.96 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001166/0.1649, allocations: 0.6661 MB / 0.6818 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.1649, allocations: 8.031 kB / 0.6818 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005698/0.1655, allocations: 88.58 kB / 0.6819 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004156/0.1659, allocations: 312.3 kB / 0.6822 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.429e-05/0.1659, allocations: 21.03 kB / 0.6822 GB, free: 9.793 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.425e-05/0.166, allocations: 32.36 kB / 0.6822 GB, free: 9.762 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008549/0.1668, allocations: 486 kB / 0.6827 GB, free: 9.25 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.1668, allocations: 0 / 0.6827 GB, free: 9.25 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.802e-05/0.1669, allocations: 12 kB / 0.6827 GB, free: 9.238 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.311e-05/0.1669, allocations: 40.62 kB / 0.6827 GB, free: 9.199 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007718/0.1677, allocations: 362.2 kB / 0.6831 GB, free: 8.848 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002303/0.17, allocations: 2.041 MB / 0.6851 GB, free: 6.605 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005735/0.1706, allocations: 198.8 kB / 0.6853 GB, free: 6.402 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003957/0.171, allocations: 140.8 kB / 0.6854 GB, free: 6.262 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.171, allocations: 3.938 kB / 0.6854 GB, free: 6.258 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/0.171, allocations: 38.56 kB / 0.6854 GB, free: 6.211 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=18): time 1.293e-06/0.171, allocations: 4 kB / 0.6854 GB, free: 6.207 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18): time 0.001095/0.1721, allocations: 411.2 kB / 0.6858 GB, free: 5.777 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.898e-05/0.1722, allocations: 59.41 kB / 0.6859 GB, free: 5.707 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002762/0.1724, allocations: 266.6 kB / 0.6861 GB, free: 5.438 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.68e-05/0.1725, allocations: 29.7 kB / 0.6862 GB, free: 5.402 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001495/0.1726, allocations: 212.2 kB / 0.6864 GB, free: 5.191 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.893e-05/0.1727, allocations: 71.42 kB / 0.6864 GB, free: 5.121 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.233e-05/0.1728, allocations: 53.94 kB / 0.6865 GB, free: 5.059 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.1729, allocations: 342.8 kB / 0.6868 GB, free: 4.715 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002524/0.1732, allocations: 101.8 kB / 0.6869 GB, free: 4.613 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003587/0.1735, allocations: 203.6 kB / 0.6871 GB, free: 4.363 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005759/0.1741, allocations: 320 kB / 0.6874 GB, free: 4.004 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1741, allocations: 0 / 0.6874 GB, free: 4.004 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000824/0.1749, allocations: 349.9 kB / 0.6877 GB, free: 3.652 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.1749, allocations: 7.125 kB / 0.6877 GB, free: 3.648 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.175, allocations: 8 kB / 0.6878 GB, free: 3.641 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002009/0.1752, allocations: 40.83 kB / 0.6878 GB, free: 3.598 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002727/0.1754, allocations: 71.77 kB / 0.6879 GB, free: 3.527 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001445/0.1769, allocations: 1.434 MB / 0.6893 GB, free: 1.957 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002572/0.1771, allocations: 47.75 kB / 0.6893 GB, free: 1.91 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.088e-05/0.1772, allocations: 16 kB / 0.6893 GB, free: 1.895 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003634/0.1775, allocations: 212.6 kB / 0.6895 GB, free: 1.684 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000325/0.1778, allocations: 213 kB / 0.6897 GB, free: 1.418 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005584/0.1784, allocations: 318.2 kB / 0.69 GB, free: 1.055 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.834e-06/0.1784, allocations: 0 / 0.69 GB, free: 1.055 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006664/0.1791, allocations: 337 kB / 0.6904 GB, free: 0.7188 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.1791, allocations: 4 kB / 0.6904 GB, free: 0.7148 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1791, allocations: 8 kB / 0.6904 GB, free: 0.707 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.23e-06/0.1791, allocations: 4 kB / 0.6904 GB, free: 0.7031 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002842/0.1794, allocations: 75.83 kB / 0.6904 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.1794, allocations: 8 kB / 0.6904 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002455/0.1796, allocations: 44.16 kB / 0.6905 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.231e-05/0.1797, allocations: 16 kB / 0.6905 GB, free: 0.5625 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (32): * Single equations (assignments): 31 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001551/0.1798, allocations: 200.1 kB / 0.6907 GB, free: 368 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.242e-05/0.1799, allocations: 23.86 kB / 0.6907 GB, free: 344 kB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.223e-05/0.1799, allocations: 26.17 kB / 0.6907 GB, free: 320 kB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.1799, allocations: 4 kB / 0.6907 GB, free: 316 kB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.1799, allocations: 3.938 kB / 0.6908 GB, free: 312 kB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1799, allocations: 0 / 0.6908 GB, free: 312 kB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001306/0.1812, allocations: 0.7538 MB / 0.6915 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1812, allocations: 0 / 0.6915 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001921/0.1814, allocations: 51.97 kB / 0.6915 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001061/0.1815, allocations: 24.84 kB / 0.6916 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.1816, allocations: 0 / 0.6916 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001199/0.1828, allocations: 1.426 MB / 0.693 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1828, allocations: 0 / 0.693 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006243/0.1834, allocations: 372.2 kB / 0.6933 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001251/0.1835, allocations: 120.9 kB / 0.6934 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.734e-05/0.1835, allocations: 4 kB / 0.6934 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001808/0.1837, allocations: 23.91 kB / 0.6935 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.523e-05/0.1838, allocations: 19.98 kB / 0.6935 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/0.1838, allocations: 7.938 kB / 0.6935 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001982/0.184, allocations: 182 kB / 0.6937 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.184, allocations: 7.938 kB / 0.6937 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006195/0.1846, allocations: 143.7 kB / 0.6938 GB, free: 12.92 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (18): * Single equations (assignments): 17 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001359/0.1848, allocations: 103.2 kB / 0.6939 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001085/0.1858, allocations: 483 kB / 0.6944 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1858, allocations: 0 / 0.6944 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003583/0.1862, allocations: 221.7 kB / 0.6946 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004792/0.1867, allocations: 68.44 kB / 0.6946 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000967/0.1877, allocations: 0.5591 MB / 0.6952 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000458/0.1881, allocations: 0.7995 MB / 0.696 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002112/0.1883, allocations: 78.16 kB / 0.696 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.008e-05/0.1884, allocations: 27.38 kB / 0.6961 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of SimCode: time 3.91e-07/0.1884, allocations: 0 / 0.6961 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of Templates: time 0.00794/0.1963, allocations: 3.618 MB / 0.6996 GB, free: 6.926 MB / 0.5294 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1) [Timeout 480]