Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0,fileNamePrefix="BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0,fileNamePrefix="BuildingSystems_BuildingSystems_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.007227/0.007227, allocations: 98.25 kB / 15.73 MB, free: 6.445 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.001971/0.001971, allocations: 196.8 kB / 16.68 MB, free: 6.352 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.518/1.518, allocations: 222.9 MB / 240.4 MB, free: 4.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002786/0.002786, allocations: 286.5 kB / 290.8 MB, free: 1.875 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.076/1.076, allocations: 178.6 MB / 0.5074 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002998/0.002998, allocations: 99.78 kB / 0.6943 GB, free: 3.609 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5866/0.5896, allocations: 89.14 MB / 0.7813 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.007347/0.597, allocations: 4.918 MB / 0.7861 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.1994/0.7965, allocations: 150.6 MB / 0.9332 GB, free: 3.148 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001659/0.7982, allocations: 19.94 kB / 0.9332 GB, free: 3.129 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001267/0.7996, allocations: 190.2 kB / 0.9334 GB, free: 2.941 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.003134/0.8027, allocations: 0.5428 MB / 0.9339 GB, free: 2.398 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003147/0.8059, allocations: 0.8355 MB / 0.9347 GB, free: 1.57 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.002377/0.8083, allocations: 1.362 MB / 0.9361 GB, free: 208 kB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001217/0.8095, allocations: 0.5832 MB / 0.9366 GB, free: 15.59 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009259/0.8104, allocations: 482.3 kB / 0.9371 GB, free: 15.12 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009582/0.8114, allocations: 497.8 kB / 0.9376 GB, free: 14.63 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0003707/0.8118, allocations: 116 kB / 0.9377 GB, free: 14.52 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001587/0.8134, allocations: 479.6 kB / 0.9381 GB, free: 14.05 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0005225/0.8139, allocations: 299 kB / 0.9384 GB, free: 13.76 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.00112/0.8151, allocations: 0.5519 MB / 0.9389 GB, free: 13.2 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.003199/0.8183, allocations: 1.628 MB / 0.9405 GB, free: 11.57 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.8183, allocations: 0 / 0.9405 GB, free: 11.57 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.914e-06/0.8183, allocations: 0 / 0.9405 GB, free: 11.57 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 5.85e-05/0.8184, allocations: 4 kB / 0.9405 GB, free: 11.57 MB / 0.7012 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.003694/0.8221, allocations: 1.467 MB / 0.942 GB, free: 10.05 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.8221, allocations: 12.03 kB / 0.942 GB, free: 10.04 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002485/0.8224, allocations: 131.3 kB / 0.9421 GB, free: 9.898 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001084/0.8235, allocations: 188.1 kB / 0.9423 GB, free: 9.715 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001397/0.8249, allocations: 0.7823 MB / 0.9431 GB, free: 8.891 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.239e-05/0.825, allocations: 58 kB / 0.9431 GB, free: 8.836 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001315/0.8251, allocations: 83.94 kB / 0.9432 GB, free: 8.754 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001796/0.8269, allocations: 0.9075 MB / 0.9441 GB, free: 7.801 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.484e-05/0.8269, allocations: 4 kB / 0.9441 GB, free: 7.797 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.878e-05/0.827, allocations: 32 kB / 0.9441 GB, free: 7.766 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.036e-05/0.8271, allocations: 20 kB / 0.9441 GB, free: 7.746 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001908/0.829, allocations: 1.104 MB / 0.9452 GB, free: 6.645 MB / 0.7012 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.004568/0.8336, allocations: 2.749 MB / 0.9479 GB, free: 3.77 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001585/0.8352, allocations: 0.7854 MB / 0.9487 GB, free: 2.977 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005797/0.8358, allocations: 298.7 kB / 0.9489 GB, free: 2.684 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 7.697e-05/0.8358, allocations: 24.61 kB / 0.949 GB, free: 2.66 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009003/0.8368, allocations: 491.8 kB / 0.9494 GB, free: 2.16 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=78): time 2.635e-06/0.8368, allocations: 0 / 0.9494 GB, free: 2.16 MB / 0.7012 GB Notification: Performance of matching and sorting (n=78): time 0.003391/0.8402, allocations: 1.179 MB / 0.9506 GB, free: 0.957 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001339/0.8403, allocations: 196.6 kB / 0.9508 GB, free: 0.7188 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009615/0.8413, allocations: 0.6371 MB / 0.9514 GB, free: 76 kB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.091e-05/0.8414, allocations: 41.7 kB / 0.9514 GB, free: 28 kB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004208/0.8418, allocations: 397 kB / 0.9518 GB, free: 15.63 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002563/0.8421, allocations: 269.7 kB / 0.9521 GB, free: 15.37 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002556/0.8423, allocations: 142.6 kB / 0.9522 GB, free: 15.22 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0002164/0.8426, allocations: 394.7 kB / 0.9526 GB, free: 14.82 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005276/0.8431, allocations: 241.9 kB / 0.9528 GB, free: 14.59 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006801/0.8438, allocations: 359.4 kB / 0.9532 GB, free: 14.21 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001163/0.845, allocations: 0.5807 MB / 0.9537 GB, free: 13.62 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.845, allocations: 0 / 0.9537 GB, free: 13.62 MB / 0.7169 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002034/0.847, allocations: 0.8023 MB / 0.9545 GB, free: 12.8 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.847, allocations: 10 kB / 0.9545 GB, free: 12.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.8471, allocations: 4 kB / 0.9545 GB, free: 12.79 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006421/0.8477, allocations: 88.7 kB / 0.9546 GB, free: 12.7 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006183/0.8483, allocations: 143.8 kB / 0.9547 GB, free: 12.56 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002461/0.8508, allocations: 1.626 MB / 0.9563 GB, free: 10.79 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008716/0.8517, allocations: 87.45 kB / 0.9564 GB, free: 10.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001087/0.8518, allocations: 35.97 kB / 0.9564 GB, free: 10.67 MB / 0.7169 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.0006961/0.8525, allocations: 265.8 kB / 0.9567 GB, free: 10.4 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003469/0.8529, allocations: 91.44 kB / 0.9568 GB, free: 10.31 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002715/0.8556, allocations: 1.05 MB / 0.9578 GB, free: 9.238 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.435e-05/0.8557, allocations: 11.94 kB / 0.9578 GB, free: 9.227 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-06/0.8557, allocations: 3.938 kB / 0.9578 GB, free: 9.223 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/0.8557, allocations: 3.984 kB / 0.9578 GB, free: 9.219 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001501/0.8572, allocations: 0.8958 MB / 0.9587 GB, free: 8.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/0.8572, allocations: 0 / 0.9587 GB, free: 8.273 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005812/0.8578, allocations: 139.8 kB / 0.9588 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004726/0.8583, allocations: 72.8 kB / 0.9589 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.778e-05/0.8584, allocations: 27.97 kB / 0.9589 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002159/0.8605, allocations: 1.654 MB / 0.9606 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/0.8606, allocations: 8 kB / 0.9606 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00216/0.8627, allocations: 0.9166 MB / 0.9615 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000497/0.8632, allocations: 272.2 kB / 0.9617 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001985/0.8634, allocations: 16 kB / 0.9617 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006941/0.8641, allocations: 63.94 kB / 0.9618 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001988/0.8644, allocations: 80.77 kB / 0.9619 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.034e-05/0.8644, allocations: 27.98 kB / 0.9619 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00076/0.8652, allocations: 463 kB / 0.9623 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8652, allocations: 0 / 0.9623 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001002/0.8662, allocations: 319.1 kB / 0.9626 GB, free: 4.062 MB / 0.7169 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.004628/0.8709, allocations: 1.967 MB / 0.9646 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001919/0.8728, allocations: 0.7807 MB / 0.9653 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.722e-06/0.8728, allocations: 4 kB / 0.9653 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001018/0.8739, allocations: 0.5157 MB / 0.9658 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001444/0.8753, allocations: 306.7 kB / 0.9661 GB, free: 0.6523 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01156/0.8869, allocations: 6.171 MB / 0.9722 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009011/0.8878, allocations: 1.019 MB / 0.9731 GB, free: 9.316 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0009812/0.8888, allocations: 262.7 kB / 0.9734 GB, free: 9.055 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007272/0.8896, allocations: 395.2 kB / 0.9738 GB, free: 8.668 MB / 0.7325 GB Notification: Performance of SimCode: time 1.042e-06/0.8896, allocations: 0 / 0.9738 GB, free: 8.668 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06003/0.9496, allocations: 21.48 MB / 0.9947 GB, free: 3.5 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.99/13.94, allocations: 8 kB / 0.9948 GB, free: 3.492 MB / 0.7481 GB (rm -f BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse0.fmu > BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1)