Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.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.0006972/0.0006972, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009394/0.001637, 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.0007007/0.0007007, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009418/0.001643, 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.8887/0.8887, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07419/0.9628, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.868/1.868, allocations: 390 MB / 0.6193 GB, free: 11.68 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4439/2.312, allocations: 127.1 MB / 0.7435 GB, free: 4.57 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.SimpleHouse1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.7448 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.395e-05/1.558e-05, allocations: 6.25 kB / 0.7448 GB, free: 3.273 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.00626/0.006275, allocations: 5.026 MB / 0.7497 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.1268/0.1331, allocations: 146.5 MB / 0.8928 GB, free: 11.38 MB / 0.8699 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007384/0.1338, allocations: 23.81 kB / 0.8928 GB, free: 11.36 MB / 0.8699 GB Notification: Performance of NFTyping.typeComponents: time 0.0004553/0.1343, allocations: 214 kB / 0.893 GB, free: 11.14 MB / 0.8699 GB Notification: Performance of NFTyping.typeBindings: time 0.001312/0.1356, allocations: 0.5743 MB / 0.8936 GB, free: 10.57 MB / 0.8699 GB Notification: Performance of NFTyping.typeClassSections: time 0.001478/0.1371, allocations: 0.8528 MB / 0.8944 GB, free: 9.711 MB / 0.8699 GB Notification: Performance of NFFlatten.flatten: time 0.001327/0.1384, allocations: 1.494 MB / 0.8959 GB, free: 8.207 MB / 0.8699 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006073/0.139, allocations: 418.2 kB / 0.8963 GB, free: 7.77 MB / 0.8699 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009661/0.14, allocations: 0.8607 MB / 0.8971 GB, free: 6.906 MB / 0.8699 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004805/0.1405, allocations: 398.8 kB / 0.8975 GB, free: 6.516 MB / 0.8699 GB Notification: Performance of NFPackage.collectConstants: time 0.0001279/0.1406, allocations: 119.9 kB / 0.8976 GB, free: 6.398 MB / 0.8699 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008406/0.1414, allocations: 0.511 MB / 0.8981 GB, free: 5.887 MB / 0.8699 GB Notification: Performance of NFScalarize.scalarize: time 0.0001658/0.1416, allocations: 227.2 kB / 0.8983 GB, free: 5.664 MB / 0.8699 GB Notification: Performance of NFVerifyModel.verify: time 0.0002484/0.1419, allocations: 311.3 kB / 0.8986 GB, free: 5.359 MB / 0.8699 GB Notification: Performance of NFConvertDAE.convert: time 0.001149/0.143, allocations: 1.136 MB / 0.8997 GB, free: 4.219 MB / 0.8699 GB Notification: Performance of FrontEnd - DAE generated: time 1.425e-05/0.143, allocations: 0 / 0.8997 GB, free: 4.219 MB / 0.8699 GB Notification: Performance of FrontEnd: time 1.142e-06/0.143, allocations: 0 / 0.8997 GB, free: 4.219 MB / 0.8699 GB Notification: Performance of Transformations before backend: time 2.459e-05/0.143, allocations: 0 / 0.8997 GB, free: 4.219 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.001656/0.1447, allocations: 1.668 MB / 0.9013 GB, free: 2.523 MB / 0.8699 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.1447, allocations: 12.03 kB / 0.9014 GB, free: 2.512 MB / 0.8699 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007899/0.1455, allocations: 373.3 kB / 0.9017 GB, free: 2.129 MB / 0.8699 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000716/0.1462, allocations: 0.5939 MB / 0.9023 GB, free: 1.508 MB / 0.8699 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.609e-05/0.1463, allocations: 74.06 kB / 0.9024 GB, free: 1.434 MB / 0.8699 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.851e-05/0.1464, allocations: 96 kB / 0.9025 GB, free: 1.34 MB / 0.8699 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006925/0.1471, allocations: 0.8836 MB / 0.9033 GB, free: 380 kB / 0.8699 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.1471, allocations: 0 / 0.9033 GB, free: 380 kB / 0.8699 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.698e-05/0.1471, allocations: 36 kB / 0.9034 GB, free: 344 kB / 0.8699 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.637e-05/0.1472, allocations: 24 kB / 0.9034 GB, free: 320 kB / 0.8699 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005907/0.1477, allocations: 0.5908 MB / 0.904 GB, free: 15.72 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001995/0.1497, allocations: 1.683 MB / 0.9056 GB, free: 13.99 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005178/0.1503, allocations: 416.8 kB / 0.906 GB, free: 13.58 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001404/0.1504, allocations: 140.3 kB / 0.9061 GB, free: 13.44 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 5.025e-05/0.1504, allocations: 32.97 kB / 0.9062 GB, free: 13.41 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003574/0.1508, allocations: 463.3 kB / 0.9066 GB, free: 12.91 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=90): time 2.625e-06/0.1508, allocations: 0 / 0.9066 GB, free: 12.91 MB / 0.8855 GB Notification: Performance of matching and sorting (n=90): time 0.0009977/0.1518, allocations: 0.5772 MB / 0.9072 GB, free: 12.32 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.1518, allocations: 64.41 kB / 0.9072 GB, free: 12.25 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003409/0.1522, allocations: 0.5134 MB / 0.9077 GB, free: 11.73 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.181e-05/0.1522, allocations: 49.7 kB / 0.9078 GB, free: 11.67 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001523/0.1524, allocations: 350.3 kB / 0.9081 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001429/0.1525, allocations: 293.4 kB / 0.9084 GB, free: 11.04 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001576/0.1527, allocations: 178.5 kB / 0.9086 GB, free: 10.86 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.1528, allocations: 398.6 kB / 0.9089 GB, free: 10.46 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/0.1529, allocations: 100.8 kB / 0.909 GB, free: 10.36 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002038/0.1531, allocations: 319.6 kB / 0.9093 GB, free: 10 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003282/0.1535, allocations: 353.1 kB / 0.9097 GB, free: 9.645 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.1535, allocations: 0 / 0.9097 GB, free: 9.645 MB / 0.8855 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.0006179/0.1541, allocations: 475 kB / 0.9101 GB, free: 9.168 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.1541, allocations: 4 kB / 0.9101 GB, free: 9.164 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.1541, allocations: 0 / 0.9101 GB, free: 9.164 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003786/0.1545, allocations: 128.7 kB / 0.9103 GB, free: 9.035 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004522/0.1549, allocations: 221.8 kB / 0.9105 GB, free: 8.82 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001157/0.1561, allocations: 1.31 MB / 0.9117 GB, free: 7.414 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003612/0.1565, allocations: 83.56 kB / 0.9118 GB, free: 7.332 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.321e-05/0.1565, allocations: 27.97 kB / 0.9119 GB, free: 7.305 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 (110): * Single equations (assignments): 109 * 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.0002492/0.1568, allocations: 171.1 kB / 0.912 GB, free: 7.125 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.1569, allocations: 87.91 kB / 0.9121 GB, free: 7.039 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008676/0.1577, allocations: 0.6188 MB / 0.9127 GB, free: 6.402 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/0.1577, allocations: 12 kB / 0.9127 GB, free: 6.391 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-06/0.1577, allocations: 0 / 0.9127 GB, free: 6.391 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.267e-06/0.1577, allocations: 3.984 kB / 0.9127 GB, free: 6.387 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001422/0.1592, allocations: 1.121 MB / 0.9138 GB, free: 5.23 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.1592, allocations: 0 / 0.9138 GB, free: 5.23 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003666/0.1595, allocations: 179.8 kB / 0.914 GB, free: 5.055 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002029/0.1597, allocations: 155 kB / 0.9141 GB, free: 4.902 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002982/0.16, allocations: 108.8 kB / 0.9142 GB, free: 4.793 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.305e-05/0.1601, allocations: 19.98 kB / 0.9143 GB, free: 4.773 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008502/0.1609, allocations: 1.325 MB / 0.9156 GB, free: 3.359 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.1609, allocations: 0 / 0.9156 GB, free: 3.359 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007817/0.1617, allocations: 0.7242 MB / 0.9163 GB, free: 2.617 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.216e-05/0.1618, allocations: 20 kB / 0.9163 GB, free: 2.598 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002177/0.162, allocations: 42.94 kB / 0.9163 GB, free: 2.559 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.102e-05/0.1621, allocations: 72.8 kB / 0.9164 GB, free: 2.488 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.083e-05/0.1621, allocations: 23.98 kB / 0.9164 GB, free: 2.465 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002095/0.1623, allocations: 259.4 kB / 0.9167 GB, free: 2.211 MB / 0.8855 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1623, allocations: 0 / 0.9167 GB, free: 2.211 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0006545/0.163, allocations: 351.1 kB / 0.917 GB, free: 1.867 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 (100): * Single equations (assignments): 89 * 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.001624/0.1646, allocations: 0.8143 MB / 0.9178 GB, free: 1.367 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0006837/0.1653, allocations: 0.5418 MB / 0.9183 GB, free: 0.8047 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.922e-05/0.1653, allocations: 12 kB / 0.9183 GB, free: 0.793 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003928/0.1657, allocations: 429 kB / 0.9187 GB, free: 368 kB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/0.1668, allocations: 1.646 MB / 0.9203 GB, free: 14.46 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006025/0.1728, allocations: 1.62 MB / 0.9219 GB, free: 12.8 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001378/0.1729, allocations: 202.8 kB / 0.9221 GB, free: 12.58 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0005012/0.1734, allocations: 183 kB / 0.9223 GB, free: 12.4 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005728/0.174, allocations: 315 kB / 0.9226 GB, free: 12.09 MB / 0.9011 GB Notification: Performance of SimCode: time 1.403e-06/0.174, allocations: 0 / 0.9226 GB, free: 12.09 MB / 0.9011 GB Notification: Performance of Templates: time 0.02139/0.1954, allocations: 17.55 MB / 0.9397 GB, free: 10.87 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo Buildings_13_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < Buildings_13_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/Buildings_13_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & ./Buildings_13_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.463908849284053]