Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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/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.SimpleHouse1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.001677/0.001677, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001295/0.001295, allocations: 191.3 kB / 16.14 MB, free: 6.688 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.362/1.362, allocations: 222.9 MB / 239.8 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.742/2.742, allocations: 472.6 MB / 0.7447 GB, free: 4.867 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 59.92 kB / 0.9113 GB, free: 33.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/0.3098, allocations: 159.9 MB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.006486/0.3163, allocations: 5.119 MB / 1.073 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.156/0.4723, allocations: 148.3 MB / 1.217 GB, free: 0.8203 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007531/0.4731, allocations: 15.94 kB / 1.217 GB, free: 0.8047 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005386/0.4737, allocations: 158.8 kB / 1.218 GB, free: 0.6484 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001402/0.4751, allocations: 485.1 kB / 1.218 GB, free: 180 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001626/0.4768, allocations: 0.7276 MB / 1.219 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001178/0.4779, allocations: 1.322 MB / 1.22 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008181/0.4788, allocations: 0.5792 MB / 1.221 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00055/0.4793, allocations: 434.2 kB / 1.221 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005113/0.4799, allocations: 491.5 kB / 1.221 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001396/0.48, allocations: 60 kB / 1.221 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007213/0.4807, allocations: 399.6 kB / 1.222 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000227/0.481, allocations: 243 kB / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000496/0.4815, allocations: 0.5089 MB / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001365/0.4828, allocations: 1.577 MB / 1.224 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.4829, allocations: 0 / 1.224 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.002e-06/0.4829, allocations: 0 / 1.224 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.224e-05/0.4829, allocations: 0 / 1.224 GB, free: 9.832 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.002553/0.4854, allocations: 1.462 MB / 1.226 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.4855, allocations: 8.031 kB / 1.226 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009035/0.4864, allocations: 195.3 kB / 1.226 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/0.4874, allocations: 0.7508 MB / 1.226 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.128e-05/0.4875, allocations: 66 kB / 1.227 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001201/0.4876, allocations: 83.98 kB / 1.227 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001596/0.4892, allocations: 0.9418 MB / 1.228 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.284e-05/0.4892, allocations: 0 / 1.228 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.44e-05/0.4893, allocations: 36 kB / 1.228 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.033e-05/0.4894, allocations: 24 kB / 1.228 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001839/0.4912, allocations: 1.124 MB / 1.229 GB, free: 5.016 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.004007/0.4952, allocations: 2.763 MB / 1.231 GB, free: 2.133 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001511/0.4967, allocations: 0.8193 MB / 1.232 GB, free: 1.305 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005392/0.4973, allocations: 306.7 kB / 1.233 GB, free: 1.004 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.924e-05/0.4974, allocations: 28.61 kB / 1.233 GB, free: 0.9727 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009259/0.4983, allocations: 499.2 kB / 1.233 GB, free: 480 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=82): time 2.215e-06/0.4983, allocations: 0 / 1.233 GB, free: 480 kB / 0.9825 GB Notification: Performance of matching and sorting (n=82): time 0.00319/0.5015, allocations: 1.207 MB / 1.234 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.509e-05/0.5016, allocations: 192.5 kB / 1.234 GB, free: 15 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007382/0.5024, allocations: 0.6526 MB / 1.235 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.61e-05/0.5025, allocations: 37.7 kB / 1.235 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002962/0.5028, allocations: 404.4 kB / 1.235 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001999/0.503, allocations: 268.1 kB / 1.236 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002479/0.5032, allocations: 166.5 kB / 1.236 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.5034, allocations: 390.8 kB / 1.236 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005277/0.5039, allocations: 269.8 kB / 1.236 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000616/0.5046, allocations: 363.1 kB / 1.237 GB, free: 12.44 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001087/0.5057, allocations: 0.619 MB / 1.237 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/0.5057, allocations: 0 / 1.237 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001921/0.5076, allocations: 0.8643 MB / 1.238 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.5076, allocations: 9.406 kB / 1.238 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.5076, allocations: 4.094 kB / 1.238 GB, free: 10.92 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006063/0.5082, allocations: 72.78 kB / 1.238 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000683/0.5089, allocations: 183.8 kB / 1.239 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002006/0.511, allocations: 1.524 MB / 1.24 GB, free: 9.008 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00071/0.5117, allocations: 87.45 kB / 1.24 GB, free: 8.922 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.288e-05/0.5118, allocations: 39.97 kB / 1.24 GB, free: 8.883 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 (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.0003834/0.5122, allocations: 275.2 kB / 1.24 GB, free: 8.602 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001534/0.5123, allocations: 86.95 kB / 1.24 GB, free: 8.516 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002366/0.5147, allocations: 1.07 MB / 1.242 GB, free: 7.43 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-06/0.5147, allocations: 12 kB / 1.242 GB, free: 7.418 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.5147, allocations: 7.938 kB / 1.242 GB, free: 7.41 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.5147, allocations: 7.922 kB / 1.242 GB, free: 7.402 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009922/0.5157, allocations: 0.8996 MB / 1.242 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.5157, allocations: 0 / 1.242 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006524/0.5164, allocations: 151.8 kB / 1.243 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005318/0.5169, allocations: 84.77 kB / 1.243 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-05/0.517, allocations: 27.98 kB / 1.243 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001824/0.5188, allocations: 1.544 MB / 1.244 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.5189, allocations: 4.031 kB / 1.244 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002598/0.5215, allocations: 1.336 MB / 1.245 GB, free: 3.148 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003427/0.5218, allocations: 279.8 kB / 1.246 GB, free: 2.855 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001257/0.522, allocations: 23.98 kB / 1.246 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006522/0.5226, allocations: 64 kB / 1.246 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001491/0.5228, allocations: 68.89 kB / 1.246 GB, free: 2.699 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-05/0.5229, allocations: 43.91 kB / 1.246 GB, free: 2.656 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005374/0.5234, allocations: 463 kB / 1.246 GB, free: 2.207 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5234, allocations: 0 / 1.246 GB, free: 2.207 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007899/0.5242, allocations: 327.3 kB / 1.247 GB, free: 1.887 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 (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.001337/0.5255, allocations: 0.6005 MB / 1.247 GB, free: 1.461 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001598/0.5272, allocations: 0.835 MB / 1.248 GB, free: 0.6172 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.5272, allocations: 4.188 kB / 1.248 GB, free: 0.6133 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009252/0.5281, allocations: 0.5236 MB / 1.249 GB, free: 80 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.4116/0.9397, allocations: 273.1 kB / 1.249 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00308/0.9428, allocations: 2.211 MB / 1.251 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005025/0.9434, allocations: 1.032 MB / 1.252 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008592/0.9442, allocations: 259.9 kB / 1.252 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002783/0.9445, allocations: 106.5 kB / 1.252 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of SimCode: time 7.41e-07/0.9445, allocations: 3.75 kB / 1.252 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.02434/0.9689, allocations: 14.61 MB / 1.267 GB, free: 180.3 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.makefile (rm -f Buildings_1.6_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo Buildings_1.6_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/Buildings_1.6_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & ./Buildings_1.6_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1)