Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2,fileNamePrefix="IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2,fileNamePrefix="IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse2",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.001479/0.001479, allocations: 99.86 kB / 16.27 MB, free: 5.965 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.001293/0.001293, allocations: 194.7 kB / 17.2 MB, free: 5.594 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.342/1.342, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7598/0.7598, allocations: 122.8 MB / 413.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002272/0.002272, allocations: 63.91 kB / 0.4912 GB, free: 7.344 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3566/0.3589, allocations: 77.93 MB / 0.5673 GB, free: 32.76 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.006883/0.3658, allocations: 5.188 MB / 0.5723 GB, free: 29.07 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1553/0.5211, allocations: 150.7 MB / 0.7195 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001147/0.5223, allocations: 23.81 kB / 0.7195 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008226/0.5231, allocations: 206.1 kB / 0.7197 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002618/0.5258, allocations: 0.5662 MB / 0.7203 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002846/0.5287, allocations: 0.8403 MB / 0.7211 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002042/0.5308, allocations: 1.44 MB / 0.7225 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001032/0.5318, allocations: 0.6035 MB / 0.7231 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009078/0.5327, allocations: 0.4983 MB / 0.7236 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006278/0.5334, allocations: 0.5328 MB / 0.7241 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001734/0.5335, allocations: 120 kB / 0.7242 GB, free: 9.555 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00103/0.5346, allocations: 459.7 kB / 0.7246 GB, free: 9.105 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002635/0.5349, allocations: 303 kB / 0.7249 GB, free: 8.809 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000505/0.5354, allocations: 0.5908 MB / 0.7255 GB, free: 8.215 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001844/0.5372, allocations: 1.655 MB / 0.7271 GB, free: 6.555 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.5372, allocations: 0 / 0.7271 GB, free: 6.555 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5373, allocations: 4 kB / 0.7271 GB, free: 6.551 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.842e-05/0.5373, allocations: 0 / 0.7271 GB, free: 6.551 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.002532/0.5398, allocations: 1.497 MB / 0.7286 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.133e-05/0.5399, allocations: 8.625 kB / 0.7286 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001606/0.54, allocations: 139.7 kB / 0.7287 GB, free: 4.852 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009515/0.541, allocations: 195.3 kB / 0.7289 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001089/0.5421, allocations: 0.7622 MB / 0.7296 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.656e-05/0.5422, allocations: 66 kB / 0.7297 GB, free: 3.793 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/0.5423, allocations: 84 kB / 0.7298 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001547/0.5438, allocations: 0.9535 MB / 0.7307 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.19e-05/0.5439, allocations: 3.938 kB / 0.7307 GB, free: 2.711 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.966e-05/0.544, allocations: 36 kB / 0.7308 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.701e-05/0.544, allocations: 28 kB / 0.7308 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001677/0.5457, allocations: 1.139 MB / 0.7319 GB, free: 1.508 MB / 0.5606 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.004186/0.5499, allocations: 2.813 MB / 0.7346 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001499/0.5514, allocations: 0.8397 MB / 0.7355 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000523/0.5519, allocations: 325.3 kB / 0.7358 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.726e-05/0.552, allocations: 42.72 kB / 0.7358 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008544/0.5529, allocations: 0.5042 MB / 0.7363 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=85): time 2.535e-06/0.5529, allocations: 0 / 0.7363 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85): time 0.003118/0.556, allocations: 1.243 MB / 0.7375 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.534e-05/0.5561, allocations: 188.9 kB / 0.7377 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007514/0.5569, allocations: 0.6567 MB / 0.7383 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.356e-05/0.5569, allocations: 49.64 kB / 0.7384 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002915/0.5572, allocations: 408.4 kB / 0.7388 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001984/0.5574, allocations: 283.9 kB / 0.7391 GB, free: 9.945 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002117/0.5577, allocations: 154.5 kB / 0.7392 GB, free: 9.789 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.5578, allocations: 386.8 kB / 0.7396 GB, free: 9.402 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004886/0.5583, allocations: 257.9 kB / 0.7398 GB, free: 9.148 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005791/0.5589, allocations: 374.5 kB / 0.7402 GB, free: 8.754 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001045/0.5599, allocations: 0.6048 MB / 0.7408 GB, free: 8.137 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.56, allocations: 3.938 kB / 0.7408 GB, free: 8.133 MB / 0.5762 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001814/0.5618, allocations: 0.8292 MB / 0.7416 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.5618, allocations: 8 kB / 0.7416 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.5618, allocations: 0 / 0.7416 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005784/0.5624, allocations: 84.86 kB / 0.7417 GB, free: 7.203 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000639/0.5631, allocations: 163.7 kB / 0.7418 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001942/0.565, allocations: 1.626 MB / 0.7434 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006786/0.5657, allocations: 97.52 kB / 0.7435 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-05/0.5658, allocations: 36.05 kB / 0.7435 GB, free: 5.141 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (92): * Single equations (assignments): 91 * 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.0004061/0.5662, allocations: 273.8 kB / 0.7438 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001582/0.5663, allocations: 82.97 kB / 0.7439 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002279/0.5686, allocations: 1.097 MB / 0.7449 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.687e-06/0.5687, allocations: 12 kB / 0.745 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.5687, allocations: 0 / 0.745 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.378e-06/0.5687, allocations: 7.984 kB / 0.745 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009761/0.5697, allocations: 0.9269 MB / 0.7459 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.5697, allocations: 3.938 kB / 0.7459 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006235/0.5703, allocations: 163.7 kB / 0.746 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004351/0.5707, allocations: 76.78 kB / 0.7461 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.02e-05/0.5708, allocations: 23.98 kB / 0.7461 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001726/0.5725, allocations: 1.658 MB / 0.7477 GB, free: 0.6016 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.5726, allocations: 0 / 0.7477 GB, free: 0.6016 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2938/0.8664, allocations: 1.366 MB / 0.7491 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005441/0.867, allocations: 280.6 kB / 0.7493 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001456/0.8671, allocations: 22.27 kB / 0.7494 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006366/0.8678, allocations: 64.03 kB / 0.7494 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002097/0.868, allocations: 75.66 kB / 0.7495 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.996e-05/0.8681, allocations: 38.12 kB / 0.7495 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007405/0.8688, allocations: 471.5 kB / 0.75 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5.01e-07/0.8688, allocations: 1.438 kB / 0.75 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001068/0.8699, allocations: 332.6 kB / 0.7503 GB, free: 170.5 MB / 0.5762 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 (96): * Single equations (assignments): 90 * 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.004565/0.8745, allocations: 2.41 MB / 0.7527 GB, free: 169.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002753/0.8773, allocations: 1.032 MB / 0.7537 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.8773, allocations: 1.094 kB / 0.7537 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001222/0.8785, allocations: 0.5351 MB / 0.7542 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001504/0.88, allocations: 307.5 kB / 0.7545 GB, free: 168.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01155/0.8916, allocations: 6.777 MB / 0.7611 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006181/0.8922, allocations: 1.034 MB / 0.7621 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00104/0.8933, allocations: 264.1 kB / 0.7624 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000638/0.8939, allocations: 409 kB / 0.7628 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of SimCode: time 3.287e-06/0.8939, allocations: 0 / 0.7628 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0562/0.9501, allocations: 22 MB / 0.7842 GB, free: 150.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/12.18, allocations: 0 / 0.7842 GB, free: 150.2 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.csv --start-time 0 --stop-time 1e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 400 IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse2.fmu > IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1)