Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse3.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.SimpleHouse3,fileNamePrefix="IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse3,fileNamePrefix="IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse3",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.00128/0.00128, allocations: 106.4 kB / 16.41 MB, free: 6.449 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.001344/0.001344, allocations: 189.2 kB / 17.34 MB, free: 5.738 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.516/1.516, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8505/0.8505, allocations: 126.7 MB / 417.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 64.69 kB / 0.5735 GB, free: 27.15 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.1702, allocations: 78.86 MB / 0.6506 GB, free: 3.57 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.6149/0.7851, allocations: 166.1 MB / 0.8127 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01358/0.7987, allocations: 7.798 MB / 0.8203 GB, free: 9.605 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002336/0.8011, allocations: 34.88 kB / 0.8204 GB, free: 9.594 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001514/0.8027, allocations: 401.2 kB / 0.8208 GB, free: 9.273 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005232/0.808, allocations: 1.311 MB / 0.822 GB, free: 8.461 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003759/0.8117, allocations: 1.181 MB / 0.8232 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004011/0.8158, allocations: 2.361 MB / 0.8255 GB, free: 6.281 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002044/0.8178, allocations: 1.189 MB / 0.8267 GB, free: 5.516 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001697/0.8195, allocations: 0.8377 MB / 0.8275 GB, free: 5.047 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001704/0.8213, allocations: 0.7951 MB / 0.8283 GB, free: 4.551 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002357/0.8215, allocations: 150.8 kB / 0.8284 GB, free: 4.551 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002425/0.8239, allocations: 1.12 MB / 0.8295 GB, free: 4.117 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004446/0.8244, allocations: 428.6 kB / 0.8299 GB, free: 3.801 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000927/0.8253, allocations: 0.7946 MB / 0.8307 GB, free: 3.246 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004394/0.8297, allocations: 2.414 MB / 0.833 GB, free: 1.672 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.8298, allocations: 1.781 kB / 0.833 GB, free: 1.672 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.175e-06/0.8298, allocations: 0 / 0.833 GB, free: 1.672 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.342e-05/0.8298, allocations: 0 / 0.833 GB, free: 1.672 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: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.004067/0.8339, allocations: 1.937 MB / 0.8349 GB, free: 188 kB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.834, allocations: 10.09 kB / 0.8349 GB, free: 188 kB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002056/0.8342, allocations: 170.9 kB / 0.8351 GB, free: 44 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00208/0.8363, allocations: 337.5 kB / 0.8354 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001948/0.8382, allocations: 1.028 MB / 0.8364 GB, free: 15.1 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.804e-05/0.8383, allocations: 84.88 kB / 0.8365 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001579/0.8385, allocations: 109.3 kB / 0.8366 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00211/0.8406, allocations: 1.17 MB / 0.8378 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.017e-05/0.8407, allocations: 2.812 kB / 0.8378 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001161/0.8408, allocations: 50 kB / 0.8378 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.02e-05/0.8408, allocations: 37.41 kB / 0.8378 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002149/0.843, allocations: 1.312 MB / 0.8391 GB, free: 13.58 MB / 0.6075 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.006167/0.8492, allocations: 3.891 MB / 0.8429 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001786/0.851, allocations: 0.9942 MB / 0.8439 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006578/0.8517, allocations: 403.6 kB / 0.8443 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.695e-05/0.8518, allocations: 35.84 kB / 0.8443 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00103/0.8528, allocations: 0.5853 MB / 0.8449 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=102): time 3.085e-06/0.8528, allocations: 2.938 kB / 0.8449 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of matching and sorting (n=102): time 0.003756/0.8566, allocations: 1.439 MB / 0.8463 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001254/0.8567, allocations: 201.6 kB / 0.8465 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001131/0.8579, allocations: 0.833 MB / 0.8473 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.829e-05/0.858, allocations: 45.7 kB / 0.8473 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005028/0.8585, allocations: 0.5362 MB / 0.8479 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000332/0.8588, allocations: 356.6 kB / 0.8482 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002879/0.8591, allocations: 182.6 kB / 0.8484 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.8593, allocations: 341.9 kB / 0.8487 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006341/0.8599, allocations: 313.8 kB / 0.849 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007958/0.8607, allocations: 475.6 kB / 0.8495 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001408/0.8621, allocations: 0.785 MB / 0.8502 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.8621, allocations: 0 / 0.8502 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002357/0.8645, allocations: 1.029 MB / 0.8512 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.8645, allocations: 8 kB / 0.8512 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.8646, allocations: 224 / 0.8512 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006076/0.8652, allocations: 96.69 kB / 0.8513 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008374/0.866, allocations: 211.7 kB / 0.8515 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002414/0.8684, allocations: 1.632 MB / 0.8531 GB, free: 1.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001072/0.8695, allocations: 111.4 kB / 0.8532 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-05/0.8696, allocations: 35.98 kB / 0.8533 GB, free: 1.367 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (116): * Single equations (assignments): 115 * 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.0006033/0.8702, allocations: 313.8 kB / 0.8536 GB, free: 1.051 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002559/0.8705, allocations: 123.2 kB / 0.8537 GB, free: 0.9297 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00276/0.8733, allocations: 1.241 MB / 0.8549 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-05/0.8733, allocations: 16 kB / 0.8549 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.8733, allocations: 0 / 0.8549 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.38e-05/0.8733, allocations: 7.969 kB / 0.8549 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001625/0.875, allocations: 1.17 MB / 0.8561 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.875, allocations: 3.984 kB / 0.8561 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008715/0.8758, allocations: 207.7 kB / 0.8563 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004602/0.8763, allocations: 68.8 kB / 0.8563 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.245e-05/0.8764, allocations: 35.97 kB / 0.8564 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002036/0.8784, allocations: 1.67 MB / 0.858 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.8785, allocations: 0 / 0.858 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003286/0.8817, allocations: 1.574 MB / 0.8595 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006435/0.8824, allocations: 328 kB / 0.8598 GB, free: 10.4 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000172/0.8826, allocations: 24 kB / 0.8599 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008317/0.8834, allocations: 71.92 kB / 0.8599 GB, free: 10.31 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002015/0.8836, allocations: 80.88 kB / 0.86 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.57e-05/0.8837, allocations: 43.92 kB / 0.8601 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0008653/0.8846, allocations: 0.5899 MB / 0.8606 GB, free: 9.582 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8846, allocations: 0 / 0.8606 GB, free: 9.582 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001131/0.8858, allocations: 427 kB / 0.861 GB, free: 9.164 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (walCap.T,zon.dynBal.medium.Xi[1],zon.dynBal.U,zon.dynBal.m) * 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 (113): * Single equations (assignments): 107 * 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.00549/0.8913, allocations: 2.649 MB / 0.8636 GB, free: 6.684 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002133/0.8934, allocations: 0.9638 MB / 0.8646 GB, free: 5.707 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.8935, allocations: 0.5625 kB / 0.8646 GB, free: 5.707 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001134/0.8946, allocations: 0.6055 MB / 0.8652 GB, free: 5.094 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002222/0.8968, allocations: 0.4998 MB / 0.8656 GB, free: 4.617 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01484/0.9117, allocations: 8.24 MB / 0.8737 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008883/0.9126, allocations: 1.164 MB / 0.8748 GB, free: 11.01 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001251/0.9139, allocations: 317.2 kB / 0.8751 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007991/0.9147, allocations: 0.5148 MB / 0.8756 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of SimCode: time 8.01e-07/0.9147, allocations: 0 / 0.8756 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07714/0.9919, allocations: 29.58 MB / 0.9045 GB, free: 12.93 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.06/15.05, allocations: 7.406 kB / 0.9045 GB, free: 12.92 MB / 0.67 GB (rm -f IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; mkfifo IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe >> ../files/IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse3.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse3_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_SimpleHouse3.fmu > IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1)