Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.001653/0.001653, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001738/0.001738, allocations: 193.2 kB / 16.53 MB, free: 6.699 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.355/1.355, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.854/2.854, allocations: 472.6 MB / 0.7451 GB, free: 4.676 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 59.38 kB / 0.912 GB, free: 33.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.302/0.3032, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.006382/0.3096, allocations: 5.245 MB / 1.073 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1748/0.4845, allocations: 150.7 MB / 1.22 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001227/0.4858, allocations: 15.94 kB / 1.22 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0008373/0.4866, allocations: 198.1 kB / 1.221 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002376/0.4891, allocations: 0.5665 MB / 1.221 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003154/0.4922, allocations: 0.8423 MB / 1.222 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002417/0.4947, allocations: 1.44 MB / 1.223 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001286/0.496, allocations: 0.5957 MB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009752/0.497, allocations: 0.5061 MB / 1.224 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008393/0.4978, allocations: 0.5251 MB / 1.225 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002328/0.4981, allocations: 120 kB / 1.225 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001259/0.4993, allocations: 467.6 kB / 1.226 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003537/0.4997, allocations: 303 kB / 1.226 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000714/0.5004, allocations: 0.5947 MB / 1.226 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002371/0.5028, allocations: 1.64 MB / 1.228 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.5028, allocations: 0 / 1.228 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.276e-06/0.5028, allocations: 4 kB / 1.228 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.218e-05/0.5029, allocations: 3.938 kB / 1.228 GB, free: 6.09 MB / 0.9825 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.003125/0.506, allocations: 1.481 MB / 1.229 GB, free: 4.555 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.503e-05/0.5061, allocations: 12.02 kB / 1.229 GB, free: 4.543 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001395/0.5075, allocations: 195.3 kB / 1.23 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001518/0.509, allocations: 0.7623 MB / 1.23 GB, free: 3.547 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.105e-05/0.5091, allocations: 66 kB / 1.23 GB, free: 3.484 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001809/0.5093, allocations: 84 kB / 1.231 GB, free: 3.402 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002333/0.5116, allocations: 0.9612 MB / 1.231 GB, free: 2.398 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.358e-05/0.5117, allocations: 0 / 1.231 GB, free: 2.398 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.745e-05/0.5118, allocations: 40 kB / 1.232 GB, free: 2.359 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.396e-05/0.5118, allocations: 24 kB / 1.232 GB, free: 2.336 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002859/0.5147, allocations: 1.136 MB / 1.233 GB, free: 1.203 MB / 0.9825 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.006571/0.5213, allocations: 2.802 MB / 1.235 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002485/0.5238, allocations: 0.8474 MB / 1.236 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008272/0.5246, allocations: 329.3 kB / 1.237 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.815e-05/0.5247, allocations: 32.69 kB / 1.237 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001277/0.526, allocations: 0.5062 MB / 1.237 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=85): time 4.318e-06/0.526, allocations: 0 / 1.237 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of matching and sorting (n=85): time 0.004756/0.5308, allocations: 1.243 MB / 1.238 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001321/0.531, allocations: 188.9 kB / 1.238 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001208/0.5322, allocations: 0.6528 MB / 1.239 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001021/0.5323, allocations: 45.7 kB / 1.239 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004781/0.5328, allocations: 416.4 kB / 1.24 GB, free: 9.918 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003136/0.5331, allocations: 276 kB / 1.24 GB, free: 9.645 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000366/0.5335, allocations: 170.5 kB / 1.24 GB, free: 9.473 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002242/0.5337, allocations: 390.8 kB / 1.24 GB, free: 9.082 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008194/0.5345, allocations: 281.8 kB / 1.241 GB, free: 8.805 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009519/0.5355, allocations: 375.1 kB / 1.241 GB, free: 8.426 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001806/0.5373, allocations: 0.6281 MB / 1.242 GB, free: 7.789 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/0.5374, allocations: 4 kB / 1.242 GB, free: 7.785 MB / 0.9981 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002899/0.5403, allocations: 0.8838 MB / 1.242 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/0.5403, allocations: 7.984 kB / 1.242 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.5403, allocations: 0 / 1.242 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008481/0.5412, allocations: 88.8 kB / 1.243 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/0.5422, allocations: 175.8 kB / 1.243 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002967/0.5452, allocations: 1.638 MB / 1.244 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001084/0.5463, allocations: 91.39 kB / 1.244 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001085/0.5464, allocations: 43.91 kB / 1.244 GB, free: 4.707 MB / 0.9981 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.0006321/0.5471, allocations: 269.9 kB / 1.245 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002478/0.5473, allocations: 90.91 kB / 1.245 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003462/0.5508, allocations: 1.101 MB / 1.246 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/0.5508, allocations: 8 kB / 1.246 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.5508, allocations: 0 / 1.246 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.572e-05/0.5509, allocations: 3.984 kB / 1.246 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001528/0.5524, allocations: 0.923 MB / 1.247 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/0.5524, allocations: 3.984 kB / 1.247 GB, free: 2.234 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009222/0.5533, allocations: 159.7 kB / 1.247 GB, free: 2.078 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006038/0.554, allocations: 72.78 kB / 1.247 GB, free: 2.004 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-05/0.5541, allocations: 27.98 kB / 1.247 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002709/0.5568, allocations: 1.674 MB / 1.249 GB, free: 160 kB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.5568, allocations: 0 / 1.249 GB, free: 160 kB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5438/1.101, allocations: 1.358 MB / 1.25 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005054/1.101, allocations: 273.8 kB / 1.25 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00015/1.101, allocations: 25.89 kB / 1.25 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006773/1.102, allocations: 61.84 kB / 1.25 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002358/1.102, allocations: 72.97 kB / 1.25 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.751e-05/1.102, allocations: 38.39 kB / 1.25 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007221/1.103, allocations: 470.1 kB / 1.251 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.1e-07/1.103, allocations: 0 / 1.251 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001159/1.104, allocations: 344.2 kB / 1.251 GB, free: 183.3 MB / 0.9981 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.001422/1.106, allocations: 0.5909 MB / 1.252 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002759/1.108, allocations: 1.066 MB / 1.253 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/1.108, allocations: 4.484 kB / 1.253 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00101/1.109, allocations: 0.5361 MB / 1.253 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001323/1.111, allocations: 306.2 kB / 1.254 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003537/1.114, allocations: 1.866 MB / 1.255 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004223/1.115, allocations: 1.046 MB / 1.256 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008053/1.116, allocations: 260.7 kB / 1.257 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002341/1.116, allocations: 107.8 kB / 1.257 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of SimCode: time 5.71e-07/1.116, allocations: 0 / 1.257 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.02784/1.144, allocations: 15.44 MB / 1.272 GB, free: 179.1 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.makefile (rm -f Buildings_1.6_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo Buildings_1.6_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/Buildings_1.6_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & ./Buildings_1.6_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1)