Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.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.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor") translateModel(IBPSA.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 113.9 kB / 17.33 MB, free: 5.008 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.001224/0.001224, allocations: 197.8 kB / 18.33 MB, free: 4.016 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.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8212/0.8212, allocations: 128.4 MB / 426.1 MB, free: 7.188 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 68.22 kB / 0.5911 GB, free: 21.44 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1453, allocations: 83.26 MB / 0.6724 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.Resistor): time 0.005464/0.1508, allocations: 3.876 MB / 0.6762 GB, free: 40 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002746/0.1535, allocations: 1.753 MB / 0.6779 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001327/0.1537, allocations: 11.94 kB / 0.678 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001345/0.155, allocations: 0.4903 MB / 0.6784 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0004848/0.1555, allocations: 222.9 kB / 0.6786 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000527/0.156, allocations: 218.3 kB / 0.6789 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0005432/0.1566, allocations: 466.5 kB / 0.6793 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004979/0.1571, allocations: 293.2 kB / 0.6796 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002419/0.1573, allocations: 203.3 kB / 0.6798 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004243/0.1577, allocations: 227.1 kB / 0.68 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.843e-05/0.1578, allocations: 28 kB / 0.68 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004969/0.1583, allocations: 251.5 kB / 0.6803 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001473/0.1584, allocations: 135.6 kB / 0.6804 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001691/0.1586, allocations: 167.2 kB / 0.6805 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0006014/0.1592, allocations: 0.5098 MB / 0.681 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1592, allocations: 0 / 0.681 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.355e-06/0.1592, allocations: 0 / 0.681 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.1592, allocations: 4 kB / 0.681 GB, free: 11.09 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001058/0.1603, allocations: 0.6388 MB / 0.6817 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.1603, allocations: 11.97 kB / 0.6817 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009149/0.1612, allocations: 140.6 kB / 0.6818 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004239/0.1617, allocations: 287.8 kB / 0.6821 GB, free: 9.934 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.242e-05/0.1617, allocations: 21.03 kB / 0.6821 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.814e-05/0.1617, allocations: 28.38 kB / 0.6821 GB, free: 9.887 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006847/0.1624, allocations: 467.9 kB / 0.6826 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.1624, allocations: 3.938 kB / 0.6826 GB, free: 9.387 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.697e-05/0.1625, allocations: 12 kB / 0.6826 GB, free: 9.375 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-05/0.1625, allocations: 32.55 kB / 0.6826 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004956/0.163, allocations: 321.9 kB / 0.6829 GB, free: 9.031 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002315/0.1653, allocations: 2.189 MB / 0.6851 GB, free: 6.629 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004121/0.1657, allocations: 235.8 kB / 0.6853 GB, free: 6.371 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002407/0.166, allocations: 92.8 kB / 0.6854 GB, free: 6.277 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.431e-05/0.166, allocations: 4 kB / 0.6854 GB, free: 6.273 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.447e-05/0.166, allocations: 38.56 kB / 0.6854 GB, free: 6.227 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 1.202e-06/0.166, allocations: 0 / 0.6854 GB, free: 6.227 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.0006241/0.1667, allocations: 303.6 kB / 0.6857 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/0.1667, allocations: 51.41 kB / 0.6858 GB, free: 5.84 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003015/0.167, allocations: 262.6 kB / 0.686 GB, free: 5.578 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.55e-05/0.167, allocations: 33.7 kB / 0.6861 GB, free: 5.539 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001529/0.1672, allocations: 212.3 kB / 0.6863 GB, free: 5.328 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.521e-05/0.1672, allocations: 55.53 kB / 0.6863 GB, free: 5.273 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.809e-05/0.1673, allocations: 45.89 kB / 0.6864 GB, free: 5.219 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001754/0.1675, allocations: 342.8 kB / 0.6867 GB, free: 4.875 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.77e-05/0.1676, allocations: 52.44 kB / 0.6867 GB, free: 4.824 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001789/0.1678, allocations: 148.7 kB / 0.6869 GB, free: 4.641 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002944/0.1681, allocations: 213.8 kB / 0.6871 GB, free: 4.395 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.1681, allocations: 96 / 0.6871 GB, free: 4.395 MB / 0.5137 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004505/0.1685, allocations: 274 kB / 0.6873 GB, free: 4.117 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.1685, allocations: 4 kB / 0.6873 GB, free: 4.113 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.1685, allocations: 7.938 kB / 0.6873 GB, free: 4.105 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001906/0.1687, allocations: 33.22 kB / 0.6874 GB, free: 4.07 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001851/0.1689, allocations: 43.92 kB / 0.6874 GB, free: 4.027 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001354/0.1703, allocations: 1.434 MB / 0.6888 GB, free: 2.449 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001683/0.1704, allocations: 27.77 kB / 0.6888 GB, free: 2.422 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.893e-05/0.1704, allocations: 12 kB / 0.6889 GB, free: 2.41 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (27): * Single equations (assignments): 26 * 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.0001697/0.1706, allocations: 164.7 kB / 0.689 GB, free: 2.242 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.154e-05/0.1707, allocations: 27.84 kB / 0.689 GB, free: 2.215 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.352e-05/0.1707, allocations: 25.94 kB / 0.6891 GB, free: 2.191 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.1707, allocations: 4 kB / 0.6891 GB, free: 2.188 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.1707, allocations: 0 / 0.6891 GB, free: 2.188 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.1707, allocations: 7.922 kB / 0.6891 GB, free: 2.18 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009207/0.1716, allocations: 0.7025 MB / 0.6898 GB, free: 1.387 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.1716, allocations: 0 / 0.6898 GB, free: 1.387 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.705e-05/0.1717, allocations: 27.92 kB / 0.6898 GB, free: 1.359 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.218e-05/0.1718, allocations: 28.78 kB / 0.6898 GB, free: 1.328 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.1718, allocations: 0 / 0.6898 GB, free: 1.328 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001099/0.1729, allocations: 1.41 MB / 0.6912 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.1729, allocations: 4.031 kB / 0.6912 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003687/0.1733, allocations: 321.3 kB / 0.6915 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.1734, allocations: 113 kB / 0.6916 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.03e-05/0.1734, allocations: 8 kB / 0.6916 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001606/0.1736, allocations: 7.984 kB / 0.6916 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.578e-05/0.1736, allocations: 19.92 kB / 0.6916 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.1737, allocations: 4 kB / 0.6917 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001868/0.1738, allocations: 190 kB / 0.6918 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.1738, allocations: 4 kB / 0.6918 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000394/0.1742, allocations: 87.72 kB / 0.6919 GB, free: 14.98 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (14): * Single equations (assignments): 13 * 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.0001278/0.1744, allocations: 107.2 kB / 0.692 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00046/0.1748, allocations: 266.9 kB / 0.6923 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.1748, allocations: 4.25 kB / 0.6923 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002194/0.175, allocations: 182.6 kB / 0.6925 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004456/0.1755, allocations: 57.95 kB / 0.6925 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008877/0.1764, allocations: 0.5512 MB / 0.693 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004517/0.1768, allocations: 0.7986 MB / 0.6938 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001201/0.177, allocations: 42.25 kB / 0.6939 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.736e-05/0.177, allocations: 19.44 kB / 0.6939 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of SimCode: time 3.21e-07/0.177, allocations: 4 kB / 0.6939 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of Templates: time 0.006434/0.1834, allocations: 2.773 MB / 0.6966 GB, free: 10.11 MB / 0.5294 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 480]