Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) 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.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2") translateModel(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007776/0.0007776, allocations: 93.98 kB / 16.67 MB, free: 6.09 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.001038/0.001038, allocations: 183.4 kB / 17.58 MB, free: 5.82 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.273/1.273, allocations: 223.3 MB / 241.6 MB, free: 200 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6989/0.6989, allocations: 115.5 MB / 408.2 MB, free: 7.074 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003401/0.0003402, allocations: 12 kB / 496.5 MB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3556/0.356, allocations: 77.51 MB / 0.5606 GB, free: 36.28 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.005423/0.3614, allocations: 4.76 MB / 0.5652 GB, free: 32.81 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1578/0.5193, allocations: 146.8 MB / 0.7085 GB, free: 11.34 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001029/0.5203, allocations: 19.88 kB / 0.7086 GB, free: 11.32 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000801/0.5212, allocations: 150.8 kB / 0.7087 GB, free: 11.17 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002003/0.5232, allocations: 490.9 kB / 0.7092 GB, free: 10.7 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002003/0.5252, allocations: 0.7309 MB / 0.7099 GB, free: 9.973 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001793/0.527, allocations: 1.357 MB / 0.7112 GB, free: 8.605 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001102/0.5281, allocations: 0.556 MB / 0.7118 GB, free: 8.023 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007645/0.5289, allocations: 370.2 kB / 0.7121 GB, free: 7.66 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006926/0.5296, allocations: 421.7 kB / 0.7125 GB, free: 7.246 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001725/0.5298, allocations: 28 kB / 0.7125 GB, free: 7.219 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009683/0.5307, allocations: 371.6 kB / 0.7129 GB, free: 6.855 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002944/0.5311, allocations: 199 kB / 0.7131 GB, free: 6.66 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0007534/0.5318, allocations: 0.4948 MB / 0.7136 GB, free: 6.156 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001929/0.5338, allocations: 1.208 MB / 0.7147 GB, free: 4.945 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.5338, allocations: 0 / 0.7147 GB, free: 4.945 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.164e-06/0.5338, allocations: 0 / 0.7147 GB, free: 4.945 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.24e-05/0.5339, allocations: 0 / 0.7147 GB, free: 4.945 MB / 0.545 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.002881/0.5367, allocations: 1.279 MB / 0.716 GB, free: 3.621 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.5368, allocations: 15.97 kB / 0.716 GB, free: 3.605 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001049/0.5379, allocations: 203.3 kB / 0.7162 GB, free: 3.406 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001296/0.5392, allocations: 0.7623 MB / 0.717 GB, free: 2.602 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.892e-05/0.5392, allocations: 70 kB / 0.717 GB, free: 2.531 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001635/0.5394, allocations: 88 kB / 0.7171 GB, free: 2.445 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001839/0.5413, allocations: 0.9496 MB / 0.718 GB, free: 1.457 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.447e-05/0.5413, allocations: 4 kB / 0.718 GB, free: 1.453 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.724e-05/0.5414, allocations: 39.98 kB / 0.7181 GB, free: 1.414 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.991e-05/0.5414, allocations: 20 kB / 0.7181 GB, free: 1.395 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001952/0.5434, allocations: 1.147 MB / 0.7192 GB, free: 252 kB / 0.545 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004664/0.5481, allocations: 2.845 MB / 0.722 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001693/0.5498, allocations: 0.8475 MB / 0.7228 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000616/0.5504, allocations: 338.5 kB / 0.7231 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.333e-05/0.5505, allocations: 28.69 kB / 0.7232 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009656/0.5515, allocations: 0.5062 MB / 0.7237 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=85): time 3.155e-06/0.5515, allocations: 0 / 0.7237 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85): time 0.003415/0.5549, allocations: 1.263 MB / 0.7249 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/0.555, allocations: 196.9 kB / 0.7251 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009327/0.556, allocations: 0.6489 MB / 0.7257 GB, free: 9.359 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.98e-05/0.5561, allocations: 45.64 kB / 0.7258 GB, free: 9.309 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000356/0.5564, allocations: 412.5 kB / 0.7262 GB, free: 8.898 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002549/0.5567, allocations: 287.9 kB / 0.7264 GB, free: 8.613 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.5568, allocations: 69.69 kB / 0.7265 GB, free: 8.539 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001762/0.557, allocations: 390.7 kB / 0.7269 GB, free: 8.148 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005912/0.5576, allocations: 273.9 kB / 0.7271 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006711/0.5583, allocations: 383.1 kB / 0.7275 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001201/0.5595, allocations: 0.6437 MB / 0.7281 GB, free: 6.84 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.5595, allocations: 4 kB / 0.7281 GB, free: 6.836 MB / 0.5606 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002076/0.5616, allocations: 0.8877 MB / 0.729 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.821e-05/0.5616, allocations: 8 kB / 0.729 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.5617, allocations: 3.938 kB / 0.729 GB, free: 5.922 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006271/0.5623, allocations: 84.86 kB / 0.7291 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007319/0.563, allocations: 179.8 kB / 0.7293 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002286/0.5653, allocations: 1.514 MB / 0.7307 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008466/0.5662, allocations: 116.2 kB / 0.7308 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.193e-05/0.5663, allocations: 43.91 kB / 0.7309 GB, free: 3.852 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,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 (100): * Single equations (assignments): 99 * 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.0005809/0.5669, allocations: 271.4 kB / 0.7311 GB, free: 3.574 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002079/0.5671, allocations: 83.16 kB / 0.7312 GB, free: 3.492 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002592/0.5697, allocations: 1.105 MB / 0.7323 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.329e-05/0.5697, allocations: 15.94 kB / 0.7323 GB, free: 2.359 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.5697, allocations: 4 kB / 0.7323 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.225e-05/0.5698, allocations: 3.984 kB / 0.7323 GB, free: 2.352 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001242/0.571, allocations: 0.9191 MB / 0.7332 GB, free: 1.383 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.595e-06/0.571, allocations: 7.922 kB / 0.7332 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006605/0.5717, allocations: 163.8 kB / 0.7334 GB, free: 1.215 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000553/0.5723, allocations: 80.77 kB / 0.7335 GB, free: 1.133 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.046e-05/0.5723, allocations: 27.98 kB / 0.7335 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001894/0.5742, allocations: 1.552 MB / 0.735 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.5743, allocations: 0 / 0.735 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002852/0.5771, allocations: 1.383 MB / 0.7364 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004661/0.5776, allocations: 291.7 kB / 0.7366 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001549/0.5778, allocations: 16 kB / 0.7367 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007443/0.5785, allocations: 90.33 kB / 0.7367 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001603/0.5787, allocations: 72.89 kB / 0.7368 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.951e-05/0.5788, allocations: 35.98 kB / 0.7368 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006607/0.5794, allocations: 475 kB / 0.7373 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5794, allocations: 0 / 0.7373 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009164/0.5804, allocations: 339.1 kB / 0.7376 GB, free: 12.71 MB / 0.5762 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: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001419/0.5818, allocations: 0.5968 MB / 0.7382 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001861/0.5837, allocations: 0.8625 MB / 0.739 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.5837, allocations: 0 / 0.739 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00101/0.5847, allocations: 0.5394 MB / 0.7396 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001401/0.5861, allocations: 275 kB / 0.7398 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003822/0.5899, allocations: 2.392 MB / 0.7422 GB, free: 8.207 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007099/0.5907, allocations: 1.044 MB / 0.7432 GB, free: 7.129 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003523/0.591, allocations: 115.3 kB / 0.7433 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of SimCode: time 8.01e-07/0.5911, allocations: 4 kB / 0.7433 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of Templates: time 0.2569/0.848, allocations: 18.94 MB / 0.7618 GB, free: 168.1 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.makefile (rm -f IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & ./IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1)