Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.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.001022/0.001022, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001405/0.002427, allocations: 449.8 kB / 10.44 MB, free: 252 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.001041/0.001041, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001393/0.002434, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9009/0.9009, allocations: 177.2 MB / 189.8 MB, free: 5.262 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08446/0.9854, allocations: 53.66 MB / 243.4 MB, free: 15.52 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.831/1.831, allocations: 390 MB / 0.6194 GB, free: 11.66 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4689/2.3, allocations: 127.1 MB / 0.7435 GB, free: 4.555 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.SimpleHouse2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.334e-06/2.334e-06, allocations: 3.984 kB / 0.7448 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.392e-05/1.625e-05, allocations: 2.312 kB / 0.7448 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.004686/0.004703, allocations: 5.13 MB / 0.7498 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.1255/0.1302, allocations: 146.5 MB / 0.8929 GB, free: 11.22 MB / 0.8699 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006754/0.1309, allocations: 23.81 kB / 0.8929 GB, free: 11.2 MB / 0.8699 GB Notification: Performance of NFTyping.typeComponents: time 0.0004335/0.1313, allocations: 218 kB / 0.8932 GB, free: 10.98 MB / 0.8699 GB Notification: Performance of NFTyping.typeBindings: time 0.001155/0.1325, allocations: 0.5937 MB / 0.8937 GB, free: 10.39 MB / 0.8699 GB Notification: Performance of NFTyping.typeClassSections: time 0.001527/0.134, allocations: 0.8567 MB / 0.8946 GB, free: 9.527 MB / 0.8699 GB Notification: Performance of NFFlatten.flatten: time 0.001133/0.1351, allocations: 1.517 MB / 0.8961 GB, free: 8 MB / 0.8699 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004976/0.1356, allocations: 430.7 kB / 0.8965 GB, free: 7.551 MB / 0.8699 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008398/0.1365, allocations: 0.8862 MB / 0.8973 GB, free: 6.664 MB / 0.8699 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003677/0.1369, allocations: 402.7 kB / 0.8977 GB, free: 6.27 MB / 0.8699 GB Notification: Performance of NFPackage.collectConstants: time 0.0001062/0.137, allocations: 116 kB / 0.8978 GB, free: 6.156 MB / 0.8699 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006526/0.1376, allocations: 0.5149 MB / 0.8983 GB, free: 5.641 MB / 0.8699 GB Notification: Performance of NFScalarize.scalarize: time 0.0001585/0.1378, allocations: 235.2 kB / 0.8986 GB, free: 5.41 MB / 0.8699 GB Notification: Performance of NFVerifyModel.verify: time 0.0002311/0.138, allocations: 319.3 kB / 0.8989 GB, free: 5.098 MB / 0.8699 GB Notification: Performance of NFConvertDAE.convert: time 0.0009922/0.139, allocations: 1.152 MB / 0.9 GB, free: 3.941 MB / 0.8699 GB Notification: Performance of FrontEnd - DAE generated: time 1.191e-05/0.139, allocations: 0 / 0.9 GB, free: 3.941 MB / 0.8699 GB Notification: Performance of FrontEnd: time 1.212e-06/0.139, allocations: 0 / 0.9 GB, free: 3.941 MB / 0.8699 GB Notification: Performance of Transformations before backend: time 1.713e-05/0.139, allocations: 0 / 0.9 GB, free: 3.941 MB / 0.8699 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.001796/0.1408, allocations: 1.696 MB / 0.9016 GB, free: 2.215 MB / 0.8699 GB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.1409, allocations: 8.031 kB / 0.9016 GB, free: 2.207 MB / 0.8699 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007561/0.1416, allocations: 389.3 kB / 0.902 GB, free: 1.809 MB / 0.8699 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006621/0.1423, allocations: 0.5939 MB / 0.9026 GB, free: 1.184 MB / 0.8699 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.611e-05/0.1423, allocations: 78.12 kB / 0.9027 GB, free: 1.109 MB / 0.8699 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.191e-05/0.1424, allocations: 95.98 kB / 0.9028 GB, free: 1.016 MB / 0.8699 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006622/0.1431, allocations: 0.8914 MB / 0.9036 GB, free: 36 kB / 0.8699 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.1431, allocations: 4 kB / 0.9036 GB, free: 32 kB / 0.8699 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.023e-05/0.1432, allocations: 40.08 kB / 0.9037 GB, free: 15.99 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.332e-05/0.1432, allocations: 20 kB / 0.9037 GB, free: 15.97 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005697/0.1437, allocations: 0.5986 MB / 0.9043 GB, free: 15.37 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00187/0.1456, allocations: 1.71 MB / 0.906 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005272/0.1461, allocations: 452.6 kB / 0.9064 GB, free: 13.17 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001444/0.1463, allocations: 143.8 kB / 0.9065 GB, free: 13.03 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 5.779e-05/0.1463, allocations: 36.97 kB / 0.9066 GB, free: 12.99 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003562/0.1467, allocations: 467.3 kB / 0.907 GB, free: 12.5 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=93): time 1.844e-06/0.1467, allocations: 0 / 0.907 GB, free: 12.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=93): time 0.0009768/0.1477, allocations: 0.5889 MB / 0.9076 GB, free: 11.9 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/0.1477, allocations: 72.39 kB / 0.9076 GB, free: 11.81 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003468/0.1481, allocations: 0.5211 MB / 0.9082 GB, free: 11.28 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.175e-05/0.1481, allocations: 49.7 kB / 0.9082 GB, free: 11.23 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004746/0.1486, allocations: 350.4 kB / 0.9085 GB, free: 10.88 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001569/0.1487, allocations: 305.3 kB / 0.9088 GB, free: 10.57 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001559/0.1489, allocations: 178.4 kB / 0.909 GB, free: 10.39 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.149, allocations: 406.6 kB / 0.9094 GB, free: 9.988 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000132/0.1491, allocations: 100.8 kB / 0.9095 GB, free: 9.891 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002087/0.1493, allocations: 319.6 kB / 0.9098 GB, free: 9.531 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00033/0.1497, allocations: 353.1 kB / 0.9101 GB, free: 9.176 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.1497, allocations: 0 / 0.9101 GB, free: 9.176 MB / 0.8855 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.0006199/0.1503, allocations: 487 kB / 0.9106 GB, free: 8.688 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.1503, allocations: 4 kB / 0.9106 GB, free: 8.684 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.1503, allocations: 0 / 0.9106 GB, free: 8.684 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003858/0.1507, allocations: 128.7 kB / 0.9107 GB, free: 8.555 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004522/0.1512, allocations: 227.7 kB / 0.9109 GB, free: 8.332 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001044/0.1522, allocations: 1.315 MB / 0.9122 GB, free: 6.926 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002637/0.1525, allocations: 79.48 kB / 0.9123 GB, free: 6.848 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.169e-05/0.1525, allocations: 35.98 kB / 0.9123 GB, free: 6.812 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (113): * Single equations (assignments): 112 * 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.0001765/0.1527, allocations: 175.1 kB / 0.9125 GB, free: 6.629 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.831e-05/0.1528, allocations: 79.92 kB / 0.9126 GB, free: 6.551 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008045/0.1536, allocations: 0.6306 MB / 0.9132 GB, free: 5.91 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.1536, allocations: 12 kB / 0.9132 GB, free: 5.898 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-06/0.1536, allocations: 0 / 0.9132 GB, free: 5.898 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.1536, allocations: 7.922 kB / 0.9132 GB, free: 5.891 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001273/0.1549, allocations: 1.152 MB / 0.9143 GB, free: 4.699 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.1549, allocations: 3.984 kB / 0.9143 GB, free: 4.695 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003795/0.1553, allocations: 179.8 kB / 0.9145 GB, free: 4.52 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001845/0.1554, allocations: 159 kB / 0.9147 GB, free: 4.363 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002896/0.1557, allocations: 112.7 kB / 0.9148 GB, free: 4.25 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.116e-05/0.1558, allocations: 19.98 kB / 0.9148 GB, free: 4.23 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001063/0.1568, allocations: 1.313 MB / 0.9161 GB, free: 2.816 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1568, allocations: 0 / 0.9161 GB, free: 2.816 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007708/0.1576, allocations: 0.7359 MB / 0.9168 GB, free: 2.062 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.96e-05/0.1577, allocations: 24 kB / 0.9168 GB, free: 2.039 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002125/0.1579, allocations: 40.03 kB / 0.9168 GB, free: 2 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.439e-05/0.158, allocations: 76.8 kB / 0.9169 GB, free: 1.926 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-05/0.158, allocations: 23.97 kB / 0.9169 GB, free: 1.902 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001864/0.1582, allocations: 259.4 kB / 0.9172 GB, free: 1.652 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7e-08/0.1582, allocations: 0 / 0.9172 GB, free: 1.652 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0005491/0.1587, allocations: 355.1 kB / 0.9175 GB, free: 1.305 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (walCap.T) * 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 (103): * Single equations (assignments): 92 * 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.001613/0.1603, allocations: 0.8265 MB / 0.9183 GB, free: 0.7969 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0005887/0.1609, allocations: 0.5458 MB / 0.9189 GB, free: 240 kB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.668e-05/0.1609, allocations: 15.94 kB / 0.9189 GB, free: 224 kB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003946/0.1613, allocations: 444.8 kB / 0.9193 GB, free: 15.77 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/0.1624, allocations: 1.675 MB / 0.9209 GB, free: 13.84 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006377/0.1688, allocations: 1.706 MB / 0.9226 GB, free: 12.09 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001193/0.1689, allocations: 206.9 kB / 0.9228 GB, free: 11.87 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0003957/0.1693, allocations: 195.2 kB / 0.923 GB, free: 11.67 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004959/0.1698, allocations: 311 kB / 0.9233 GB, free: 11.37 MB / 0.9011 GB Notification: Performance of SimCode: time 6.92e-07/0.1698, allocations: 0 / 0.9233 GB, free: 11.37 MB / 0.9011 GB Notification: Performance of Templates: time 0.02038/0.1901, allocations: 17.72 MB / 0.9406 GB, free: 9.977 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo Buildings_13_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < Buildings_13_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/Buildings_13_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & ./Buildings_13_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.555055722594261]