Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.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.SimpleHouse3,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3",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.001439/0.001439, allocations: 112.5 kB / 15.73 MB, free: 76 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.001404/0.001404, allocations: 192 kB / 16.67 MB, free: 6.582 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.437/1.437, allocations: 222.9 MB / 240.4 MB, free: 4.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.586/2.586, allocations: 482.6 MB / 0.755 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00169/0.00169, allocations: 71.88 kB / 1.083 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2639/0.2656, allocations: 162.3 MB / 1.242 GB, free: 9.816 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.6402/0.9059, allocations: 166.1 MB / 1.404 GB, free: 9.02 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01092/0.9168, allocations: 7.819 MB / 1.412 GB, free: 2.691 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009209/0.9178, allocations: 35 kB / 1.412 GB, free: 2.68 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0009117/0.9187, allocations: 396.9 kB / 1.412 GB, free: 2.344 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.00284/0.9216, allocations: 1.323 MB / 1.413 GB, free: 1.324 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002346/0.9239, allocations: 1.169 MB / 1.415 GB, free: 440 kB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.002281/0.9262, allocations: 2.362 MB / 1.417 GB, free: 14.99 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001283/0.9275, allocations: 1.191 MB / 1.418 GB, free: 14.2 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009936/0.9285, allocations: 0.8405 MB / 1.419 GB, free: 13.69 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001199/0.9297, allocations: 0.7867 MB / 1.42 GB, free: 13.16 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.000188/0.9299, allocations: 151 kB / 1.42 GB, free: 13.16 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001826/0.9317, allocations: 1.129 MB / 1.421 GB, free: 12.62 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0003705/0.9321, allocations: 436.1 kB / 1.421 GB, free: 12.29 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0006827/0.9328, allocations: 0.7759 MB / 1.422 GB, free: 11.74 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0026/0.9354, allocations: 2.42 MB / 1.424 GB, free: 10.05 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.9354, allocations: 0 / 1.424 GB, free: 10.05 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.152e-06/0.9354, allocations: 0 / 1.424 GB, free: 10.05 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.679e-05/0.9355, allocations: 1.219 kB / 1.424 GB, free: 10.05 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: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.002916/0.9384, allocations: 1.936 MB / 1.426 GB, free: 8.562 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/0.9384, allocations: 10.88 kB / 1.426 GB, free: 8.562 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001832/0.9386, allocations: 170 kB / 1.426 GB, free: 8.422 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001638/0.9403, allocations: 331.6 kB / 1.427 GB, free: 8.266 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001355/0.9416, allocations: 1.03 MB / 1.428 GB, free: 7.453 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.775e-05/0.9417, allocations: 82.44 kB / 1.428 GB, free: 7.414 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001281/0.9418, allocations: 113.1 kB / 1.428 GB, free: 7.375 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001742/0.9436, allocations: 1.169 MB / 1.429 GB, free: 6.613 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.614e-05/0.9436, allocations: 5 kB / 1.429 GB, free: 6.609 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.982e-05/0.9437, allocations: 51.45 kB / 1.429 GB, free: 6.57 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.93e-05/0.9438, allocations: 42.19 kB / 1.429 GB, free: 6.562 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001961/0.9457, allocations: 1.306 MB / 1.43 GB, free: 5.832 MB / 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.004962/0.9507, allocations: 3.891 MB / 1.434 GB, free: 1.715 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001687/0.9524, allocations: 0.9969 MB / 1.435 GB, free: 0.7148 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006312/0.953, allocations: 392.6 kB / 1.436 GB, free: 340 kB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 8.246e-05/0.9531, allocations: 41.02 kB / 1.436 GB, free: 296 kB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009397/0.9541, allocations: 0.5924 MB / 1.436 GB, free: 15.68 MB / 1.139 GB Notification: Performance of pre-optimization done (n=102): time 2.164e-06/0.9541, allocations: 0 / 1.436 GB, free: 15.68 MB / 1.139 GB Notification: Performance of matching and sorting (n=102): time 0.003335/0.9574, allocations: 1.447 MB / 1.438 GB, free: 14.21 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001089/0.9575, allocations: 192.9 kB / 1.438 GB, free: 13.98 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009723/0.9585, allocations: 0.8302 MB / 1.439 GB, free: 13.12 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 6.871e-05/0.9586, allocations: 45.7 kB / 1.439 GB, free: 13.07 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004032/0.959, allocations: 0.5363 MB / 1.439 GB, free: 12.53 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002719/0.9593, allocations: 357 kB / 1.44 GB, free: 12.18 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002651/0.9596, allocations: 182.5 kB / 1.44 GB, free: 11.99 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.9597, allocations: 345.9 kB / 1.44 GB, free: 11.65 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005776/0.9603, allocations: 317.8 kB / 1.44 GB, free: 11.34 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007135/0.961, allocations: 467.7 kB / 1.441 GB, free: 10.84 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001313/0.9623, allocations: 0.7737 MB / 1.442 GB, free: 10.04 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.9623, allocations: 3.938 kB / 1.442 GB, free: 10.03 MB / 1.139 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002074/0.9644, allocations: 1.033 MB / 1.443 GB, free: 8.984 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.9645, allocations: 8 kB / 1.443 GB, free: 8.977 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.9645, allocations: 7.875 kB / 1.443 GB, free: 8.969 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005499/0.965, allocations: 84.91 kB / 1.443 GB, free: 8.883 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007454/0.9658, allocations: 207.7 kB / 1.443 GB, free: 8.68 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001941/0.9677, allocations: 1.64 MB / 1.444 GB, free: 6.895 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000816/0.9686, allocations: 107.9 kB / 1.445 GB, free: 6.789 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.316e-05/0.9686, allocations: 41.55 kB / 1.445 GB, free: 6.75 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (116): * Single equations (assignments): 115 * 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.0004152/0.9691, allocations: 317.7 kB / 1.445 GB, free: 6.43 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000183/0.9693, allocations: 119.2 kB / 1.445 GB, free: 6.312 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002494/0.9718, allocations: 1.245 MB / 1.446 GB, free: 5.051 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.398e-06/0.9718, allocations: 12 kB / 1.446 GB, free: 5.039 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.9718, allocations: 4 kB / 1.446 GB, free: 5.035 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.274e-05/0.9718, allocations: 7.969 kB / 1.446 GB, free: 5.027 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001284/0.9731, allocations: 1.165 MB / 1.447 GB, free: 3.812 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.9731, allocations: 0 / 1.447 GB, free: 3.812 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008022/0.9739, allocations: 207.7 kB / 1.448 GB, free: 3.609 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004163/0.9743, allocations: 76.78 kB / 1.448 GB, free: 3.531 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.416e-05/0.9744, allocations: 27.98 kB / 1.448 GB, free: 3.504 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001771/0.9762, allocations: 1.65 MB / 1.449 GB, free: 1.711 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.9762, allocations: 3.938 kB / 1.449 GB, free: 1.707 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002792/0.979, allocations: 1.575 MB / 1.451 GB, free: 112 kB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004115/0.9794, allocations: 336.1 kB / 1.451 GB, free: 15.76 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001364/0.9796, allocations: 31.98 kB / 1.451 GB, free: 15.73 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007353/0.9803, allocations: 63.94 kB / 1.451 GB, free: 15.66 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001561/0.9805, allocations: 80.88 kB / 1.451 GB, free: 15.59 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-05/0.9806, allocations: 48.03 kB / 1.451 GB, free: 15.54 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0006883/0.9812, allocations: 0.5782 MB / 1.452 GB, free: 14.95 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9813, allocations: 4 kB / 1.452 GB, free: 14.95 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0008692/0.9821, allocations: 438.9 kB / 1.452 GB, free: 14.52 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (walCap.T,zon.dynBal.medium.Xi[1],zon.dynBal.U,zon.dynBal.m) * 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 (113): * Single equations (assignments): 107 * 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.004753/0.9869, allocations: 2.678 MB / 1.455 GB, free: 12 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001715/0.9886, allocations: 0.9682 MB / 1.456 GB, free: 11.02 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.9886, allocations: 3.953 kB / 1.456 GB, free: 11.02 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0009709/0.9896, allocations: 0.5977 MB / 1.457 GB, free: 10.41 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001745/0.9914, allocations: 486 kB / 1.457 GB, free: 9.949 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01192/1.003, allocations: 8.249 MB / 1.465 GB, free: 1.52 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007293/1.004, allocations: 1.15 MB / 1.466 GB, free: 348 kB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0008969/1.005, allocations: 337 kB / 1.466 GB, free: 8 kB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000677/1.006, allocations: 0.511 MB / 1.467 GB, free: 15.49 MB / 1.17 GB Notification: Performance of SimCode: time 5.71e-07/1.006, allocations: 0 / 1.467 GB, free: 15.49 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8087/1.814, allocations: 29.6 MB / 1.496 GB, free: 2.246 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.25/16.06, allocations: 7.969 kB / 1.496 GB, free: 2.242 MB / 1.186 GB (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3_fmu --startTime=0 --stopTime=1e+06 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3.fmu > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1)