Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.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.SimpleHouse1,fileNamePrefix="BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1,fileNamePrefix="BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse1",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.007742/0.007742, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001259/0.001259, allocations: 195.2 kB / 16.67 MB, free: 5.977 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.554/1.554, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002506/0.002507, allocations: 278.9 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.113/1.113, allocations: 178.6 MB / 0.5074 GB, free: 4.488 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002733/0.002733, allocations: 99.84 kB / 0.6943 GB, free: 3.633 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5329/0.5356, allocations: 89.13 MB / 0.7813 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.007767/0.5434, allocations: 5.117 MB / 0.7863 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.179/0.7225, allocations: 150.6 MB / 0.9334 GB, free: 3.016 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009578/0.7235, allocations: 23.81 kB / 0.9334 GB, free: 2.992 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0006151/0.7242, allocations: 190.2 kB / 0.9336 GB, free: 2.805 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002058/0.7262, allocations: 0.5584 MB / 0.9342 GB, free: 2.246 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002187/0.7284, allocations: 0.8431 MB / 0.935 GB, free: 1.41 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001655/0.7301, allocations: 1.42 MB / 0.9364 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008648/0.731, allocations: 0.5991 MB / 0.937 GB, free: 15.36 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000665/0.7316, allocations: 498.2 kB / 0.9374 GB, free: 14.87 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006302/0.7323, allocations: 0.5134 MB / 0.9379 GB, free: 14.36 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001694/0.7325, allocations: 116 kB / 0.938 GB, free: 14.24 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001002/0.7335, allocations: 495.5 kB / 0.9385 GB, free: 13.76 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0002859/0.7338, allocations: 299 kB / 0.9388 GB, free: 13.46 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0005501/0.7343, allocations: 0.5791 MB / 0.9394 GB, free: 12.88 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.00205/0.7364, allocations: 1.671 MB / 0.941 GB, free: 11.21 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.7364, allocations: 0 / 0.941 GB, free: 11.21 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.664e-06/0.7364, allocations: 0 / 0.941 GB, free: 11.21 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.488e-05/0.7364, allocations: 0 / 0.941 GB, free: 11.21 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.002581/0.739, allocations: 1.511 MB / 0.9425 GB, free: 9.641 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.7391, allocations: 8.031 kB / 0.9425 GB, free: 9.633 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001675/0.7392, allocations: 135.6 kB / 0.9426 GB, free: 9.492 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009251/0.7402, allocations: 196.1 kB / 0.9428 GB, free: 9.301 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001139/0.7413, allocations: 0.7785 MB / 0.9436 GB, free: 8.48 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.335e-05/0.7414, allocations: 69.94 kB / 0.9436 GB, free: 8.414 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001276/0.7415, allocations: 95.88 kB / 0.9437 GB, free: 8.32 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001613/0.7431, allocations: 0.934 MB / 0.9446 GB, free: 7.344 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.462e-05/0.7432, allocations: 0 / 0.9446 GB, free: 7.344 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.367e-05/0.7433, allocations: 36 kB / 0.9447 GB, free: 7.309 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.361e-05/0.7433, allocations: 27.98 kB / 0.9447 GB, free: 7.281 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001896/0.7452, allocations: 1.12 MB / 0.9458 GB, free: 6.164 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.004252/0.7495, allocations: 2.74 MB / 0.9485 GB, free: 3.301 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00154/0.751, allocations: 0.8159 MB / 0.9493 GB, free: 2.477 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005535/0.7516, allocations: 306.7 kB / 0.9496 GB, free: 2.176 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 7.905e-05/0.7517, allocations: 28.61 kB / 0.9496 GB, free: 2.148 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009253/0.7526, allocations: 0.4932 MB / 0.9501 GB, free: 1.637 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=82): time 2.595e-06/0.7526, allocations: 0 / 0.9501 GB, free: 1.637 MB / 0.7012 GB Notification: Performance of matching and sorting (n=82): time 0.003609/0.7562, allocations: 1.214 MB / 0.9512 GB, free: 404 kB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001686/0.7564, allocations: 188.6 kB / 0.9514 GB, free: 172 kB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001173/0.7576, allocations: 0.6411 MB / 0.9521 GB, free: 15.52 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.603e-05/0.7577, allocations: 41.7 kB / 0.9521 GB, free: 15.47 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005104/0.7582, allocations: 425 kB / 0.9525 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003101/0.7586, allocations: 281.6 kB / 0.9528 GB, free: 14.77 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002755/0.7588, allocations: 150.6 kB / 0.9529 GB, free: 14.62 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0002537/0.7591, allocations: 386.8 kB / 0.9533 GB, free: 14.23 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005378/0.7596, allocations: 249.9 kB / 0.9535 GB, free: 13.99 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000708/0.7604, allocations: 366.5 kB / 0.9539 GB, free: 13.61 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001136/0.7615, allocations: 0.5916 MB / 0.9544 GB, free: 13 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.7615, allocations: 0 / 0.9544 GB, free: 13 MB / 0.7169 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001947/0.7635, allocations: 0.8179 MB / 0.9552 GB, free: 12.17 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.7635, allocations: 8 kB / 0.9553 GB, free: 12.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.7635, allocations: 0 / 0.9553 GB, free: 12.16 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00061/0.7641, allocations: 84.86 kB / 0.9553 GB, free: 12.08 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006298/0.7648, allocations: 155.7 kB / 0.9555 GB, free: 11.93 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002192/0.767, allocations: 1.634 MB / 0.9571 GB, free: 10.14 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007024/0.7677, allocations: 98.16 kB / 0.9572 GB, free: 10.05 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.546e-05/0.7678, allocations: 31.98 kB / 0.9572 GB, free: 10.02 MB / 0.7169 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 (89): * Single equations (assignments): 88 * 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.0004864/0.7683, allocations: 265.7 kB / 0.9575 GB, free: 9.75 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001801/0.7685, allocations: 87.44 kB / 0.9575 GB, free: 9.664 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002427/0.7709, allocations: 1.074 MB / 0.9586 GB, free: 8.578 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/0.7709, allocations: 8 kB / 0.9586 GB, free: 8.57 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.7709, allocations: 4 kB / 0.9586 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-06/0.7709, allocations: 3.984 kB / 0.9586 GB, free: 8.562 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001163/0.7721, allocations: 0.9114 MB / 0.9595 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.7721, allocations: 0 / 0.9595 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006194/0.7728, allocations: 163.7 kB / 0.9596 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004483/0.7732, allocations: 72.73 kB / 0.9597 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.436e-05/0.7733, allocations: 27.97 kB / 0.9597 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002069/0.7754, allocations: 1.646 MB / 0.9614 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.7754, allocations: 0 / 0.9614 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00296/0.7783, allocations: 1.344 MB / 0.9627 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004797/0.7788, allocations: 284.3 kB / 0.9629 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001892/0.779, allocations: 23.94 kB / 0.963 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006844/0.7797, allocations: 59.88 kB / 0.963 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001722/0.7799, allocations: 76.89 kB / 0.9631 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.611e-05/0.78, allocations: 31.98 kB / 0.9631 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0007484/0.7808, allocations: 467 kB / 0.9636 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.51e-07/0.7808, allocations: 4 kB / 0.9636 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001027/0.7818, allocations: 331.1 kB / 0.9639 GB, free: 2.918 MB / 0.7169 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 (93): * Single equations (assignments): 87 * 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.005142/0.787, allocations: 2.382 MB / 0.9662 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001838/0.7888, allocations: 0.8116 MB / 0.967 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.7888, allocations: 0 / 0.967 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001038/0.7899, allocations: 0.5238 MB / 0.9675 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001426/0.7913, allocations: 321.2 kB / 0.9678 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01222/0.8036, allocations: 6.383 MB / 0.9741 GB, free: 8.5 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009192/0.8045, allocations: 1.031 MB / 0.9751 GB, free: 7.441 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0009404/0.8055, allocations: 258.7 kB / 0.9753 GB, free: 7.184 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000697/0.8062, allocations: 407.3 kB / 0.9757 GB, free: 6.785 MB / 0.7325 GB Notification: Performance of SimCode: time 1.342e-06/0.8062, allocations: 0 / 0.9757 GB, free: 6.785 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06669/0.8729, allocations: 21.94 MB / 0.9971 GB, free: 1.172 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.19/14.07, allocations: 13.81 kB / 0.9971 GB, free: 1.16 MB / 0.7481 GB (rm -f BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1_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_SimpleHouse1.fmu > BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1)