Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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: "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006741/0.006741, allocations: 103.1 kB / 15.74 MB, free: 6.059 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.001816/0.001816, allocations: 191.2 kB / 16.67 MB, free: 5.969 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.377/1.377, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.658/2.658, allocations: 482.6 MB / 0.7551 GB, free: 6.605 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 67.92 kB / 1.083 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2789/0.2808, allocations: 162.3 MB / 1.242 GB, free: 8.93 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.006864/0.2877, allocations: 4.931 MB / 1.247 GB, free: 3.977 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.1647/0.4524, allocations: 150.6 MB / 1.394 GB, free: 12.79 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00073/0.4532, allocations: 19.94 kB / 1.394 GB, free: 12.77 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0006553/0.4539, allocations: 190.2 kB / 1.394 GB, free: 12.58 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001798/0.4557, allocations: 0.5546 MB / 1.394 GB, free: 12.02 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001912/0.4576, allocations: 0.8246 MB / 1.395 GB, free: 11.2 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001623/0.4592, allocations: 1.37 MB / 1.397 GB, free: 9.828 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008666/0.4601, allocations: 0.5715 MB / 1.397 GB, free: 9.23 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006541/0.4608, allocations: 486.3 kB / 1.398 GB, free: 8.754 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005909/0.4614, allocations: 0.49 MB / 1.398 GB, free: 8.262 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001666/0.4615, allocations: 112 kB / 1.398 GB, free: 8.152 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008351/0.4624, allocations: 487.6 kB / 1.399 GB, free: 7.676 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0002936/0.4627, allocations: 291 kB / 1.399 GB, free: 7.391 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0005271/0.4632, allocations: 0.5596 MB / 1.399 GB, free: 6.828 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0018/0.465, allocations: 1.619 MB / 1.401 GB, free: 5.203 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.4651, allocations: 0 / 1.401 GB, free: 5.203 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.333e-06/0.4651, allocations: 0 / 1.401 GB, free: 5.203 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.518e-05/0.4651, allocations: 0 / 1.401 GB, free: 5.203 MB / 1.123 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.002394/0.4675, allocations: 1.475 MB / 1.403 GB, free: 3.676 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.4675, allocations: 8.031 kB / 1.403 GB, free: 3.668 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001573/0.4677, allocations: 131.3 kB / 1.403 GB, free: 3.531 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008857/0.4686, allocations: 188.1 kB / 1.403 GB, free: 3.348 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001134/0.4697, allocations: 0.7785 MB / 1.404 GB, free: 2.527 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.801e-05/0.4698, allocations: 58 kB / 1.404 GB, free: 2.469 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/0.4699, allocations: 84 kB / 1.404 GB, free: 2.387 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001566/0.4715, allocations: 0.9036 MB / 1.405 GB, free: 1.441 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/0.4715, allocations: 0 / 1.405 GB, free: 1.441 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.308e-05/0.4716, allocations: 36 kB / 1.405 GB, free: 1.406 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.941e-05/0.4716, allocations: 23.94 kB / 1.405 GB, free: 1.383 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001833/0.4735, allocations: 1.097 MB / 1.406 GB, free: 288 kB / 1.123 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.003949/0.4774, allocations: 2.843 MB / 1.409 GB, free: 13.3 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001531/0.479, allocations: 0.7821 MB / 1.409 GB, free: 12.51 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005497/0.4795, allocations: 294.6 kB / 1.41 GB, free: 12.22 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 7.862e-05/0.4796, allocations: 32.61 kB / 1.41 GB, free: 12.19 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008583/0.4805, allocations: 483.3 kB / 1.41 GB, free: 11.7 MB / 1.139 GB Notification: Performance of pre-optimization done (n=78): time 3.877e-06/0.4805, allocations: 4 kB / 1.41 GB, free: 11.7 MB / 1.139 GB Notification: Performance of matching and sorting (n=78): time 0.003184/0.4837, allocations: 1.182 MB / 1.411 GB, free: 10.49 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001191/0.4838, allocations: 192.6 kB / 1.411 GB, free: 10.25 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007854/0.4846, allocations: 0.6371 MB / 1.412 GB, free: 9.609 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 6.122e-05/0.4847, allocations: 41.7 kB / 1.412 GB, free: 9.562 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003204/0.485, allocations: 401 kB / 1.412 GB, free: 9.164 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002151/0.4852, allocations: 261.8 kB / 1.413 GB, free: 8.906 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002339/0.4855, allocations: 146.6 kB / 1.413 GB, free: 8.758 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001967/0.4857, allocations: 398.6 kB / 1.413 GB, free: 8.359 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005099/0.4862, allocations: 237.9 kB / 1.413 GB, free: 8.129 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006536/0.4868, allocations: 355.4 kB / 1.414 GB, free: 7.75 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001113/0.488, allocations: 0.5768 MB / 1.414 GB, free: 7.164 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.488, allocations: 0 / 1.414 GB, free: 7.164 MB / 1.139 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001892/0.4899, allocations: 0.7984 MB / 1.415 GB, free: 6.355 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.4899, allocations: 12.12 kB / 1.415 GB, free: 6.344 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.4899, allocations: 0 / 1.415 GB, free: 6.344 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005903/0.4905, allocations: 88.7 kB / 1.415 GB, free: 6.254 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005981/0.4911, allocations: 151.8 kB / 1.415 GB, free: 6.105 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002148/0.4933, allocations: 1.629 MB / 1.417 GB, free: 4.336 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006056/0.4939, allocations: 91.55 kB / 1.417 GB, free: 4.246 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.386e-05/0.494, allocations: 31.92 kB / 1.417 GB, free: 4.215 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 (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 (85): * Single equations (assignments): 84 * 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.0003592/0.4943, allocations: 261.6 kB / 1.417 GB, free: 3.949 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001501/0.4945, allocations: 91.66 kB / 1.417 GB, free: 3.859 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002427/0.4969, allocations: 1.054 MB / 1.418 GB, free: 2.785 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/0.4969, allocations: 8 kB / 1.418 GB, free: 2.777 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.497, allocations: 7.938 kB / 1.418 GB, free: 2.77 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.497, allocations: 3.984 kB / 1.418 GB, free: 2.766 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001022/0.498, allocations: 0.8919 MB / 1.419 GB, free: 1.824 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.498, allocations: 3.938 kB / 1.419 GB, free: 1.82 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005735/0.4986, allocations: 139.8 kB / 1.419 GB, free: 1.684 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004413/0.499, allocations: 68.8 kB / 1.42 GB, free: 1.613 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-05/0.4991, allocations: 27.97 kB / 1.42 GB, free: 1.586 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001994/0.5011, allocations: 1.662 MB / 1.421 GB, free: 15.78 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.5011, allocations: 0 / 1.421 GB, free: 15.78 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002/0.5031, allocations: 0.9166 MB / 1.422 GB, free: 14.84 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003391/0.5035, allocations: 276.2 kB / 1.422 GB, free: 14.55 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001121/0.5036, allocations: 16 kB / 1.422 GB, free: 14.54 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006064/0.5042, allocations: 68 kB / 1.422 GB, free: 14.47 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000151/0.5044, allocations: 72.83 kB / 1.422 GB, free: 14.4 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.012e-05/0.5045, allocations: 35.98 kB / 1.423 GB, free: 14.37 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0005739/0.505, allocations: 463 kB / 1.423 GB, free: 13.92 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.7e-07/0.505, allocations: 0 / 1.423 GB, free: 13.92 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0007108/0.5058, allocations: 315.2 kB / 1.423 GB, free: 13.61 MB / 1.154 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.004053/0.5098, allocations: 1.975 MB / 1.425 GB, free: 11.78 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001641/0.5115, allocations: 0.7846 MB / 1.426 GB, free: 10.99 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.5115, allocations: 0 / 1.426 GB, free: 10.99 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0009678/0.5125, allocations: 0.5119 MB / 1.426 GB, free: 10.46 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001146/0.5136, allocations: 300.3 kB / 1.427 GB, free: 10.2 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009989/0.5236, allocations: 6.174 MB / 1.433 GB, free: 3.891 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006489/0.5243, allocations: 1.019 MB / 1.434 GB, free: 2.848 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0007263/0.525, allocations: 262.6 kB / 1.434 GB, free: 2.586 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005653/0.5256, allocations: 391.3 kB / 1.434 GB, free: 2.203 MB / 1.154 GB Notification: Performance of SimCode: time 3.5e-07/0.5256, allocations: 4 kB / 1.434 GB, free: 2.199 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5797/1.105, allocations: 21.46 MB / 1.455 GB, free: 13 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.18/14.28, allocations: 7.906 kB / 1.455 GB, free: 13 MB / 1.186 GB (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0_fmu --startTime=0 --stopTime=1e+06 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0.fmu > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1)