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.001554/0.001554, allocations: 105.8 kB / 16.4 MB, free: 6.465 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.001562/0.001562, allocations: 196 kB / 17.34 MB, free: 5.715 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.48/1.48, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8145/0.8145, allocations: 125.4 MB / 416.6 MB, free: 13.52 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001865/0.001865, allocations: 71.27 kB / 0.5716 GB, free: 27.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1663/0.1682, allocations: 78.56 MB / 0.6483 GB, free: 5.645 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.006882/0.1751, allocations: 5.11 MB / 0.6533 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5644/0.7395, allocations: 150.6 MB / 0.8004 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007113/0.7403, allocations: 22.62 kB / 0.8004 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005827/0.7409, allocations: 197.1 kB / 0.8006 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001536/0.7424, allocations: 0.5605 MB / 0.8012 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00169/0.7441, allocations: 0.8365 MB / 0.802 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001445/0.7456, allocations: 1.423 MB / 0.8034 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008442/0.7465, allocations: 0.5836 MB / 0.804 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006611/0.7471, allocations: 0.4968 MB / 0.8044 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005504/0.7477, allocations: 0.5127 MB / 0.8049 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001451/0.7478, allocations: 117.8 kB / 0.8051 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009195/0.7488, allocations: 495.4 kB / 0.8055 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000222/0.749, allocations: 300.5 kB / 0.8058 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004393/0.7495, allocations: 0.5727 MB / 0.8064 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001693/0.7512, allocations: 1.67 MB / 0.808 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.7512, allocations: 2.75 kB / 0.808 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of FrontEnd: time 4.068e-06/0.7512, allocations: 4 kB / 0.808 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.148e-05/0.7512, allocations: 3.938 kB / 0.808 GB, free: 11.09 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.002659/0.7539, allocations: 1.495 MB / 0.8095 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.7539, allocations: 10.28 kB / 0.8095 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001488/0.7541, allocations: 144.5 kB / 0.8096 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009066/0.755, allocations: 195.4 kB / 0.8098 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001141/0.7561, allocations: 0.7835 MB / 0.8106 GB, free: 9.66 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.349e-05/0.7562, allocations: 65.06 kB / 0.8106 GB, free: 9.66 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.895e-05/0.7563, allocations: 83.94 kB / 0.8107 GB, free: 9.66 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001434/0.7577, allocations: 0.943 MB / 0.8116 GB, free: 9.324 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.756e-05/0.7578, allocations: 3.953 kB / 0.8116 GB, free: 9.32 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.607e-05/0.7579, allocations: 42.47 kB / 0.8117 GB, free: 9.316 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.645e-05/0.7579, allocations: 23.09 kB / 0.8117 GB, free: 9.316 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001647/0.7595, allocations: 1.122 MB / 0.8128 GB, free: 9.027 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.00379/0.7633, allocations: 2.819 MB / 0.8155 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001421/0.7648, allocations: 0.815 MB / 0.8163 GB, free: 7.031 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005364/0.7653, allocations: 303.9 kB / 0.8166 GB, free: 6.879 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.971e-05/0.7654, allocations: 35.39 kB / 0.8167 GB, free: 6.867 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008473/0.7663, allocations: 492.9 kB / 0.8171 GB, free: 6.559 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=82): time 2.966e-06/0.7663, allocations: 0 / 0.8171 GB, free: 6.559 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82): time 0.003205/0.7695, allocations: 1.217 MB / 0.8183 GB, free: 5.902 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001285/0.7696, allocations: 200.1 kB / 0.8185 GB, free: 5.672 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000787/0.7704, allocations: 0.6373 MB / 0.8191 GB, free: 5.309 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.594e-05/0.7705, allocations: 42.2 kB / 0.8192 GB, free: 5.266 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003459/0.7709, allocations: 419.2 kB / 0.8196 GB, free: 4.898 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002316/0.7711, allocations: 276.5 kB / 0.8198 GB, free: 4.664 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002311/0.7713, allocations: 154 kB / 0.82 GB, free: 4.57 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001933/0.7715, allocations: 383.8 kB / 0.8204 GB, free: 4.203 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000505/0.772, allocations: 258.2 kB / 0.8206 GB, free: 4.074 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006214/0.7727, allocations: 364.3 kB / 0.8209 GB, free: 3.844 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001077/0.7738, allocations: 0.5889 MB / 0.8215 GB, free: 3.527 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.7738, allocations: 0 / 0.8215 GB, free: 3.527 MB / 0.5919 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001868/0.7757, allocations: 0.8135 MB / 0.8223 GB, free: 3.105 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.7757, allocations: 16.94 kB / 0.8223 GB, free: 3.098 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.7757, allocations: 6.688 kB / 0.8223 GB, free: 3.094 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005953/0.7763, allocations: 82.62 kB / 0.8224 GB, free: 3.051 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006318/0.7769, allocations: 158.6 kB / 0.8226 GB, free: 3.012 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002268/0.7792, allocations: 1.626 MB / 0.8242 GB, free: 1.418 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007383/0.78, allocations: 91.12 kB / 0.8242 GB, free: 1.359 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.444e-05/0.7801, allocations: 36.06 kB / 0.8243 GB, free: 1.344 MB / 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 (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.000492/0.7806, allocations: 266 kB / 0.8245 GB, free: 1.133 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001742/0.7807, allocations: 94.06 kB / 0.8246 GB, free: 1.082 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002366/0.7831, allocations: 1.07 MB / 0.8257 GB, free: 492 kB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/0.7831, allocations: 10.28 kB / 0.8257 GB, free: 492 kB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.7831, allocations: 7.922 kB / 0.8257 GB, free: 484 kB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/0.7832, allocations: 3.984 kB / 0.8257 GB, free: 480 kB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001133/0.7843, allocations: 0.9093 MB / 0.8266 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.7843, allocations: 0 / 0.8266 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006132/0.7849, allocations: 154 kB / 0.8267 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004515/0.7854, allocations: 71.91 kB / 0.8268 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.645e-05/0.7855, allocations: 29.45 kB / 0.8268 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002022/0.7875, allocations: 1.654 MB / 0.8284 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.7875, allocations: 0 / 0.8284 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002738/0.7903, allocations: 1.345 MB / 0.8298 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004465/0.7907, allocations: 275.5 kB / 0.83 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001327/0.7909, allocations: 21.36 kB / 0.83 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000638/0.7915, allocations: 68.27 kB / 0.8301 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001809/0.7917, allocations: 72.17 kB / 0.8302 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.606e-05/0.7918, allocations: 34.86 kB / 0.8302 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006845/0.7925, allocations: 466.2 kB / 0.8306 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7925, allocations: 0 / 0.8306 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009209/0.7934, allocations: 334.7 kB / 0.831 GB, free: 12.67 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 (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.004944/0.7984, allocations: 2.398 MB / 0.8333 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001719/0.8001, allocations: 0.8036 MB / 0.8341 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 8.336e-06/0.8001, allocations: 4 kB / 0.8341 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009375/0.8011, allocations: 0.5172 MB / 0.8346 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001302/0.8024, allocations: 306.6 kB / 0.8349 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01088/0.8133, allocations: 6.395 MB / 0.8411 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007209/0.814, allocations: 1.031 MB / 0.8421 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009135/0.815, allocations: 266.7 kB / 0.8424 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006069/0.8156, allocations: 391.3 kB / 0.8428 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of SimCode: time 2.354e-06/0.8156, allocations: 0 / 0.8428 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05933/0.8749, allocations: 21.9 MB / 0.8642 GB, free: 13.67 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.96/13.83, allocations: 4.422 kB / 0.8642 GB, free: 13.67 MB / 0.6387 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)