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.005097/0.005097, allocations: 98.39 kB / 15.73 MB, free: 6.43 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.001334/0.001334, allocations: 191.8 kB / 16.67 MB, free: 6.336 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.434/1.434, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002383/0.002383, allocations: 278.7 kB / 290.8 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.062/1.062, allocations: 178.6 MB / 0.5074 GB, free: 4.488 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002703/0.002703, allocations: 100.6 kB / 0.6942 GB, free: 3.656 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4926/0.4953, allocations: 89.14 MB / 0.7813 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.007049/0.5024, allocations: 4.921 MB / 0.7861 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.1932/0.6957, allocations: 150.6 MB / 0.9332 GB, free: 3.371 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009096/0.6966, allocations: 15.94 kB / 0.9332 GB, free: 3.355 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0005915/0.6972, allocations: 186.2 kB / 0.9334 GB, free: 3.172 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001923/0.6992, allocations: 0.5506 MB / 0.9339 GB, free: 2.621 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002102/0.7013, allocations: 0.8275 MB / 0.9347 GB, free: 1.801 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001741/0.703, allocations: 1.377 MB / 0.9361 GB, free: 428 kB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000901/0.704, allocations: 0.5753 MB / 0.9366 GB, free: 15.82 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007165/0.7047, allocations: 486.3 kB / 0.9371 GB, free: 15.34 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005945/0.7053, allocations: 497.8 kB / 0.9376 GB, free: 14.85 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001582/0.7055, allocations: 116 kB / 0.9377 GB, free: 14.74 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001047/0.7065, allocations: 483.6 kB / 0.9381 GB, free: 14.27 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0002879/0.7068, allocations: 291 kB / 0.9384 GB, free: 13.98 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0005961/0.7074, allocations: 0.5596 MB / 0.939 GB, free: 13.42 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.002207/0.7096, allocations: 1.615 MB / 0.9405 GB, free: 11.8 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.7097, allocations: 4 kB / 0.9405 GB, free: 11.79 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7097, allocations: 4 kB / 0.9405 GB, free: 11.79 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.845e-05/0.7097, allocations: 0 / 0.9405 GB, free: 11.79 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.002666/0.7124, allocations: 1.471 MB / 0.942 GB, free: 10.27 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.7124, allocations: 12.03 kB / 0.942 GB, free: 10.25 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001606/0.7126, allocations: 131.3 kB / 0.9421 GB, free: 10.12 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009348/0.7135, allocations: 192.1 kB / 0.9423 GB, free: 9.93 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00119/0.7147, allocations: 0.7746 MB / 0.9431 GB, free: 9.113 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.983e-05/0.7148, allocations: 58 kB / 0.9431 GB, free: 9.059 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001124/0.7149, allocations: 83.94 kB / 0.9432 GB, free: 8.977 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001581/0.7165, allocations: 0.9114 MB / 0.9441 GB, free: 8.02 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.508e-05/0.7165, allocations: 3.938 kB / 0.9441 GB, free: 8.016 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.515e-05/0.7166, allocations: 35.98 kB / 0.9441 GB, free: 7.98 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.003e-05/0.7167, allocations: 20 kB / 0.9441 GB, free: 7.961 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001874/0.7185, allocations: 1.1 MB / 0.9452 GB, free: 6.863 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.004411/0.723, allocations: 2.752 MB / 0.9479 GB, free: 3.984 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001495/0.7245, allocations: 0.7776 MB / 0.9487 GB, free: 3.199 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005392/0.725, allocations: 298.7 kB / 0.9489 GB, free: 2.906 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 8.408e-05/0.7251, allocations: 32.59 kB / 0.949 GB, free: 2.875 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009165/0.726, allocations: 491.8 kB / 0.9494 GB, free: 2.375 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=78): time 2.545e-06/0.7261, allocations: 0 / 0.9494 GB, free: 2.375 MB / 0.7012 GB Notification: Performance of matching and sorting (n=78): time 0.003315/0.7294, allocations: 1.179 MB / 0.9506 GB, free: 1.172 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001435/0.7295, allocations: 188.6 kB / 0.9508 GB, free: 0.9414 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001015/0.7306, allocations: 0.6371 MB / 0.9514 GB, free: 304 kB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.801e-05/0.7306, allocations: 41.7 kB / 0.9514 GB, free: 256 kB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003948/0.731, allocations: 408.9 kB / 0.9518 GB, free: 15.84 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002504/0.7313, allocations: 261.8 kB / 0.9521 GB, free: 15.59 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002597/0.7316, allocations: 150.6 kB / 0.9522 GB, free: 15.43 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0002084/0.7318, allocations: 390.7 kB / 0.9526 GB, free: 15.04 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005056/0.7323, allocations: 237.9 kB / 0.9528 GB, free: 14.81 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006175/0.7329, allocations: 359.4 kB / 0.9532 GB, free: 14.43 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001108/0.734, allocations: 0.5768 MB / 0.9537 GB, free: 13.84 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.277e-06/0.7341, allocations: 4 kB / 0.9537 GB, free: 13.84 MB / 0.7169 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002015/0.7361, allocations: 0.7984 MB / 0.9545 GB, free: 13.03 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.7361, allocations: 4 kB / 0.9545 GB, free: 13.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.7361, allocations: 4 kB / 0.9545 GB, free: 13.02 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006062/0.7367, allocations: 88.83 kB / 0.9546 GB, free: 12.93 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006065/0.7374, allocations: 147.7 kB / 0.9547 GB, free: 12.79 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002245/0.7396, allocations: 1.629 MB / 0.9563 GB, free: 11.01 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007699/0.7404, allocations: 95.44 kB / 0.9564 GB, free: 10.92 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.087e-05/0.7405, allocations: 27.98 kB / 0.9565 GB, free: 10.89 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.0005096/0.741, allocations: 265.7 kB / 0.9567 GB, free: 10.62 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001888/0.7412, allocations: 91.48 kB / 0.9568 GB, free: 10.53 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002595/0.7438, allocations: 1.046 MB / 0.9578 GB, free: 9.465 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/0.7438, allocations: 8 kB / 0.9578 GB, free: 9.457 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.7438, allocations: 3.938 kB / 0.9578 GB, free: 9.453 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-05/0.7439, allocations: 8.016 kB / 0.9578 GB, free: 9.445 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001655/0.7455, allocations: 0.8919 MB / 0.9587 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.926e-06/0.7456, allocations: 4 kB / 0.9587 GB, free: 8.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006285/0.7462, allocations: 139.8 kB / 0.9588 GB, free: 8.363 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004732/0.7467, allocations: 72.78 kB / 0.9589 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.786e-05/0.7467, allocations: 23.98 kB / 0.9589 GB, free: 8.266 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002124/0.7489, allocations: 1.666 MB / 0.9606 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.7489, allocations: 0 / 0.9606 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002108/0.751, allocations: 0.9166 MB / 0.9615 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000448/0.7515, allocations: 272.2 kB / 0.9617 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/0.7516, allocations: 16 kB / 0.9617 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005992/0.7522, allocations: 63.94 kB / 0.9618 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001668/0.7524, allocations: 76.83 kB / 0.9619 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.696e-05/0.7524, allocations: 27.98 kB / 0.9619 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000619/0.7531, allocations: 467 kB / 0.9623 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7531, allocations: 0 / 0.9623 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0008708/0.7539, allocations: 323.1 kB / 0.9626 GB, free: 4.285 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.004141/0.7581, allocations: 1.967 MB / 0.9646 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001844/0.76, allocations: 0.7846 MB / 0.9653 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.76, allocations: 4 kB / 0.9653 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0009823/0.761, allocations: 0.5118 MB / 0.9658 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001341/0.7623, allocations: 298.9 kB / 0.9661 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01053/0.7729, allocations: 6.162 MB / 0.9721 GB, free: 10.6 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006948/0.7736, allocations: 1.023 MB / 0.9731 GB, free: 9.551 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0008551/0.7745, allocations: 262.7 kB / 0.9734 GB, free: 9.289 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005671/0.775, allocations: 395.2 kB / 0.9738 GB, free: 8.902 MB / 0.7325 GB Notification: Performance of SimCode: time 7.02e-07/0.775, allocations: 4 kB / 0.9738 GB, free: 8.898 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06046/0.8355, allocations: 21.49 MB / 0.9948 GB, free: 3.727 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.29/14.12, allocations: 13.33 kB / 0.9948 GB, free: 3.719 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)