Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007451/0.0007451, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009306/0.001676, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0006961/0.0006961, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008501/0.001546, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9383/0.9383, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09668/1.035, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.883/1.883, allocations: 389.9 MB / 0.619 GB, free: 11.78 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5053/2.388, allocations: 127.1 MB / 0.7432 GB, free: 4.617 MB / 0.7136 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 0.7444 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.385e-05/1.513e-05, allocations: 2.312 kB / 0.7444 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.004855/0.00487, allocations: 4.829 MB / 0.7492 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.1458/0.1507, allocations: 146.5 MB / 0.8922 GB, free: 11.73 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001009/0.1517, allocations: 23.81 kB / 0.8922 GB, free: 11.71 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006191/0.1523, allocations: 210.1 kB / 0.8924 GB, free: 11.5 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.001741/0.154, allocations: 0.5666 MB / 0.893 GB, free: 10.93 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001826/0.1559, allocations: 0.8296 MB / 0.8938 GB, free: 10.1 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.001635/0.1575, allocations: 1.443 MB / 0.8952 GB, free: 8.648 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007336/0.1582, allocations: 409.9 kB / 0.8956 GB, free: 8.219 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001333/0.1596, allocations: 0.837 MB / 0.8964 GB, free: 7.383 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005094/0.1601, allocations: 378.8 kB / 0.8967 GB, free: 7.012 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001262/0.1602, allocations: 112 kB / 0.8969 GB, free: 6.902 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001033/0.1612, allocations: 0.4993 MB / 0.8973 GB, free: 6.402 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002111/0.1615, allocations: 223.3 kB / 0.8976 GB, free: 6.184 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003323/0.1618, allocations: 299.3 kB / 0.8978 GB, free: 5.891 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.00145/0.1632, allocations: 1.101 MB / 0.8989 GB, free: 4.785 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.213e-05/0.1633, allocations: 0 / 0.8989 GB, free: 4.785 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.743e-06/0.1633, allocations: 4 kB / 0.8989 GB, free: 4.781 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.516e-05/0.1633, allocations: 0 / 0.8989 GB, free: 4.781 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.001988/0.1653, allocations: 1.628 MB / 0.9005 GB, free: 3.121 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.1653, allocations: 8.031 kB / 0.9005 GB, free: 3.113 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008896/0.1662, allocations: 373.3 kB / 0.9009 GB, free: 2.73 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008277/0.167, allocations: 0.5784 MB / 0.9014 GB, free: 2.125 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.487e-05/0.1671, allocations: 70.12 kB / 0.9015 GB, free: 2.055 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.08e-05/0.1672, allocations: 88 kB / 0.9016 GB, free: 1.969 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008372/0.168, allocations: 0.8728 MB / 0.9024 GB, free: 1.008 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.168, allocations: 0 / 0.9024 GB, free: 1.008 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.812e-05/0.1681, allocations: 39.98 kB / 0.9025 GB, free: 0.9688 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.81e-05/0.1681, allocations: 20 kB / 0.9025 GB, free: 0.9492 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005931/0.1687, allocations: 0.5713 MB / 0.9031 GB, free: 384 kB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002278/0.171, allocations: 1.713 MB / 0.9047 GB, free: 14.62 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005631/0.1715, allocations: 412.9 kB / 0.9051 GB, free: 14.21 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001468/0.1717, allocations: 128.8 kB / 0.9052 GB, free: 14.09 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 6.028e-05/0.1717, allocations: 32.58 kB / 0.9053 GB, free: 14.05 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004288/0.1722, allocations: 447.1 kB / 0.9057 GB, free: 13.58 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=86): time 4.248e-06/0.1722, allocations: 0 / 0.9057 GB, free: 13.58 MB / 0.8855 GB Notification: Performance of matching and sorting (n=86): time 0.001113/0.1733, allocations: 0.5654 MB / 0.9063 GB, free: 13 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.45e-05/0.1733, allocations: 68.41 kB / 0.9063 GB, free: 12.93 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000441/0.1738, allocations: 0.5055 MB / 0.9068 GB, free: 12.41 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.702e-05/0.1738, allocations: 53.64 kB / 0.9069 GB, free: 12.35 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001818/0.174, allocations: 342.3 kB / 0.9072 GB, free: 12.01 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001546/0.1742, allocations: 277.6 kB / 0.9075 GB, free: 11.74 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001586/0.1743, allocations: 170.4 kB / 0.9076 GB, free: 11.57 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.1745, allocations: 390.6 kB / 0.908 GB, free: 11.18 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.1746, allocations: 104.8 kB / 0.9081 GB, free: 11.07 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002198/0.1748, allocations: 316.5 kB / 0.9084 GB, free: 10.71 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003301/0.1752, allocations: 330.1 kB / 0.9087 GB, free: 10.38 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.1752, allocations: 4 kB / 0.9087 GB, free: 10.37 MB / 0.8855 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.0006729/0.1758, allocations: 466.9 kB / 0.9092 GB, free: 9.906 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.1759, allocations: 4 kB / 0.9092 GB, free: 9.902 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.1759, allocations: 4 kB / 0.9092 GB, free: 9.898 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004322/0.1763, allocations: 120.8 kB / 0.9093 GB, free: 9.777 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004347/0.1767, allocations: 207.7 kB / 0.9095 GB, free: 9.574 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001238/0.178, allocations: 1.323 MB / 0.9108 GB, free: 8.164 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003329/0.1783, allocations: 71.61 kB / 0.9108 GB, free: 8.094 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-05/0.1783, allocations: 35.94 kB / 0.9109 GB, free: 8.059 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 105 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002716/0.1786, allocations: 171.1 kB / 0.911 GB, free: 7.879 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.1787, allocations: 79.92 kB / 0.9111 GB, free: 7.801 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008415/0.1796, allocations: 0.603 MB / 0.9117 GB, free: 7.176 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.1796, allocations: 8 kB / 0.9117 GB, free: 7.168 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1796, allocations: 4 kB / 0.9117 GB, free: 7.164 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/0.1796, allocations: 7.969 kB / 0.9117 GB, free: 7.156 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001416/0.181, allocations: 1.097 MB / 0.9128 GB, free: 6.02 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/0.181, allocations: 0 / 0.9128 GB, free: 6.02 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003403/0.1813, allocations: 159.8 kB / 0.9129 GB, free: 5.863 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002319/0.1816, allocations: 147.1 kB / 0.9131 GB, free: 5.719 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003046/0.1819, allocations: 112.8 kB / 0.9132 GB, free: 5.605 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.117e-05/0.1819, allocations: 27.91 kB / 0.9132 GB, free: 5.578 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008816/0.1828, allocations: 1.317 MB / 0.9145 GB, free: 4.168 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.1828, allocations: 0 / 0.9145 GB, free: 4.168 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008038/0.1836, allocations: 0.5634 MB / 0.9151 GB, free: 3.586 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.081e-05/0.1837, allocations: 23.98 kB / 0.9151 GB, free: 3.562 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002156/0.1839, allocations: 35.97 kB / 0.9151 GB, free: 3.527 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.778e-05/0.184, allocations: 65.02 kB / 0.9152 GB, free: 3.461 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.208e-05/0.184, allocations: 27.97 kB / 0.9152 GB, free: 3.434 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002129/0.1842, allocations: 247.4 kB / 0.9154 GB, free: 3.191 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1842, allocations: 0 / 0.9154 GB, free: 3.191 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0007845/0.185, allocations: 335.1 kB / 0.9158 GB, free: 2.863 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001849/0.1869, allocations: 0.8238 MB / 0.9166 GB, free: 2.355 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0007621/0.1876, allocations: 0.5137 MB / 0.9171 GB, free: 1.832 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.19e-05/0.1877, allocations: 8 kB / 0.9171 GB, free: 1.824 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003598/0.188, allocations: 374.9 kB / 0.9174 GB, free: 1.441 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007238/0.1887, allocations: 386.6 kB / 0.9178 GB, free: 1.094 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005744/0.1945, allocations: 1.546 MB / 0.9193 GB, free: 15.51 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001394/0.1946, allocations: 194.9 kB / 0.9195 GB, free: 15.29 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0005565/0.1952, allocations: 186.8 kB / 0.9197 GB, free: 15.11 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005101/0.1957, allocations: 303 kB / 0.92 GB, free: 14.81 MB / 0.9011 GB Notification: Performance of SimCode: time 1.432e-06/0.1957, allocations: 0 / 0.92 GB, free: 14.81 MB / 0.9011 GB Notification: Performance of Templates: time 0.02191/0.2176, allocations: 17.08 MB / 0.9366 GB, free: 14.05 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo Buildings_13_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < Buildings_13_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/Buildings_13_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & ./Buildings_13_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.582308775745332]