Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.0008371/0.0008371, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005285/0.005285, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.406/1.406, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.775/2.775, allocations: 473.4 MB / 0.7469 GB, free: 6.129 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003436/0.0003434, allocations: 9.25 kB / 0.9158 GB, free: 33.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.3062, allocations: 162.2 MB / 1.074 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.00543/0.3117, allocations: 4.703 MB / 1.079 GB, free: 2.898 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1547/0.4664, allocations: 146.7 MB / 1.222 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005426/0.467, allocations: 15.88 kB / 1.222 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004898/0.4675, allocations: 154.8 kB / 1.222 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001253/0.4688, allocations: 489.3 kB / 1.223 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001696/0.4705, allocations: 0.7198 MB / 1.223 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001336/0.4718, allocations: 1.33 MB / 1.225 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008116/0.4726, allocations: 0.5597 MB / 1.225 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004881/0.4731, allocations: 358.3 kB / 1.226 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004752/0.4736, allocations: 403 kB / 1.226 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.322e-05/0.4737, allocations: 28 kB / 1.226 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007222/0.4745, allocations: 367.7 kB / 1.226 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001998/0.4747, allocations: 199 kB / 1.226 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004898/0.4752, allocations: 494.7 kB / 1.227 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001484/0.4767, allocations: 1.518 MB / 1.228 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.4767, allocations: 0 / 1.228 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.332e-06/0.4767, allocations: 4 kB / 1.228 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.306e-05/0.4767, allocations: 0 / 1.228 GB, free: 8.973 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.002288/0.479, allocations: 1.248 MB / 1.23 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.4791, allocations: 12.03 kB / 1.23 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009719/0.48, allocations: 199.3 kB / 1.23 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001124/0.4812, allocations: 0.7546 MB / 1.231 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.233e-05/0.4813, allocations: 73.92 kB / 1.231 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001226/0.4814, allocations: 80 kB / 1.231 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001621/0.483, allocations: 0.934 MB / 1.232 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.208e-05/0.4831, allocations: 3.938 kB / 1.232 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.792e-05/0.4832, allocations: 43.98 kB / 1.232 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.921e-05/0.4832, allocations: 20 kB / 1.232 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001832/0.485, allocations: 1.128 MB / 1.233 GB, free: 4.352 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.004078/0.4891, allocations: 2.794 MB / 1.236 GB, free: 1.438 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001505/0.4906, allocations: 0.8121 MB / 1.236 GB, free: 0.6133 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000559/0.4912, allocations: 313.7 kB / 1.237 GB, free: 316 kB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.618e-05/0.4913, allocations: 40.59 kB / 1.237 GB, free: 272 kB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008949/0.4922, allocations: 0.4913 MB / 1.237 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=82): time 3.406e-06/0.4922, allocations: 0 / 1.237 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of matching and sorting (n=82): time 0.003245/0.4955, allocations: 1.227 MB / 1.238 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.4956, allocations: 200.5 kB / 1.239 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007916/0.4964, allocations: 0.6409 MB / 1.239 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.04e-05/0.4964, allocations: 45.7 kB / 1.239 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003144/0.4968, allocations: 400.4 kB / 1.24 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002125/0.497, allocations: 272.1 kB / 1.24 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.794e-05/0.4971, allocations: 69.69 kB / 1.24 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.4973, allocations: 390.7 kB / 1.24 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005622/0.4978, allocations: 273.9 kB / 1.241 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006355/0.4985, allocations: 375.1 kB / 1.241 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001141/0.4996, allocations: 0.619 MB / 1.242 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.4996, allocations: 0 / 1.242 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001968/0.5016, allocations: 0.8799 MB / 1.242 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.91e-05/0.5017, allocations: 4 kB / 1.242 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.5017, allocations: 0 / 1.242 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006349/0.5023, allocations: 80.88 kB / 1.242 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007325/0.5031, allocations: 175.8 kB / 1.243 GB, free: 10 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00246/0.5055, allocations: 1.52 MB / 1.244 GB, free: 8.348 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007915/0.5063, allocations: 108.2 kB / 1.244 GB, free: 8.242 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.048e-05/0.5064, allocations: 39.97 kB / 1.244 GB, free: 8.203 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.0004371/0.5069, allocations: 276.8 kB / 1.245 GB, free: 7.922 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/0.507, allocations: 82.97 kB / 1.245 GB, free: 7.84 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002386/0.5094, allocations: 1.077 MB / 1.246 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.876e-06/0.5094, allocations: 8 kB / 1.246 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.5094, allocations: 3.938 kB / 1.246 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/0.5094, allocations: 7.969 kB / 1.246 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001087/0.5105, allocations: 0.9074 MB / 1.247 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.5105, allocations: 0 / 1.247 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000629/0.5112, allocations: 151.8 kB / 1.247 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005376/0.5117, allocations: 88.7 kB / 1.247 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.676e-05/0.5118, allocations: 23.98 kB / 1.247 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00185/0.5136, allocations: 1.563 MB / 1.248 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.5137, allocations: 0 / 1.248 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002718/0.5164, allocations: 1.355 MB / 1.25 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004416/0.5168, allocations: 287.5 kB / 1.25 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001181/0.517, allocations: 24 kB / 1.25 GB, free: 2.105 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006843/0.5177, allocations: 76 kB / 1.25 GB, free: 2.031 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001556/0.5178, allocations: 72.89 kB / 1.25 GB, free: 1.961 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-05/0.5179, allocations: 39.97 kB / 1.25 GB, free: 1.922 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006182/0.5185, allocations: 459 kB / 1.251 GB, free: 1.477 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5186, allocations: 4 kB / 1.251 GB, free: 1.473 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008549/0.5194, allocations: 327.3 kB / 1.251 GB, free: 1.152 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.001335/0.5208, allocations: 0.6041 MB / 1.251 GB, free: 0.7227 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.5045/1.025, allocations: 0.844 MB / 1.252 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.426e-06/1.025, allocations: 0.9375 kB / 1.252 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001375/1.027, allocations: 0.5243 MB / 1.253 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001489/1.028, allocations: 274.2 kB / 1.253 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003364/1.032, allocations: 2.272 MB / 1.255 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005694/1.032, allocations: 1.031 MB / 1.256 GB, free: 179 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009093/1.033, allocations: 261.4 kB / 1.257 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002925/1.033, allocations: 103.2 kB / 1.257 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of SimCode: time 1.192e-06/1.033, allocations: 0 / 1.257 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.02678/1.06, allocations: 14.52 MB / 1.271 GB, free: 177.3 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.makefile (rm -f Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & ./Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1)