Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.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.SimpleHouse0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 91.84 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.008076/0.008076, allocations: 170.7 kB / 16.26 MB, free: 6.676 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.341/1.341, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.707/2.707, allocations: 473.4 MB / 0.7469 GB, free: 6.094 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003862/0.0003862, allocations: 9.594 kB / 0.9158 GB, free: 33.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2923/0.2927, allocations: 162.2 MB / 1.074 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.005829/0.2986, allocations: 4.508 MB / 1.079 GB, free: 3.02 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1647/0.4634, allocations: 146.7 MB / 1.222 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007759/0.4642, allocations: 15.94 kB / 1.222 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005483/0.4648, allocations: 154.8 kB / 1.222 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001438/0.4662, allocations: 468.9 kB / 1.222 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001686/0.4679, allocations: 0.7158 MB / 1.223 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001397/0.4693, allocations: 1.276 MB / 1.224 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008195/0.4702, allocations: 0.5516 MB / 1.225 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005163/0.4707, allocations: 342.4 kB / 1.225 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004641/0.4712, allocations: 381.9 kB / 1.226 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.674e-05/0.4712, allocations: 24 kB / 1.226 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007594/0.472, allocations: 371.5 kB / 1.226 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001998/0.4722, allocations: 183.1 kB / 1.226 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004118/0.4726, allocations: 478.8 kB / 1.227 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00151/0.4742, allocations: 1.475 MB / 1.228 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.4742, allocations: 0 / 1.228 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.613e-06/0.4742, allocations: 0 / 1.228 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.936e-05/0.4742, allocations: 0 / 1.228 GB, free: 9.344 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.002254/0.4765, allocations: 1.225 MB / 1.229 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.4765, allocations: 8.031 kB / 1.229 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009493/0.4775, allocations: 199.4 kB / 1.229 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001034/0.4785, allocations: 0.7305 MB / 1.23 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.786e-05/0.4786, allocations: 62 kB / 1.23 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001171/0.4787, allocations: 76 kB / 1.23 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001567/0.4803, allocations: 0.9153 MB / 1.231 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/0.4803, allocations: 3.938 kB / 1.231 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.844e-05/0.4804, allocations: 36 kB / 1.231 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.904e-05/0.4804, allocations: 20 kB / 1.231 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001775/0.4822, allocations: 1.108 MB / 1.232 GB, free: 4.832 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.004087/0.4863, allocations: 2.806 MB / 1.235 GB, free: 1.902 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001464/0.4878, allocations: 0.8013 MB / 1.236 GB, free: 1.09 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005385/0.4884, allocations: 298.6 kB / 1.236 GB, free: 0.7969 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.797e-05/0.4884, allocations: 32.61 kB / 1.236 GB, free: 0.7656 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008786/0.4893, allocations: 494 kB / 1.237 GB, free: 272 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=78): time 2.175e-06/0.4893, allocations: 0 / 1.237 GB, free: 272 kB / 0.9825 GB Notification: Performance of matching and sorting (n=78): time 0.003167/0.4925, allocations: 1.194 MB / 1.238 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.758e-05/0.4926, allocations: 192.5 kB / 1.238 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008256/0.4935, allocations: 0.6332 MB / 1.239 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.577e-05/0.4935, allocations: 41.7 kB / 1.239 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003113/0.4939, allocations: 392.4 kB / 1.239 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002137/0.4941, allocations: 260.3 kB / 1.239 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.473e-05/0.4942, allocations: 69.69 kB / 1.239 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001798/0.4944, allocations: 390.7 kB / 1.24 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005488/0.4949, allocations: 265.9 kB / 1.24 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006808/0.4956, allocations: 368 kB / 1.24 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001161/0.4968, allocations: 0.612 MB / 1.241 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.4968, allocations: 3.938 kB / 1.241 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002035/0.4988, allocations: 0.8488 MB / 1.242 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.4989, allocations: 4 kB / 1.242 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.4989, allocations: 4 kB / 1.242 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006284/0.4995, allocations: 84.89 kB / 1.242 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006482/0.5002, allocations: 167.7 kB / 1.242 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00206/0.5023, allocations: 1.526 MB / 1.243 GB, free: 8.973 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008058/0.5031, allocations: 104 kB / 1.244 GB, free: 8.871 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.724e-05/0.5032, allocations: 39.91 kB / 1.244 GB, free: 8.832 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (93): * Single equations (assignments): 92 * 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.0004564/0.5036, allocations: 267.4 kB / 1.244 GB, free: 8.559 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001336/0.5038, allocations: 86.94 kB / 1.244 GB, free: 8.473 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002388/0.5062, allocations: 1.05 MB / 1.245 GB, free: 7.398 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.5062, allocations: 8 kB / 1.245 GB, free: 7.391 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.846e-06/0.5062, allocations: 0 / 1.245 GB, free: 7.391 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.888e-06/0.5062, allocations: 3.984 kB / 1.245 GB, free: 7.387 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/0.5073, allocations: 0.8917 MB / 1.246 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.5073, allocations: 3.938 kB / 1.246 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005648/0.5079, allocations: 143.8 kB / 1.246 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000555/0.5084, allocations: 80.78 kB / 1.246 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.464e-05/0.5085, allocations: 27.97 kB / 1.246 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001906/0.5104, allocations: 1.555 MB / 1.248 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.5104, allocations: 3.938 kB / 1.248 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002001/0.5124, allocations: 0.9201 MB / 1.248 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004616/0.5129, allocations: 279.7 kB / 1.249 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000128/0.513, allocations: 20 kB / 1.249 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006914/0.5137, allocations: 84.95 kB / 1.249 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001453/0.5139, allocations: 64.91 kB / 1.249 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.269e-05/0.514, allocations: 43.91 kB / 1.249 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006143/0.5146, allocations: 459 kB / 1.249 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5146, allocations: 0 / 1.249 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008583/0.5155, allocations: 323.3 kB / 1.25 GB, free: 2.289 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (89): * Single equations (assignments): 83 * 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.001392/0.5169, allocations: 0.5892 MB / 1.25 GB, free: 1.871 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001762/0.5186, allocations: 0.8275 MB / 1.251 GB, free: 1.031 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.5187, allocations: 0 / 1.251 GB, free: 1.031 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001034/0.5197, allocations: 0.5158 MB / 1.252 GB, free: 0.5039 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001456/0.5212, allocations: 278.7 kB / 1.252 GB, free: 244 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6532/1.174, allocations: 2.098 MB / 1.254 GB, free: 30.24 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00064/1.175, allocations: 1.021 MB / 1.255 GB, free: 29.54 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009616/1.176, allocations: 259.4 kB / 1.255 GB, free: 29.52 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002771/1.176, allocations: 102.2 kB / 1.255 GB, free: 29.52 MB / 0.9981 GB Notification: Performance of SimCode: time 7.02e-07/1.176, allocations: 0 / 1.255 GB, free: 29.52 MB / 0.9981 GB Notification: Performance of Templates: time 0.03069/1.207, allocations: 14.28 MB / 1.269 GB, free: 28.62 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.makefile (rm -f Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & ./Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1)