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.001442/0.001442, allocations: 110.2 kB / 16.41 MB, free: 6.492 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.001386/0.001386, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.452/1.452, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8306/0.8306, allocations: 126.7 MB / 417.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001852/0.001852, allocations: 71.61 kB / 0.5735 GB, free: 27.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1656, allocations: 78.87 MB / 0.6505 GB, free: 3.629 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.007841/0.1735, allocations: 4.9 MB / 0.6553 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5756/0.7492, allocations: 150.6 MB / 0.8024 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008405/0.7501, allocations: 15.34 kB / 0.8024 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006017/0.7508, allocations: 193.9 kB / 0.8026 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001713/0.7525, allocations: 0.5477 MB / 0.8031 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001772/0.7543, allocations: 0.8228 MB / 0.8039 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001509/0.7558, allocations: 1.375 MB / 0.8052 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008189/0.7566, allocations: 0.5863 MB / 0.8058 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000693/0.7573, allocations: 475.1 kB / 0.8063 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005191/0.7578, allocations: 0.4948 MB / 0.8068 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001381/0.758, allocations: 112.2 kB / 0.8069 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009042/0.7589, allocations: 487.8 kB / 0.8073 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002518/0.7592, allocations: 287.3 kB / 0.8076 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005096/0.7597, allocations: 0.5521 MB / 0.8081 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001912/0.7616, allocations: 1.636 MB / 0.8097 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.7616, allocations: 0 / 0.8097 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.583e-06/0.7616, allocations: 0 / 0.8097 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.599e-05/0.7617, allocations: 0 / 0.8097 GB, free: 10.96 MB / 0.5919 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.002714/0.7644, allocations: 1.472 MB / 0.8112 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.7644, allocations: 9.656 kB / 0.8112 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001607/0.7646, allocations: 133.5 kB / 0.8113 GB, free: 9.984 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009592/0.7656, allocations: 191.5 kB / 0.8115 GB, free: 9.891 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001223/0.7668, allocations: 0.7723 MB / 0.8122 GB, free: 9.41 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.999e-05/0.7669, allocations: 64.78 kB / 0.8123 GB, free: 9.41 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.962e-05/0.767, allocations: 76.44 kB / 0.8124 GB, free: 9.41 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001426/0.7684, allocations: 0.9099 MB / 0.8133 GB, free: 9.082 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.105e-05/0.7684, allocations: 0 / 0.8133 GB, free: 9.082 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.968e-05/0.7685, allocations: 41.89 kB / 0.8133 GB, free: 9.078 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.725e-05/0.7685, allocations: 19.59 kB / 0.8133 GB, free: 9.078 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001689/0.7702, allocations: 1.096 MB / 0.8144 GB, free: 8.793 MB / 0.5919 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.004313/0.7746, allocations: 2.828 MB / 0.8172 GB, free: 6.961 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00147/0.776, allocations: 0.7818 MB / 0.8179 GB, free: 6.57 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005329/0.7766, allocations: 295.6 kB / 0.8182 GB, free: 6.418 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.71e-05/0.7767, allocations: 39.44 kB / 0.8182 GB, free: 6.402 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009121/0.7776, allocations: 491.6 kB / 0.8187 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=78): time 2.976e-06/0.7776, allocations: 0 / 0.8187 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of matching and sorting (n=78): time 0.003276/0.7809, allocations: 1.177 MB / 0.8199 GB, free: 5.453 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001328/0.781, allocations: 188.5 kB / 0.82 GB, free: 5.234 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008481/0.7819, allocations: 0.6364 MB / 0.8207 GB, free: 4.867 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.789e-05/0.782, allocations: 42.48 kB / 0.8207 GB, free: 4.824 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003672/0.7824, allocations: 407.3 kB / 0.8211 GB, free: 4.469 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002426/0.7826, allocations: 265.6 kB / 0.8213 GB, free: 4.242 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002349/0.7829, allocations: 149.4 kB / 0.8215 GB, free: 4.152 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002056/0.7831, allocations: 388.2 kB / 0.8219 GB, free: 3.781 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004879/0.7836, allocations: 238 kB / 0.8221 GB, free: 3.668 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006094/0.7842, allocations: 368.9 kB / 0.8224 GB, free: 3.422 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001075/0.7853, allocations: 0.5803 MB / 0.823 GB, free: 3.102 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.7853, allocations: 0 / 0.823 GB, free: 3.102 MB / 0.5919 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001959/0.7872, allocations: 0.7943 MB / 0.8238 GB, free: 2.688 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.7873, allocations: 5 kB / 0.8238 GB, free: 2.688 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.7873, allocations: 6.469 kB / 0.8238 GB, free: 2.688 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006068/0.7879, allocations: 86.11 kB / 0.8239 GB, free: 2.645 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005869/0.7885, allocations: 147.2 kB / 0.824 GB, free: 2.609 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002216/0.7907, allocations: 1.632 MB / 0.8256 GB, free: 1.004 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007597/0.7915, allocations: 91 kB / 0.8257 GB, free: 0.9453 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.866e-05/0.7916, allocations: 28.45 kB / 0.8257 GB, free: 0.9375 MB / 0.5919 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.0004962/0.7921, allocations: 269.9 kB / 0.826 GB, free: 0.7227 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001902/0.7923, allocations: 88.5 kB / 0.8261 GB, free: 0.6758 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002417/0.7947, allocations: 1.049 MB / 0.8271 GB, free: 84 kB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.7947, allocations: 8.094 kB / 0.8271 GB, free: 84 kB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.7947, allocations: 2.625 kB / 0.8271 GB, free: 84 kB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.323e-05/0.7947, allocations: 7.922 kB / 0.8271 GB, free: 76 kB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001241/0.796, allocations: 0.8916 MB / 0.828 GB, free: 15.42 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.796, allocations: 0 / 0.828 GB, free: 15.42 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005579/0.7966, allocations: 143.8 kB / 0.8281 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004609/0.797, allocations: 70.28 kB / 0.8282 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.461e-05/0.7971, allocations: 23.73 kB / 0.8282 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002053/0.7992, allocations: 1.66 MB / 0.8298 GB, free: 13.72 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.7992, allocations: 0 / 0.8298 GB, free: 13.72 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001993/0.8012, allocations: 0.9199 MB / 0.8307 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004112/0.8016, allocations: 272.1 kB / 0.831 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000125/0.8018, allocations: 20.81 kB / 0.831 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006168/0.8024, allocations: 62.31 kB / 0.8311 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001685/0.8026, allocations: 69.55 kB / 0.8311 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-05/0.8026, allocations: 34.58 kB / 0.8312 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006038/0.8032, allocations: 467.7 kB / 0.8316 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.81e-07/0.8033, allocations: 0 / 0.8316 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008505/0.8041, allocations: 322.9 kB / 0.8319 GB, free: 12.52 MB / 0.6075 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.004399/0.8085, allocations: 1.954 MB / 0.8338 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002135/0.8107, allocations: 0.7942 MB / 0.8346 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/0.8107, allocations: 0 / 0.8346 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001053/0.8118, allocations: 0.5176 MB / 0.8351 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001433/0.8132, allocations: 304.9 kB / 0.8354 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01114/0.8244, allocations: 6.166 MB / 0.8414 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007149/0.8251, allocations: 1.023 MB / 0.8424 GB, free: 4.738 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009238/0.8261, allocations: 258.7 kB / 0.8427 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006043/0.8267, allocations: 391.3 kB / 0.843 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of SimCode: time 8.92e-07/0.8267, allocations: 0 / 0.843 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0741/0.9008, allocations: 21.44 MB / 0.864 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.4/14.3, allocations: 8.062 kB / 0.864 GB, free: 14.9 MB / 0.6387 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)