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.001581/0.001581, 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.00209/0.00209, allocations: 206.4 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.303/1.303, allocations: 222.9 MB / 240.5 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6951/0.6951, allocations: 115.3 MB / 406 MB, free: 2.773 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 59.38 kB / 493 MB, free: 6.719 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1408, allocations: 76.19 MB / 0.5558 GB, free: 10.73 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.006305/0.1471, allocations: 5.092 MB / 0.5608 GB, free: 5.613 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.3908/0.538, allocations: 148.3 MB / 0.7057 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006946/0.5387, allocations: 15.94 kB / 0.7057 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0005235/0.5393, allocations: 153.3 kB / 0.7058 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001309/0.5406, allocations: 485.7 kB / 0.7063 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001488/0.5421, allocations: 0.7247 MB / 0.707 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001013/0.5431, allocations: 1.326 MB / 0.7083 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007428/0.5439, allocations: 0.5714 MB / 0.7089 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004155/0.5443, allocations: 434.3 kB / 0.7093 GB, free: 9.656 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004371/0.5447, allocations: 497.6 kB / 0.7097 GB, free: 9.168 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001118/0.5449, allocations: 60 kB / 0.7098 GB, free: 9.109 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005963/0.5455, allocations: 400.5 kB / 0.7102 GB, free: 8.727 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002085/0.5457, allocations: 239 kB / 0.7104 GB, free: 8.492 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004624/0.5461, allocations: 0.5166 MB / 0.7109 GB, free: 7.973 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001356/0.5475, allocations: 1.568 MB / 0.7124 GB, free: 6.402 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.5475, allocations: 4 kB / 0.7124 GB, free: 6.398 MB / 0.5294 GB Notification: Performance of FrontEnd: time 9.22e-07/0.5475, allocations: 0 / 0.7124 GB, free: 6.398 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.658e-06/0.5475, allocations: 4 kB / 0.7125 GB, free: 6.395 MB / 0.5294 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.002291/0.5498, allocations: 1.463 MB / 0.7139 GB, free: 4.883 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.5499, allocations: 12.03 kB / 0.7139 GB, free: 4.871 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001656/0.55, allocations: 135.6 kB / 0.714 GB, free: 4.73 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008406/0.5509, allocations: 195.3 kB / 0.7142 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009431/0.5518, allocations: 0.7559 MB / 0.7149 GB, free: 3.742 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.876e-05/0.5519, allocations: 66 kB / 0.715 GB, free: 3.676 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/0.552, allocations: 84 kB / 0.7151 GB, free: 3.594 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001452/0.5535, allocations: 0.9378 MB / 0.716 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/0.5535, allocations: 7.469 kB / 0.716 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.567e-05/0.5536, allocations: 36 kB / 0.716 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.583e-05/0.5536, allocations: 20 kB / 0.7161 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001616/0.5552, allocations: 1.124 MB / 0.7172 GB, free: 1.434 MB / 0.5294 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.003561/0.5588, allocations: 2.76 MB / 0.7199 GB, free: 14.55 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001386/0.5602, allocations: 0.8164 MB / 0.7207 GB, free: 13.73 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005051/0.5607, allocations: 309.8 kB / 0.721 GB, free: 13.43 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.666e-05/0.5608, allocations: 28.61 kB / 0.721 GB, free: 13.4 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008432/0.5616, allocations: 499.2 kB / 0.7215 GB, free: 12.89 MB / 0.545 GB Notification: Performance of pre-optimization done (n=82): time 2.424e-06/0.5616, allocations: 0 / 0.7215 GB, free: 12.89 MB / 0.545 GB Notification: Performance of matching and sorting (n=82): time 0.003194/0.5648, allocations: 1.207 MB / 0.7226 GB, free: 11.66 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001325/0.565, allocations: 204.5 kB / 0.7228 GB, free: 11.41 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007509/0.5657, allocations: 0.6371 MB / 0.7235 GB, free: 10.77 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.854e-05/0.5658, allocations: 45.7 kB / 0.7235 GB, free: 10.71 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000273/0.5661, allocations: 408.3 kB / 0.7239 GB, free: 10.31 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001857/0.5663, allocations: 268.1 kB / 0.7241 GB, free: 10.04 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002043/0.5665, allocations: 154.5 kB / 0.7243 GB, free: 9.887 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.5667, allocations: 386.8 kB / 0.7247 GB, free: 9.5 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004557/0.5671, allocations: 250.7 kB / 0.7249 GB, free: 9.254 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005466/0.5677, allocations: 362.5 kB / 0.7252 GB, free: 8.875 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009765/0.5687, allocations: 0.5877 MB / 0.7258 GB, free: 8.273 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.5687, allocations: 4 kB / 0.7258 GB, free: 8.27 MB / 0.545 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001772/0.5705, allocations: 0.8059 MB / 0.7266 GB, free: 7.457 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.5705, allocations: 12.03 kB / 0.7266 GB, free: 7.445 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.5705, allocations: 4 kB / 0.7266 GB, free: 7.441 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005818/0.5711, allocations: 80.77 kB / 0.7267 GB, free: 7.359 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006013/0.5717, allocations: 167.7 kB / 0.7269 GB, free: 7.199 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002048/0.5738, allocations: 1.517 MB / 0.7283 GB, free: 5.543 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006178/0.5744, allocations: 92.23 kB / 0.7284 GB, free: 5.453 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-05/0.5745, allocations: 27.98 kB / 0.7285 GB, free: 5.426 MB / 0.545 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.0003974/0.5749, allocations: 267.8 kB / 0.7287 GB, free: 5.156 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001488/0.575, allocations: 82.97 kB / 0.7288 GB, free: 5.074 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002311/0.5773, allocations: 1.075 MB / 0.7298 GB, free: 3.996 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.5774, allocations: 8 kB / 0.7298 GB, free: 3.988 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.5774, allocations: 7.938 kB / 0.7299 GB, free: 3.98 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/0.5774, allocations: 3.984 kB / 0.7299 GB, free: 3.977 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/0.5784, allocations: 0.9075 MB / 0.7307 GB, free: 3.016 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.247e-06/0.5784, allocations: 1.312 kB / 0.7307 GB, free: 3.016 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006017/0.579, allocations: 151.8 kB / 0.7309 GB, free: 2.867 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005049/0.5796, allocations: 88.72 kB / 0.731 GB, free: 2.777 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.04e-05/0.5796, allocations: 27.97 kB / 0.731 GB, free: 2.75 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001871/0.5815, allocations: 1.552 MB / 0.7325 GB, free: 1.059 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.5815, allocations: 0 / 0.7325 GB, free: 1.059 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002448/0.584, allocations: 1.34 MB / 0.7338 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003251/0.5843, allocations: 271.8 kB / 0.7341 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001161/0.5844, allocations: 19.98 kB / 0.7341 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006178/0.5851, allocations: 71.91 kB / 0.7342 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/0.5852, allocations: 68.89 kB / 0.7342 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.76e-05/0.5853, allocations: 35.98 kB / 0.7343 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005348/0.5858, allocations: 467 kB / 0.7347 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5858, allocations: 4 kB / 0.7347 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009198/0.5867, allocations: 327 kB / 0.735 GB, free: 14.44 MB / 0.5606 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.004239/0.591, allocations: 2.375 MB / 0.7374 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001466/0.5925, allocations: 0.8123 MB / 0.7381 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.5925, allocations: 0 / 0.7381 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008796/0.5934, allocations: 0.5081 MB / 0.7386 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.5944, allocations: 292.5 kB / 0.7389 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01088/0.6053, allocations: 6.99 MB / 0.7457 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005765/0.6059, allocations: 1.039 MB / 0.7468 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008411/0.6068, allocations: 258.8 kB / 0.747 GB, free: 2.152 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005196/0.6073, allocations: 399.3 kB / 0.7474 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of SimCode: time 6.82e-07/0.6073, allocations: 0 / 0.7474 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5728/1.18, allocations: 20.86 MB / 0.7678 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002875/1.18, allocations: 289.5 kB / 0.768 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.708/3.889, allocations: 0 / 0.768 GB, free: 12.83 MB / 0.5919 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)