Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.SimpleHouse1,fileNamePrefix="IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1,fileNamePrefix="IBPSA_latest_IBPSA_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.001253/0.001253, allocations: 102 kB / 15.98 MB, free: 6.348 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.001316/0.001316, allocations: 199 kB / 16.91 MB, free: 6.191 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.443/1.443, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7656/0.7656, allocations: 115.3 MB / 406.1 MB, free: 6.398 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 59.91 kB / 493.2 MB, free: 0.6328 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4276/0.4289, allocations: 76.17 MB / 0.556 GB, free: 36.25 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.006896/0.4358, allocations: 5.094 MB / 0.561 GB, free: 32.65 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1785/0.6143, allocations: 148.4 MB / 0.7059 GB, free: 10.64 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001521/0.6159, allocations: 19.88 kB / 0.7059 GB, free: 10.62 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001255/0.6172, allocations: 150.8 kB / 0.7061 GB, free: 10.48 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002732/0.62, allocations: 0.5007 MB / 0.7066 GB, free: 9.977 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002911/0.6229, allocations: 0.7444 MB / 0.7073 GB, free: 9.242 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002801/0.6257, allocations: 1.42 MB / 0.7087 GB, free: 7.812 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001454/0.6272, allocations: 0.5913 MB / 0.7093 GB, free: 7.195 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001163/0.6284, allocations: 0.4943 MB / 0.7097 GB, free: 6.699 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008776/0.6293, allocations: 0.5211 MB / 0.7103 GB, free: 6.176 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003501/0.6296, allocations: 120 kB / 0.7104 GB, free: 6.059 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001366/0.631, allocations: 463.6 kB / 0.7108 GB, free: 5.605 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000518/0.6315, allocations: 303 kB / 0.7111 GB, free: 5.309 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001116/0.6327, allocations: 0.5714 MB / 0.7117 GB, free: 4.734 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002451/0.6351, allocations: 1.624 MB / 0.7132 GB, free: 3.105 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/0.6351, allocations: 3.984 kB / 0.7132 GB, free: 3.102 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.134e-06/0.6351, allocations: 0 / 0.7132 GB, free: 3.102 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.072e-05/0.6352, allocations: 0 / 0.7132 GB, free: 3.102 MB / 0.545 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.004203/0.6394, allocations: 1.471 MB / 0.7147 GB, free: 1.582 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.653e-05/0.6395, allocations: 12.03 kB / 0.7147 GB, free: 1.57 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003105/0.6398, allocations: 135.6 kB / 0.7148 GB, free: 1.43 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001118/0.641, allocations: 195.3 kB / 0.715 GB, free: 1.238 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001393/0.6424, allocations: 0.7506 MB / 0.7157 GB, free: 456 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.177e-05/0.6424, allocations: 66 kB / 0.7158 GB, free: 392 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001401/0.6426, allocations: 83.94 kB / 0.7159 GB, free: 308 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001885/0.6445, allocations: 0.9417 MB / 0.7168 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.09e-05/0.6445, allocations: 3.906 kB / 0.7168 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.382e-05/0.6446, allocations: 36 kB / 0.7168 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.9e-05/0.6447, allocations: 20 kB / 0.7169 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001945/0.6466, allocations: 1.128 MB / 0.718 GB, free: 14.13 MB / 0.5606 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.004737/0.6514, allocations: 2.755 MB / 0.7207 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001577/0.653, allocations: 0.8088 MB / 0.7214 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005266/0.6535, allocations: 310.6 kB / 0.7217 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.47e-05/0.6536, allocations: 32.59 kB / 0.7218 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009191/0.6545, allocations: 0.4893 MB / 0.7222 GB, free: 9.598 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=82): time 2.866e-06/0.6546, allocations: 0 / 0.7222 GB, free: 9.598 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82): time 0.003396/0.658, allocations: 1.205 MB / 0.7234 GB, free: 8.363 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/0.6581, allocations: 200.6 kB / 0.7236 GB, free: 8.125 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008726/0.659, allocations: 0.641 MB / 0.7242 GB, free: 7.477 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.811e-05/0.6591, allocations: 41.7 kB / 0.7243 GB, free: 7.43 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002976/0.6594, allocations: 408.3 kB / 0.7247 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002384/0.6596, allocations: 272.1 kB / 0.7249 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002269/0.6598, allocations: 146.5 kB / 0.7251 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001625/0.66, allocations: 398.7 kB / 0.7255 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004895/0.6605, allocations: 245.9 kB / 0.7257 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005988/0.6611, allocations: 366.5 kB / 0.726 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/0.6622, allocations: 0.5878 MB / 0.7266 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/0.6622, allocations: 3.938 kB / 0.7266 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001925/0.6641, allocations: 0.8136 MB / 0.7274 GB, free: 4.152 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.6642, allocations: 4 kB / 0.7274 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.6642, allocations: 0 / 0.7274 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000588/0.6648, allocations: 80.88 kB / 0.7275 GB, free: 4.066 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006289/0.6654, allocations: 167.7 kB / 0.7276 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00211/0.6675, allocations: 1.638 MB / 0.7292 GB, free: 2.113 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007718/0.6683, allocations: 91.27 kB / 0.7293 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.235e-05/0.6684, allocations: 27.98 kB / 0.7294 GB, free: 1.996 MB / 0.5606 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.0005012/0.6689, allocations: 266.6 kB / 0.7296 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000248/0.6692, allocations: 82.97 kB / 0.7297 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002445/0.6716, allocations: 1.077 MB / 0.7307 GB, free: 0.5547 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.165e-05/0.6716, allocations: 8 kB / 0.7308 GB, free: 0.5469 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.6716, allocations: 0 / 0.7308 GB, free: 0.5469 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.6717, allocations: 3.984 kB / 0.7308 GB, free: 0.543 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001218/0.6729, allocations: 0.9153 MB / 0.7317 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/0.6729, allocations: 0 / 0.7317 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006473/0.6736, allocations: 151.8 kB / 0.7318 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004689/0.674, allocations: 80.66 kB / 0.7319 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.319e-05/0.6741, allocations: 23.98 kB / 0.7319 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002018/0.6762, allocations: 1.662 MB / 0.7335 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.6762, allocations: 0 / 0.7335 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002813/0.679, allocations: 1.34 MB / 0.7348 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005818/0.6796, allocations: 271.8 kB / 0.7351 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001974/0.6798, allocations: 31.84 kB / 0.7351 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007326/0.6805, allocations: 65.64 kB / 0.7352 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001744/0.6807, allocations: 68.97 kB / 0.7352 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.839e-05/0.6808, allocations: 39.97 kB / 0.7353 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007142/0.6815, allocations: 467 kB / 0.7357 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6815, allocations: 0 / 0.7357 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001048/0.6826, allocations: 327.2 kB / 0.736 GB, free: 10.9 MB / 0.5762 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.005046/0.6877, allocations: 2.378 MB / 0.7384 GB, free: 8.707 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002568/0.6902, allocations: 1.011 MB / 0.7394 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.306e-06/0.6903, allocations: 4.188 kB / 0.7394 GB, free: 7.68 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001028/0.6913, allocations: 0.5236 MB / 0.7399 GB, free: 7.145 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001534/0.6929, allocations: 303.2 kB / 0.7402 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2904/0.9833, allocations: 6.984 MB / 0.747 GB, free: 172.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007205/0.984, allocations: 1.034 MB / 0.748 GB, free: 171.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001232/0.9853, allocations: 262.8 kB / 0.7482 GB, free: 171.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006701/0.986, allocations: 403.8 kB / 0.7486 GB, free: 171.7 MB / 0.5762 GB Notification: Performance of SimCode: time 1.783e-06/0.986, allocations: 0 / 0.7486 GB, free: 171.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06413/1.05, allocations: 21.47 MB / 0.7696 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002095/1.05, allocations: 278.9 kB / 0.7699 GB, free: 166.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.52/3.57, allocations: 0 / 0.7699 GB, free: 166.2 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse1_fmu --startTime=0 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse1.fmu > IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1)