Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.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.SimpleHouse2,fileNamePrefix="IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2,fileNamePrefix="IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse2",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.001403/0.001403, allocations: 105.5 kB / 16.41 MB, free: 6.469 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.001423/0.001423, allocations: 191.9 kB / 17.34 MB, free: 5.75 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 / 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.853/0.853, allocations: 126.7 MB / 417.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003078/0.003078, allocations: 67.17 kB / 0.5735 GB, free: 27.1 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1701/0.1732, allocations: 78.86 MB / 0.6505 GB, free: 3.609 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.007972/0.1812, allocations: 5.204 MB / 0.6556 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5523/0.7336, allocations: 150.7 MB / 0.8028 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0011/0.7347, allocations: 16.84 kB / 0.8028 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007054/0.7355, allocations: 200.5 kB / 0.803 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002241/0.7377, allocations: 0.5617 MB / 0.8035 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002394/0.7401, allocations: 0.8472 MB / 0.8043 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002214/0.7424, allocations: 1.451 MB / 0.8058 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001032/0.7434, allocations: 0.6013 MB / 0.8063 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009692/0.7444, allocations: 0.5042 MB / 0.8068 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006657/0.7451, allocations: 0.5207 MB / 0.8074 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001851/0.7453, allocations: 124.8 kB / 0.8075 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001153/0.7464, allocations: 493.6 kB / 0.8079 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002731/0.7467, allocations: 308.2 kB / 0.8082 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005071/0.7472, allocations: 0.5856 MB / 0.8088 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002135/0.7494, allocations: 1.703 MB / 0.8105 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.7494, allocations: 0 / 0.8105 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.553e-06/0.7494, allocations: 0 / 0.8105 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.348e-05/0.7494, allocations: 0 / 0.8105 GB, free: 10.79 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.002845/0.7523, allocations: 1.528 MB / 0.812 GB, free: 9.766 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.7523, allocations: 10.66 kB / 0.812 GB, free: 9.766 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000173/0.7525, allocations: 147.2 kB / 0.8121 GB, free: 9.699 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009639/0.7535, allocations: 195.8 kB / 0.8123 GB, free: 9.605 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001255/0.7547, allocations: 0.7965 MB / 0.8131 GB, free: 9.117 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.751e-05/0.7548, allocations: 70.69 kB / 0.8131 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/0.7549, allocations: 85.53 kB / 0.8132 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001508/0.7564, allocations: 0.9534 MB / 0.8142 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.574e-05/0.7565, allocations: 0 / 0.8142 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.802e-05/0.7566, allocations: 38.94 kB / 0.8142 GB, free: 8.777 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.531e-05/0.7566, allocations: 22.91 kB / 0.8142 GB, free: 8.777 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001809/0.7584, allocations: 1.135 MB / 0.8153 GB, free: 8.488 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.004832/0.7632, allocations: 2.878 MB / 0.8181 GB, free: 6.508 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001601/0.7649, allocations: 0.8465 MB / 0.819 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005475/0.7654, allocations: 323.6 kB / 0.8193 GB, free: 5.926 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.635e-05/0.7655, allocations: 27.31 kB / 0.8193 GB, free: 5.922 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008825/0.7664, allocations: 0.5089 MB / 0.8198 GB, free: 5.586 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=85): time 2.404e-06/0.7664, allocations: 0 / 0.8198 GB, free: 5.586 MB / 0.5919 GB Notification: Performance of matching and sorting (n=85): time 0.00331/0.7697, allocations: 1.253 MB / 0.821 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001352/0.7699, allocations: 194.4 kB / 0.8212 GB, free: 4.688 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000917/0.7708, allocations: 0.644 MB / 0.8218 GB, free: 4.32 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.586e-05/0.7709, allocations: 42.61 kB / 0.8219 GB, free: 4.277 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003861/0.7713, allocations: 427.6 kB / 0.8223 GB, free: 3.902 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002573/0.7715, allocations: 288.8 kB / 0.8226 GB, free: 3.66 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002484/0.7718, allocations: 153.1 kB / 0.8227 GB, free: 3.566 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002399/0.7721, allocations: 392.4 kB / 0.8231 GB, free: 3.191 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005197/0.7726, allocations: 258.2 kB / 0.8233 GB, free: 3.066 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006404/0.7732, allocations: 369.6 kB / 0.8237 GB, free: 2.836 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001143/0.7744, allocations: 0.609 MB / 0.8243 GB, free: 2.504 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.7744, allocations: 0 / 0.8243 GB, free: 2.504 MB / 0.5919 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001999/0.7764, allocations: 0.8448 MB / 0.8251 GB, free: 2.07 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/0.7764, allocations: 5.062 kB / 0.8251 GB, free: 2.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.7765, allocations: 4.938 kB / 0.8251 GB, free: 2.066 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006205/0.7771, allocations: 81.66 kB / 0.8252 GB, free: 2.027 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006655/0.7778, allocations: 166.7 kB / 0.8253 GB, free: 1.984 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00224/0.78, allocations: 1.625 MB / 0.8269 GB, free: 396 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008351/0.7809, allocations: 104.2 kB / 0.827 GB, free: 324 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.032e-05/0.781, allocations: 32.27 kB / 0.8271 GB, free: 312 kB / 0.5919 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 (92): * Single equations (assignments): 91 * 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.0005709/0.7815, allocations: 265.1 kB / 0.8273 GB, free: 100 kB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000229/0.7818, allocations: 90.62 kB / 0.8274 GB, free: 52 kB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002488/0.7843, allocations: 1.096 MB / 0.8285 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.7843, allocations: 13.75 kB / 0.8285 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.7843, allocations: 0 / 0.8285 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.227e-05/0.7843, allocations: 3.984 kB / 0.8285 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00124/0.7856, allocations: 0.9346 MB / 0.8294 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.7856, allocations: 0 / 0.8294 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006308/0.7862, allocations: 154.5 kB / 0.8295 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004506/0.7867, allocations: 82.84 kB / 0.8296 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.378e-05/0.7868, allocations: 27.05 kB / 0.8296 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00199/0.7888, allocations: 1.657 MB / 0.8313 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.7888, allocations: 0 / 0.8313 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002763/0.7915, allocations: 1.375 MB / 0.8326 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004416/0.792, allocations: 287.7 kB / 0.8329 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001264/0.7921, allocations: 20.81 kB / 0.8329 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006121/0.7927, allocations: 69.14 kB / 0.833 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001464/0.7929, allocations: 69.44 kB / 0.833 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.215e-05/0.793, allocations: 37.03 kB / 0.8331 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006046/0.7936, allocations: 472.3 kB / 0.8335 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7936, allocations: 0 / 0.8335 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009017/0.7945, allocations: 335.6 kB / 0.8338 GB, free: 11.6 MB / 0.6075 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 (96): * Single equations (assignments): 90 * 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.004871/0.7994, allocations: 2.426 MB / 0.8362 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001743/0.8012, allocations: 0.8208 MB / 0.837 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.8012, allocations: 0 / 0.837 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009588/0.8021, allocations: 0.5426 MB / 0.8375 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001313/0.8035, allocations: 310.6 kB / 0.8378 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01155/0.815, allocations: 6.541 MB / 0.8442 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006979/0.8158, allocations: 1.043 MB / 0.8452 GB, free: 2.051 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009227/0.8167, allocations: 270.8 kB / 0.8455 GB, free: 1.781 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006074/0.8173, allocations: 403.3 kB / 0.8459 GB, free: 1.387 MB / 0.6075 GB Notification: Performance of SimCode: time 8.82e-07/0.8173, allocations: 4 kB / 0.8459 GB, free: 1.383 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06611/0.8834, allocations: 22.23 MB / 0.8676 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.46/14.34, allocations: 6.406 kB / 0.8676 GB, free: 11.4 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2_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_SimpleHouse2.fmu > IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1)