Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.SimpleHouse3,fileNamePrefix="BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3,fileNamePrefix="BuildingSystems_BuildingSystems_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.001301/0.001301, 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.001496/0.001496, allocations: 194.1 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.386/1.386, allocations: 222.9 MB / 240.2 MB, free: 4.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002462/0.002461, allocations: 282 kB / 290.7 MB, free: 1.867 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.053/1.053, allocations: 178.6 MB / 0.5073 GB, free: 4.566 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00261/0.00261, allocations: 95.95 kB / 0.6065 GB, free: 24.64 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1681, allocations: 89.14 MB / 0.6936 GB, free: 4.234 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.4769/0.645, allocations: 166 MB / 0.8557 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01255/0.6576, allocations: 7.807 MB / 0.8634 GB, free: 8.578 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001236/0.6589, allocations: 34.16 kB / 0.8634 GB, free: 8.566 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001142/0.66, allocations: 396.6 kB / 0.8638 GB, free: 8.23 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003362/0.6634, allocations: 1.32 MB / 0.8651 GB, free: 7.219 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002759/0.6662, allocations: 1.163 MB / 0.8662 GB, free: 6.324 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002725/0.6689, allocations: 2.351 MB / 0.8685 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001487/0.6704, allocations: 1.185 MB / 0.8696 GB, free: 4.129 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001098/0.6715, allocations: 0.813 MB / 0.8704 GB, free: 3.645 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001286/0.6728, allocations: 0.7919 MB / 0.8712 GB, free: 3.113 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001849/0.673, allocations: 151.1 kB / 0.8714 GB, free: 3.113 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002069/0.6751, allocations: 1.099 MB / 0.8724 GB, free: 2.594 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004282/0.6755, allocations: 431 kB / 0.8728 GB, free: 2.266 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007998/0.6763, allocations: 0.7754 MB / 0.8736 GB, free: 1.715 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003464/0.6798, allocations: 2.365 MB / 0.8759 GB, free: 72 kB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.6798, allocations: 0 / 0.8759 GB, free: 72 kB / 0.5919 GB Notification: Performance of FrontEnd: time 1.343e-06/0.6798, allocations: 0 / 0.8759 GB, free: 72 kB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.375e-05/0.6799, allocations: 0 / 0.8759 GB, free: 72 kB / 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.003435/0.6833, allocations: 1.883 MB / 0.8777 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.6834, allocations: 7.719 kB / 0.8777 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002216/0.6836, allocations: 172.9 kB / 0.8779 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001853/0.6855, allocations: 329.1 kB / 0.8782 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001556/0.687, allocations: 0.9905 MB / 0.8792 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.883e-05/0.6871, allocations: 80.45 kB / 0.8793 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001526/0.6873, allocations: 112 kB / 0.8794 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002017/0.6893, allocations: 1.168 MB / 0.8805 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.889e-05/0.6893, allocations: 3.984 kB / 0.8805 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001116/0.6895, allocations: 48 kB / 0.8806 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.877e-05/0.6895, allocations: 42.06 kB / 0.8806 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002184/0.6917, allocations: 1.316 MB / 0.8819 GB, free: 10.53 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.005711/0.6974, allocations: 3.834 MB / 0.8856 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001819/0.6993, allocations: 0.9974 MB / 0.8866 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000696/0.7, allocations: 405.6 kB / 0.887 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.53e-05/0.7001, allocations: 33.03 kB / 0.887 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001028/0.7011, allocations: 0.5904 MB / 0.8876 GB, free: 4.441 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=102): time 2.324e-06/0.7011, allocations: 0 / 0.8876 GB, free: 4.441 MB / 0.6075 GB Notification: Performance of matching and sorting (n=102): time 0.003678/0.7048, allocations: 1.439 MB / 0.889 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001236/0.7049, allocations: 196.9 kB / 0.8892 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00111/0.7061, allocations: 0.8263 MB / 0.89 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.493e-05/0.7062, allocations: 45.7 kB / 0.89 GB, free: 1.84 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004516/0.7066, allocations: 0.5314 MB / 0.8906 GB, free: 1.301 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002985/0.7069, allocations: 339 kB / 0.8909 GB, free: 0.9648 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002848/0.7072, allocations: 178.5 kB / 0.8911 GB, free: 0.7852 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.7074, allocations: 341.9 kB / 0.8914 GB, free: 456 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006038/0.708, allocations: 317.8 kB / 0.8917 GB, free: 136 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007653/0.7087, allocations: 471.6 kB / 0.8921 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001372/0.7101, allocations: 0.7776 MB / 0.8929 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/0.7101, allocations: 6.562 kB / 0.8929 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002289/0.7124, allocations: 1.028 MB / 0.8939 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.7125, allocations: 4 kB / 0.8939 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.7125, allocations: 4 kB / 0.8939 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000593/0.7131, allocations: 84.98 kB / 0.894 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008195/0.7139, allocations: 203.7 kB / 0.8942 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002163/0.7161, allocations: 1.642 MB / 0.8958 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009807/0.7171, allocations: 103.1 kB / 0.8959 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-05/0.7172, allocations: 39.98 kB / 0.8959 GB, free: 11.56 MB / 0.6231 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.0005605/0.7177, allocations: 317.5 kB / 0.8962 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002126/0.718, allocations: 110.7 kB / 0.8963 GB, free: 11.13 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002668/0.7206, allocations: 1.254 MB / 0.8976 GB, free: 9.867 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.226e-05/0.7207, allocations: 12 kB / 0.8976 GB, free: 9.855 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.7207, allocations: 4 kB / 0.8976 GB, free: 9.852 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.314e-05/0.7207, allocations: 4.031 kB / 0.8976 GB, free: 9.848 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001557/0.7222, allocations: 1.18 MB / 0.8987 GB, free: 8.613 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.7223, allocations: 0 / 0.8987 GB, free: 8.613 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008638/0.7231, allocations: 207.7 kB / 0.8989 GB, free: 8.41 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004364/0.7236, allocations: 76.78 kB / 0.899 GB, free: 8.332 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.604e-05/0.7237, allocations: 27.98 kB / 0.899 GB, free: 8.305 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001976/0.7256, allocations: 1.658 MB / 0.9007 GB, free: 6.5 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.7257, allocations: 5.5 kB / 0.9007 GB, free: 6.496 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003031/0.7287, allocations: 1.562 MB / 0.9022 GB, free: 4.91 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005166/0.7292, allocations: 339.1 kB / 0.9025 GB, free: 4.559 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001556/0.7294, allocations: 28 kB / 0.9025 GB, free: 4.531 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008039/0.7302, allocations: 68.48 kB / 0.9026 GB, free: 4.465 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001582/0.7304, allocations: 76.89 kB / 0.9027 GB, free: 4.391 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.111e-05/0.7305, allocations: 47.97 kB / 0.9027 GB, free: 4.344 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0008032/0.7313, allocations: 0.5782 MB / 0.9033 GB, free: 3.754 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.41e-07/0.7313, allocations: 0 / 0.9033 GB, free: 3.754 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001062/0.7323, allocations: 431 kB / 0.9037 GB, free: 3.332 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.005165/0.7375, allocations: 2.652 MB / 0.9063 GB, free: 0.832 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003043/0.7406, allocations: 1.227 MB / 0.9075 GB, free: 15.6 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/0.7406, allocations: 4 kB / 0.9075 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001074/0.7417, allocations: 0.6132 MB / 0.9081 GB, free: 14.97 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002116/0.7438, allocations: 0.4928 MB / 0.9086 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01379/0.7576, allocations: 8.651 MB / 0.917 GB, free: 5.516 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009577/0.7586, allocations: 1.161 MB / 0.9182 GB, free: 4.324 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001264/0.7599, allocations: 317.2 kB / 0.9185 GB, free: 4.012 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006944/0.7606, allocations: 0.5071 MB / 0.9189 GB, free: 3.504 MB / 0.6387 GB Notification: Performance of SimCode: time 2.295e-06/0.7606, allocations: 4 kB / 0.919 GB, free: 3.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07005/0.8307, allocations: 29.35 MB / 0.9476 GB, free: 6.598 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.9/12.73, allocations: 6 kB / 0.9476 GB, free: 6.594 MB / 0.67 GB (rm -f BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; mkfifo BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe >> ../files/BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse3.fmu > BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1)