Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.SimpleHouse0,fileNamePrefix="IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse0,fileNamePrefix="IBPSA_latest_IBPSA_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.001558/0.001558, allocations: 105.2 kB / 16.27 MB, free: 5.953 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.001687/0.001687, allocations: 189.1 kB / 17.19 MB, free: 5.59 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.282/1.282, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7367/0.7367, allocations: 122.9 MB / 413.9 MB, free: 15.92 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 71.89 kB / 0.4912 GB, free: 7.371 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.3404, allocations: 77.91 MB / 0.5673 GB, free: 32.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.005613/0.346, allocations: 4.893 MB / 0.572 GB, free: 29.15 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1531/0.4992, allocations: 150.6 MB / 0.7191 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001372/0.5006, allocations: 19.88 kB / 0.7191 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009597/0.5015, allocations: 190.2 kB / 0.7193 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002755/0.5044, allocations: 0.5467 MB / 0.7198 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002758/0.5072, allocations: 0.822 MB / 0.7206 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001758/0.5089, allocations: 1.37 MB / 0.722 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00104/0.51, allocations: 0.5715 MB / 0.7225 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008832/0.5109, allocations: 482.3 kB / 0.723 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000729/0.5116, allocations: 0.494 MB / 0.7235 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002663/0.5119, allocations: 112 kB / 0.7236 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009922/0.5129, allocations: 459.6 kB / 0.724 GB, free: 9.746 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003219/0.5132, allocations: 291.1 kB / 0.7243 GB, free: 9.461 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006583/0.5139, allocations: 0.5558 MB / 0.7249 GB, free: 8.902 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002145/0.5161, allocations: 1.585 MB / 0.7264 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.5161, allocations: 0 / 0.7264 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5161, allocations: 0 / 0.7264 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.736e-05/0.5161, allocations: 4 kB / 0.7264 GB, free: 7.309 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.002891/0.519, allocations: 1.43 MB / 0.7278 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.5191, allocations: 12.03 kB / 0.7278 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001766/0.5193, allocations: 131.3 kB / 0.7279 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009526/0.5202, allocations: 191.4 kB / 0.7281 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00102/0.5213, allocations: 0.7389 MB / 0.7288 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.951e-05/0.5213, allocations: 62 kB / 0.7289 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.858e-05/0.5214, allocations: 80 kB / 0.729 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00141/0.5228, allocations: 0.9098 MB / 0.7299 GB, free: 3.621 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.5229, allocations: 3.938 kB / 0.7299 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.788e-05/0.523, allocations: 43.98 kB / 0.7299 GB, free: 3.574 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.602e-05/0.523, allocations: 20 kB / 0.7299 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001658/0.5246, allocations: 1.093 MB / 0.731 GB, free: 2.461 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.003816/0.5285, allocations: 2.779 MB / 0.7337 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00137/0.5298, allocations: 0.7768 MB / 0.7345 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004916/0.5304, allocations: 294.7 kB / 0.7348 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.985e-05/0.5304, allocations: 32.59 kB / 0.7348 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008024/0.5312, allocations: 491.1 kB / 0.7352 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=78): time 2.294e-06/0.5313, allocations: 0 / 0.7352 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of matching and sorting (n=78): time 0.003101/0.5344, allocations: 1.174 MB / 0.7364 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.869e-05/0.5345, allocations: 188.6 kB / 0.7366 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008168/0.5353, allocations: 0.6294 MB / 0.7372 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.705e-05/0.5354, allocations: 41.7 kB / 0.7372 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003167/0.5357, allocations: 404.2 kB / 0.7376 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002055/0.5359, allocations: 256.3 kB / 0.7379 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002155/0.5361, allocations: 146.5 kB / 0.738 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001625/0.5363, allocations: 390.7 kB / 0.7384 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000491/0.5368, allocations: 241.9 kB / 0.7386 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005802/0.5374, allocations: 359.4 kB / 0.7389 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001036/0.5384, allocations: 0.5807 MB / 0.7395 GB, free: 9.434 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.5384, allocations: 64 / 0.7395 GB, free: 9.434 MB / 0.5762 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001865/0.5403, allocations: 0.7941 MB / 0.7403 GB, free: 8.629 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.5403, allocations: 4 kB / 0.7403 GB, free: 8.625 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.5404, allocations: 4 kB / 0.7403 GB, free: 8.621 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005923/0.541, allocations: 92.83 kB / 0.7404 GB, free: 8.527 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005804/0.5415, allocations: 143.8 kB / 0.7405 GB, free: 8.387 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002015/0.5436, allocations: 1.632 MB / 0.7421 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006476/0.5442, allocations: 91.38 kB / 0.7422 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.788e-05/0.5443, allocations: 31.97 kB / 0.7422 GB, free: 6.488 MB / 0.5762 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.00037/0.5447, allocations: 262.4 kB / 0.7425 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001678/0.5449, allocations: 91.14 kB / 0.7426 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002309/0.5472, allocations: 1.054 MB / 0.7436 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.697e-06/0.5472, allocations: 8 kB / 0.7436 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.5472, allocations: 3.938 kB / 0.7436 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.838e-06/0.5472, allocations: 3.984 kB / 0.7436 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00099/0.5482, allocations: 0.8841 MB / 0.7445 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.193e-06/0.5482, allocations: 8 kB / 0.7445 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005442/0.5488, allocations: 139.8 kB / 0.7446 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000443/0.5492, allocations: 76.78 kB / 0.7447 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.007e-05/0.5493, allocations: 23.98 kB / 0.7447 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001807/0.5511, allocations: 1.666 MB / 0.7463 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.5511, allocations: 0 / 0.7463 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001912/0.5531, allocations: 0.9122 MB / 0.7472 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003529/0.5534, allocations: 275.7 kB / 0.7475 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001329/0.5536, allocations: 16 kB / 0.7475 GB, free: 0.8086 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000641/0.5542, allocations: 69.95 kB / 0.7476 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001392/0.5544, allocations: 68.84 kB / 0.7476 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.785e-05/0.5544, allocations: 31.98 kB / 0.7477 GB, free: 0.6445 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005634/0.555, allocations: 459 kB / 0.7481 GB, free: 208 kB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.555, allocations: 0 / 0.7481 GB, free: 208 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.2784/0.8334, allocations: 313.7 kB / 0.7484 GB, free: 170.9 MB / 0.5762 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.003769/0.8373, allocations: 1.943 MB / 0.7503 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002344/0.8396, allocations: 0.9869 MB / 0.7513 GB, free: 170 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.8396, allocations: 0.7812 kB / 0.7513 GB, free: 170 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009295/0.8406, allocations: 0.5179 MB / 0.7518 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001228/0.8418, allocations: 306.2 kB / 0.7521 GB, free: 169.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01004/0.8519, allocations: 6.379 MB / 0.7583 GB, free: 166.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004872/0.8524, allocations: 1.02 MB / 0.7593 GB, free: 165.7 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008656/0.8532, allocations: 263.7 kB / 0.7595 GB, free: 165.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004521/0.8537, allocations: 387.4 kB / 0.7599 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of SimCode: time 8.32e-07/0.8537, allocations: 1.375 kB / 0.7599 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0469/0.9006, allocations: 21.21 MB / 0.7806 GB, free: 154 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/12.09, allocations: 1.875 kB / 0.7806 GB, free: 154 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse0_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_SimpleHouse0.fmu > IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1)