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.00117/0.00117, allocations: 100.1 kB / 15.88 MB, free: 12 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.001223/0.001223, allocations: 205.3 kB / 16.79 MB, free: 6.84 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.311/1.311, allocations: 222.9 MB / 240.5 MB, free: 4.645 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6386/0.6386, allocations: 115.3 MB / 405.9 MB, free: 2.809 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 59.17 kB / 493 MB, free: 6.75 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.1689, allocations: 76.2 MB / 0.5558 GB, free: 10.75 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.465/0.634, allocations: 163.7 MB / 0.7157 GB, free: 3.254 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01319/0.6472, allocations: 7.818 MB / 0.7233 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001539/0.6488, allocations: 31.81 kB / 0.7234 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00109/0.6499, allocations: 337.9 kB / 0.7237 GB, free: 11.04 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003275/0.6532, allocations: 1.185 MB / 0.7249 GB, free: 9.859 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002957/0.6562, allocations: 1.026 MB / 0.7259 GB, free: 8.844 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002857/0.6591, allocations: 2.547 MB / 0.7283 GB, free: 6.289 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00145/0.6605, allocations: 1.069 MB / 0.7294 GB, free: 5.199 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001086/0.6616, allocations: 0.6963 MB / 0.7301 GB, free: 4.5 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001392/0.663, allocations: 0.7731 MB / 0.7308 GB, free: 3.73 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001581/0.6632, allocations: 72 kB / 0.7309 GB, free: 3.66 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002272/0.6655, allocations: 1.138 MB / 0.732 GB, free: 2.52 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003649/0.6658, allocations: 354.6 kB / 0.7323 GB, free: 2.172 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0007402/0.6666, allocations: 0.7031 MB / 0.733 GB, free: 1.465 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002935/0.6695, allocations: 2.348 MB / 0.7353 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.6696, allocations: 0 / 0.7353 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of FrontEnd: time 7.62e-07/0.6696, allocations: 4 kB / 0.7353 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.168e-05/0.6696, allocations: 0 / 0.7353 GB, free: 15.11 MB / 0.5606 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.003554/0.6732, allocations: 1.876 MB / 0.7372 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.6732, allocations: 8.031 kB / 0.7372 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002194/0.6734, allocations: 172.9 kB / 0.7373 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00192/0.6754, allocations: 325.8 kB / 0.7376 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001435/0.6768, allocations: 0.9834 MB / 0.7386 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.723e-05/0.6769, allocations: 82.19 kB / 0.7387 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000153/0.6771, allocations: 112 kB / 0.7388 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001996/0.6791, allocations: 1.172 MB / 0.7399 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.452e-05/0.6791, allocations: 0 / 0.7399 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001085/0.6792, allocations: 48 kB / 0.74 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.24e-05/0.6793, allocations: 46.05 kB / 0.74 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002148/0.6814, allocations: 1.312 MB / 0.7413 GB, free: 8.785 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.005426/0.6869, allocations: 3.837 MB / 0.7451 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00184/0.6887, allocations: 1.001 MB / 0.746 GB, free: 3.73 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006967/0.6894, allocations: 401.2 kB / 0.7464 GB, free: 3.34 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.097e-05/0.6895, allocations: 37.02 kB / 0.7464 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001037/0.6906, allocations: 0.5904 MB / 0.747 GB, free: 2.691 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=102): time 2.435e-06/0.6906, allocations: 0 / 0.747 GB, free: 2.691 MB / 0.5606 GB Notification: Performance of matching and sorting (n=102): time 0.003763/0.6943, allocations: 1.435 MB / 0.7484 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001113/0.6945, allocations: 200.9 kB / 0.7486 GB, free: 0.9922 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001053/0.6955, allocations: 0.8263 MB / 0.7494 GB, free: 144 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.986e-05/0.6956, allocations: 53.64 kB / 0.7495 GB, free: 84 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004313/0.6961, allocations: 0.5275 MB / 0.75 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002811/0.6964, allocations: 339 kB / 0.7503 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002844/0.6967, allocations: 182.5 kB / 0.7505 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.6968, allocations: 341.9 kB / 0.7508 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000629/0.6974, allocations: 313.8 kB / 0.7511 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007696/0.6982, allocations: 471.7 kB / 0.7516 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001362/0.6996, allocations: 0.7776 MB / 0.7523 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.6996, allocations: 4 kB / 0.7523 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002252/0.7019, allocations: 1.028 MB / 0.7533 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.7019, allocations: 4 kB / 0.7533 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.7019, allocations: 7.938 kB / 0.7533 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006303/0.7026, allocations: 85 kB / 0.7534 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000859/0.7034, allocations: 207.7 kB / 0.7536 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002114/0.7055, allocations: 1.532 MB / 0.7551 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009931/0.7066, allocations: 123.1 kB / 0.7552 GB, free: 9.938 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.362e-05/0.7066, allocations: 35.97 kB / 0.7553 GB, free: 9.902 MB / 0.5762 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.000524/0.7072, allocations: 318.2 kB / 0.7556 GB, free: 9.582 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002189/0.7074, allocations: 114.7 kB / 0.7557 GB, free: 9.469 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00282/0.7102, allocations: 1.248 MB / 0.7569 GB, free: 8.207 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/0.7102, allocations: 12 kB / 0.7569 GB, free: 8.195 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.7103, allocations: 0 / 0.7569 GB, free: 8.195 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/0.7103, allocations: 3.984 kB / 0.7569 GB, free: 8.191 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001619/0.7119, allocations: 1.166 MB / 0.7581 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.7119, allocations: 4 kB / 0.7581 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009037/0.7128, allocations: 207.7 kB / 0.7583 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005482/0.7134, allocations: 92.69 kB / 0.7583 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.084e-05/0.7135, allocations: 23.98 kB / 0.7584 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0019/0.7154, allocations: 1.536 MB / 0.7599 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.7154, allocations: 0 / 0.7599 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003127/0.7185, allocations: 1.582 MB / 0.7614 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005312/0.7191, allocations: 319.3 kB / 0.7617 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000194/0.7193, allocations: 27.98 kB / 0.7617 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009426/0.7202, allocations: 87.92 kB / 0.7618 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001755/0.7204, allocations: 76.83 kB / 0.7619 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000101/0.7205, allocations: 51.91 kB / 0.7619 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008746/0.7214, allocations: 0.5821 MB / 0.7625 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7214, allocations: 0 / 0.7625 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001128/0.7226, allocations: 426.9 kB / 0.7629 GB, free: 1.793 MB / 0.5762 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.005008/0.7276, allocations: 2.635 MB / 0.7655 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001997/0.7296, allocations: 0.9721 MB / 0.7664 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.7296, allocations: 0.5625 kB / 0.7664 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001117/0.7307, allocations: 0.6017 MB / 0.767 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002095/0.7328, allocations: 459.6 kB / 0.7675 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01666/0.7495, allocations: 9.158 MB / 0.7764 GB, free: 3.777 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008847/0.7504, allocations: 1.154 MB / 0.7775 GB, free: 2.59 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001282/0.7517, allocations: 321.2 kB / 0.7779 GB, free: 2.273 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007767/0.7525, allocations: 0.5149 MB / 0.7784 GB, free: 1.758 MB / 0.5919 GB Notification: Performance of SimCode: time 8.01e-07/0.7525, allocations: 0 / 0.7784 GB, free: 1.758 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8378/1.59, allocations: 28.22 MB / 0.8059 GB, free: 5.938 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004734/1.591, allocations: 279.5 kB / 0.8062 GB, free: 5.555 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.74/4.331, allocations: 0 / 0.8062 GB, free: 5.555 MB / 0.6231 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse3_fmu --startTime=0 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse3.fmu > IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1)