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.00123/0.00123, allocations: 108 kB / 15.6 MB, free: 132 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.001198/0.001198, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.367/1.367, allocations: 222.9 MB / 240.2 MB, free: 4.246 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002358/0.002358, allocations: 290.1 kB / 290.7 MB, free: 1.852 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.027/1.027, allocations: 178.6 MB / 0.5073 GB, free: 4.527 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002671/0.002671, allocations: 97.08 kB / 0.6065 GB, free: 24.72 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.1647, allocations: 89.14 MB / 0.6936 GB, free: 4.219 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.006745/0.1715, allocations: 4.92 MB / 0.6984 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4607/0.6322, allocations: 150.6 MB / 0.8454 GB, free: 7.223 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007253/0.633, allocations: 18.88 kB / 0.8455 GB, free: 7.215 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005347/0.6336, allocations: 192.2 kB / 0.8456 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001531/0.6351, allocations: 0.5484 MB / 0.8462 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001744/0.6369, allocations: 0.8156 MB / 0.847 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001349/0.6382, allocations: 1.367 MB / 0.8483 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008019/0.639, allocations: 0.5715 MB / 0.8489 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006106/0.6397, allocations: 480.5 kB / 0.8493 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005489/0.6402, allocations: 0.5002 MB / 0.8498 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000128/0.6404, allocations: 113.3 kB / 0.8499 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007896/0.6412, allocations: 455.3 kB / 0.8504 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002621/0.6414, allocations: 300.3 kB / 0.8506 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004636/0.6419, allocations: 0.5544 MB / 0.8512 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001652/0.6436, allocations: 1.571 MB / 0.8527 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.6436, allocations: 0 / 0.8527 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.773e-06/0.6436, allocations: 0 / 0.8527 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.461e-05/0.6436, allocations: 2.688 kB / 0.8527 GB, free: 2.312 MB / 0.5762 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.002386/0.646, allocations: 1.429 MB / 0.8541 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.646, allocations: 9.688 kB / 0.8541 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001576/0.6462, allocations: 135.4 kB / 0.8543 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008566/0.6471, allocations: 184.1 kB / 0.8544 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001/0.6481, allocations: 0.7425 MB / 0.8552 GB, free: 380 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.919e-05/0.6481, allocations: 69.05 kB / 0.8552 GB, free: 348 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.155e-05/0.6482, allocations: 77.03 kB / 0.8553 GB, free: 324 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001416/0.6497, allocations: 0.9091 MB / 0.8562 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/0.6497, allocations: 0 / 0.8562 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.789e-05/0.6498, allocations: 35.5 kB / 0.8562 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.689e-05/0.6498, allocations: 20 kB / 0.8562 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001604/0.6514, allocations: 1.097 MB / 0.8573 GB, free: 15.17 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.003985/0.6554, allocations: 2.788 MB / 0.86 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00142/0.6568, allocations: 0.7825 MB / 0.8608 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005144/0.6574, allocations: 301.7 kB / 0.8611 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.678e-05/0.6575, allocations: 33.39 kB / 0.8611 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008931/0.6584, allocations: 479.7 kB / 0.8616 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=78): time 2.304e-06/0.6584, allocations: 0 / 0.8616 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of matching and sorting (n=78): time 0.003176/0.6616, allocations: 1.178 MB / 0.8627 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001662/0.6617, allocations: 188.5 kB / 0.8629 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000756/0.6625, allocations: 0.6364 MB / 0.8635 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.7e-05/0.6626, allocations: 42.48 kB / 0.8636 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003259/0.6629, allocations: 402.3 kB / 0.8639 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002092/0.6631, allocations: 250.5 kB / 0.8642 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002134/0.6633, allocations: 143 kB / 0.8643 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001956/0.6635, allocations: 388.7 kB / 0.8647 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004545/0.664, allocations: 246.5 kB / 0.8649 GB, free: 9.621 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005897/0.6646, allocations: 361.9 kB / 0.8653 GB, free: 9.391 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001022/0.6656, allocations: 0.5815 MB / 0.8658 GB, free: 9.066 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.6656, allocations: 0 / 0.8658 GB, free: 9.066 MB / 0.5919 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001821/0.6675, allocations: 0.7985 MB / 0.8666 GB, free: 8.652 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.6675, allocations: 7 kB / 0.8666 GB, free: 8.652 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.6675, allocations: 1.562 kB / 0.8666 GB, free: 8.652 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005902/0.6681, allocations: 79.81 kB / 0.8667 GB, free: 8.613 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005585/0.6687, allocations: 146.5 kB / 0.8668 GB, free: 8.578 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002426/0.6711, allocations: 1.648 MB / 0.8685 GB, free: 6.957 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007867/0.6719, allocations: 85.55 kB / 0.8685 GB, free: 6.902 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.869e-05/0.672, allocations: 27.86 kB / 0.8686 GB, free: 6.895 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.0005029/0.6725, allocations: 266.1 kB / 0.8688 GB, free: 6.684 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001691/0.6727, allocations: 87.09 kB / 0.8689 GB, free: 6.637 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002373/0.6751, allocations: 1.045 MB / 0.8699 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.296e-05/0.6751, allocations: 14.11 kB / 0.8699 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.6751, allocations: 0 / 0.8699 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.361e-05/0.6751, allocations: 7.922 kB / 0.8699 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001154/0.6763, allocations: 0.8873 MB / 0.8708 GB, free: 5.281 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.6763, allocations: 0 / 0.8708 GB, free: 5.281 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000537/0.6768, allocations: 139.8 kB / 0.8709 GB, free: 5.145 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004345/0.6773, allocations: 76.78 kB / 0.871 GB, free: 5.066 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.537e-05/0.6773, allocations: 23.98 kB / 0.871 GB, free: 5.043 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00203/0.6794, allocations: 1.658 MB / 0.8727 GB, free: 3.242 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.6794, allocations: 4.031 kB / 0.8727 GB, free: 3.238 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001991/0.6814, allocations: 0.916 MB / 0.8736 GB, free: 2.297 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004019/0.6818, allocations: 267.8 kB / 0.8738 GB, free: 2.016 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001237/0.6819, allocations: 31.89 kB / 0.8738 GB, free: 1.984 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000604/0.6825, allocations: 60.92 kB / 0.8739 GB, free: 1.926 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000148/0.6827, allocations: 64.91 kB / 0.874 GB, free: 1.863 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.78e-05/0.6828, allocations: 35.97 kB / 0.874 GB, free: 1.828 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005915/0.6834, allocations: 463 kB / 0.8744 GB, free: 1.383 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2e-07/0.6834, allocations: 3.844 kB / 0.8744 GB, free: 1.383 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008258/0.6842, allocations: 319.3 kB / 0.8747 GB, free: 1.07 MB / 0.5919 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.003971/0.6882, allocations: 1.965 MB / 0.8767 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002265/0.6905, allocations: 0.9846 MB / 0.8776 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.6905, allocations: 0 / 0.8776 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009213/0.6914, allocations: 0.5042 MB / 0.8781 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001177/0.6926, allocations: 299.2 kB / 0.8784 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01006/0.7027, allocations: 6.363 MB / 0.8846 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006507/0.7034, allocations: 1.015 MB / 0.8856 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008564/0.7042, allocations: 274.6 kB / 0.8859 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005334/0.7048, allocations: 387.3 kB / 0.8862 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of SimCode: time 9.11e-07/0.7048, allocations: 0 / 0.8862 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05767/0.7624, allocations: 21.27 MB / 0.907 GB, free: 400 kB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/12.37, allocations: 9.531 kB / 0.907 GB, free: 396 kB / 0.6231 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)