Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1.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.SimpleHouse1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1") translateModel(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 107.7 kB / 17.03 MB, free: 6.094 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.001041/0.001041, allocations: 192.1 kB / 17.97 MB, free: 5.191 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.299/1.299, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6884/0.6884, allocations: 115.1 MB / 406.9 MB, free: 6.41 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 63.91 kB / 494.8 MB, free: 15.92 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3391/0.3404, allocations: 76.14 MB / 0.5575 GB, free: 36.69 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.005841/0.3463, allocations: 5.087 MB / 0.5625 GB, free: 33.1 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1509/0.4972, allocations: 150.6 MB / 0.7096 GB, free: 8.34 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008801/0.4981, allocations: 19.88 kB / 0.7096 GB, free: 8.32 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005639/0.4987, allocations: 202.2 kB / 0.7098 GB, free: 8.121 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001802/0.5005, allocations: 0.5574 MB / 0.7104 GB, free: 7.566 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00195/0.5025, allocations: 0.8346 MB / 0.7112 GB, free: 6.738 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001278/0.5038, allocations: 1.428 MB / 0.7126 GB, free: 5.301 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007555/0.5046, allocations: 0.5991 MB / 0.7132 GB, free: 4.672 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005137/0.5051, allocations: 0.4904 MB / 0.7137 GB, free: 4.18 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005067/0.5056, allocations: 0.5095 MB / 0.7142 GB, free: 3.668 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001318/0.5057, allocations: 120 kB / 0.7143 GB, free: 3.551 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007797/0.5065, allocations: 487.6 kB / 0.7147 GB, free: 3.074 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002391/0.5068, allocations: 299 kB / 0.715 GB, free: 2.781 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004415/0.5072, allocations: 0.5752 MB / 0.7156 GB, free: 2.203 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001442/0.5087, allocations: 1.659 MB / 0.7172 GB, free: 0.543 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.5087, allocations: 0 / 0.7172 GB, free: 0.543 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.472e-06/0.5087, allocations: 0 / 0.7172 GB, free: 0.543 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.272e-05/0.5087, allocations: 0 / 0.7172 GB, free: 0.543 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.002249/0.511, allocations: 1.466 MB / 0.7186 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.511, allocations: 8.031 kB / 0.7186 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008442/0.5119, allocations: 187.4 kB / 0.7188 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/0.5129, allocations: 0.778 MB / 0.7196 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.387e-05/0.513, allocations: 65.98 kB / 0.7196 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/0.5131, allocations: 84 kB / 0.7197 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001371/0.5145, allocations: 0.9456 MB / 0.7206 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.06e-05/0.5145, allocations: 0 / 0.7206 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.354e-05/0.5146, allocations: 36 kB / 0.7207 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.988e-05/0.5146, allocations: 20 kB / 0.7207 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001622/0.5163, allocations: 1.128 MB / 0.7218 GB, free: 11.7 MB / 0.5606 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.003692/0.52, allocations: 2.744 MB / 0.7245 GB, free: 8.836 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001368/0.5213, allocations: 0.8082 MB / 0.7253 GB, free: 8.023 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004833/0.5218, allocations: 310.7 kB / 0.7256 GB, free: 7.719 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.807e-05/0.5219, allocations: 32.61 kB / 0.7256 GB, free: 7.684 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007818/0.5227, allocations: 499.2 kB / 0.7261 GB, free: 7.18 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=82): time 2.455e-06/0.5227, allocations: 0 / 0.7261 GB, free: 7.18 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82): time 0.002978/0.5257, allocations: 1.207 MB / 0.7272 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.525e-05/0.5258, allocations: 192.5 kB / 0.7274 GB, free: 5.715 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007394/0.5266, allocations: 0.6333 MB / 0.728 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.611e-05/0.5266, allocations: 45.7 kB / 0.7281 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002948/0.5269, allocations: 412.2 kB / 0.7285 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001953/0.5271, allocations: 264.2 kB / 0.7287 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002328/0.5274, allocations: 170.5 kB / 0.7289 GB, free: 4.18 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.5275, allocations: 386.7 kB / 0.7293 GB, free: 3.793 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004891/0.528, allocations: 269.9 kB / 0.7295 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000588/0.5286, allocations: 371 kB / 0.7299 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001023/0.5297, allocations: 0.6073 MB / 0.7305 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.5297, allocations: 0 / 0.7305 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001818/0.5315, allocations: 0.8681 MB / 0.7313 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.5315, allocations: 9.859 kB / 0.7313 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.5316, allocations: 8.094 kB / 0.7313 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005564/0.5321, allocations: 80.77 kB / 0.7314 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006364/0.5328, allocations: 179.8 kB / 0.7316 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002227/0.535, allocations: 1.621 MB / 0.7332 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006367/0.5356, allocations: 95.25 kB / 0.7333 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.405e-05/0.5357, allocations: 43.95 kB / 0.7333 GB, free: 15.47 MB / 0.5762 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 (97): * Single equations (assignments): 96 * 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.000379/0.5361, allocations: 267.6 kB / 0.7336 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001427/0.5363, allocations: 86.95 kB / 0.7336 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002226/0.5385, allocations: 1.066 MB / 0.7347 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/0.5385, allocations: 11.94 kB / 0.7347 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.5385, allocations: 3.938 kB / 0.7347 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/0.5385, allocations: 7.922 kB / 0.7347 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001028/0.5396, allocations: 0.9073 MB / 0.7356 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.5396, allocations: 3.984 kB / 0.7356 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005837/0.5402, allocations: 147.8 kB / 0.7357 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004171/0.5406, allocations: 84.72 kB / 0.7358 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.72e-05/0.5407, allocations: 23.98 kB / 0.7358 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001742/0.5424, allocations: 1.654 MB / 0.7375 GB, free: 11 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.5424, allocations: 0 / 0.7375 GB, free: 11 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002388/0.5448, allocations: 1.336 MB / 0.7388 GB, free: 9.637 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003798/0.5452, allocations: 271.8 kB / 0.739 GB, free: 9.352 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/0.5453, allocations: 19.94 kB / 0.739 GB, free: 9.332 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005748/0.5459, allocations: 67.98 kB / 0.7391 GB, free: 9.266 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001287/0.5461, allocations: 68.91 kB / 0.7392 GB, free: 9.199 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.729e-05/0.5461, allocations: 35.97 kB / 0.7392 GB, free: 9.164 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00052/0.5467, allocations: 463 kB / 0.7396 GB, free: 8.719 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5467, allocations: 0 / 0.7396 GB, free: 8.719 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007734/0.5474, allocations: 335.2 kB / 0.74 GB, free: 8.391 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 (93): * Single equations (assignments): 87 * 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.001245/0.5487, allocations: 0.6104 MB / 0.7406 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001528/0.5502, allocations: 0.8314 MB / 0.7414 GB, free: 7.148 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.5503, allocations: 4 kB / 0.7414 GB, free: 7.145 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008382/0.5511, allocations: 0.5197 MB / 0.7419 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009698/0.5521, allocations: 297.3 kB / 0.7422 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002691/0.5548, allocations: 1.782 MB / 0.7439 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005194/0.5553, allocations: 1.027 MB / 0.7449 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006758/0.556, allocations: 258.8 kB / 0.7452 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002395/0.5562, allocations: 111.4 kB / 0.7453 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of SimCode: time 5.91e-07/0.5562, allocations: 0 / 0.7453 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of Templates: time 0.2515/0.8078, allocations: 15.24 MB / 0.7601 GB, free: 172.2 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1.makefile (rm -f IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & ./IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1)