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.00167/0.00167, allocations: 100.8 kB / 16.4 MB, free: 6.508 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.002196/0.002196, allocations: 196 kB / 17.34 MB, free: 5.742 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.378/1.378, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7299/0.7299, allocations: 115.3 MB / 406.5 MB, free: 6.215 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 58.98 kB / 0.5572 GB, free: 32.39 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1436, allocations: 76.19 MB / 0.6316 GB, free: 4.883 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.6771/0.8207, allocations: 166 MB / 0.7937 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01656/0.8373, allocations: 7.808 MB / 0.8014 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002585/0.84, allocations: 35.78 kB / 0.8014 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001638/0.8417, allocations: 406.8 kB / 0.8018 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004555/0.8462, allocations: 1.347 MB / 0.8031 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003362/0.8496, allocations: 1.183 MB / 0.8042 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003315/0.8529, allocations: 2.368 MB / 0.8066 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002306/0.8553, allocations: 1.187 MB / 0.8077 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00178/0.8571, allocations: 0.8371 MB / 0.8085 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001574/0.8586, allocations: 0.7884 MB / 0.8093 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002378/0.8589, allocations: 150.7 kB / 0.8094 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002762/0.8617, allocations: 1.128 MB / 0.8105 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005107/0.8622, allocations: 427.2 kB / 0.811 GB, free: 9.781 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001073/0.8633, allocations: 0.7837 MB / 0.8117 GB, free: 9.234 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003816/0.8671, allocations: 2.414 MB / 0.8141 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.8671, allocations: 0 / 0.8141 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.023e-06/0.8671, allocations: 0 / 0.8141 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.231e-05/0.8672, allocations: 0 / 0.8141 GB, free: 7.668 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: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.003776/0.8709, allocations: 1.887 MB / 0.8159 GB, free: 6.238 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.901e-05/0.871, allocations: 7.531 kB / 0.8159 GB, free: 6.238 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002197/0.8712, allocations: 169.6 kB / 0.8161 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001915/0.8732, allocations: 321.2 kB / 0.8164 GB, free: 5.953 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001663/0.8748, allocations: 1.035 MB / 0.8174 GB, free: 5.156 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.482e-05/0.8749, allocations: 86.89 kB / 0.8175 GB, free: 5.113 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001527/0.8751, allocations: 105.2 kB / 0.8176 GB, free: 5.082 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00212/0.8772, allocations: 1.175 MB / 0.8187 GB, free: 4.316 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.264e-05/0.8772, allocations: 0 / 0.8187 GB, free: 4.316 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001044/0.8774, allocations: 44.72 kB / 0.8188 GB, free: 4.285 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.673e-05/0.8774, allocations: 41.31 kB / 0.8188 GB, free: 4.277 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002206/0.8796, allocations: 1.316 MB / 0.8201 GB, free: 3.637 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.006332/0.886, allocations: 3.794 MB / 0.8238 GB, free: 0.5625 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001757/0.8877, allocations: 1 MB / 0.8248 GB, free: 56 kB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006832/0.8884, allocations: 407.7 kB / 0.8252 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.065e-05/0.8885, allocations: 39.34 kB / 0.8252 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009891/0.8895, allocations: 0.5849 MB / 0.8258 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=102): time 2.945e-06/0.8896, allocations: 0 / 0.8258 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of matching and sorting (n=102): time 0.003686/0.8933, allocations: 1.442 MB / 0.8272 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001131/0.8934, allocations: 190.4 kB / 0.8274 GB, free: 14.49 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001162/0.8946, allocations: 0.835 MB / 0.8282 GB, free: 14 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.612e-05/0.8947, allocations: 49.2 kB / 0.8282 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004789/0.8952, allocations: 0.5275 MB / 0.8288 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003203/0.8955, allocations: 340 kB / 0.8291 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000297/0.8958, allocations: 177.9 kB / 0.8292 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.8959, allocations: 344 kB / 0.8296 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005927/0.8965, allocations: 316.4 kB / 0.8299 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007271/0.8973, allocations: 472.9 kB / 0.8303 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00128/0.8986, allocations: 0.7778 MB / 0.8311 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.8986, allocations: 0 / 0.8311 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002364/0.9009, allocations: 1.024 MB / 0.8321 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.901, allocations: 7.281 kB / 0.8321 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.901, allocations: 2.906 kB / 0.8321 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005823/0.9016, allocations: 86.34 kB / 0.8322 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008151/0.9024, allocations: 207.6 kB / 0.8324 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002231/0.9046, allocations: 1.636 MB / 0.834 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001202/0.9059, allocations: 103.5 kB / 0.8341 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-05/0.906, allocations: 43.33 kB / 0.8341 GB, free: 9.535 MB / 0.6075 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.0006272/0.9066, allocations: 314.4 kB / 0.8344 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002746/0.9069, allocations: 114.1 kB / 0.8345 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002691/0.9096, allocations: 1.244 MB / 0.8357 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.218e-05/0.9096, allocations: 16.2 kB / 0.8358 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.9096, allocations: 0 / 0.8358 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.238e-05/0.9096, allocations: 11.97 kB / 0.8358 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001774/0.9114, allocations: 1.177 MB / 0.8369 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.603e-06/0.9114, allocations: 0 / 0.8369 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008783/0.9123, allocations: 205.2 kB / 0.8371 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004852/0.9128, allocations: 81.84 kB / 0.8372 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-05/0.9129, allocations: 27.98 kB / 0.8372 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002226/0.9151, allocations: 1.661 MB / 0.8388 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.9152, allocations: 3.938 kB / 0.8388 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003136/0.9183, allocations: 1.562 MB / 0.8404 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006572/0.919, allocations: 327.2 kB / 0.8407 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001515/0.9191, allocations: 27.98 kB / 0.8407 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007928/0.9199, allocations: 67.94 kB / 0.8408 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001966/0.9201, allocations: 84.81 kB / 0.8409 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.231e-05/0.9202, allocations: 43.97 kB / 0.8409 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0008685/0.9211, allocations: 0.586 MB / 0.8415 GB, free: 3.066 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9211, allocations: 0 / 0.8415 GB, free: 3.066 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001295/0.9224, allocations: 419 kB / 0.8419 GB, free: 2.656 MB / 0.6075 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.004795/0.9272, allocations: 2.644 MB / 0.8444 GB, free: 184 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002021/0.9293, allocations: 0.9765 MB / 0.8454 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.9293, allocations: 0 / 0.8454 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001048/0.9303, allocations: 0.6045 MB / 0.846 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002013/0.9324, allocations: 487.2 kB / 0.8465 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01293/0.9453, allocations: 8.2 MB / 0.8545 GB, free: 5.754 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000698/0.946, allocations: 1.158 MB / 0.8556 GB, free: 4.566 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001084/0.9471, allocations: 321.2 kB / 0.8559 GB, free: 4.25 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006731/0.9478, allocations: 0.5187 MB / 0.8564 GB, free: 3.73 MB / 0.6231 GB Notification: Performance of SimCode: time 1.282e-06/0.9478, allocations: 0 / 0.8564 GB, free: 3.73 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07745/1.025, allocations: 29.58 MB / 0.8853 GB, free: 6.5 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.57/14.59, allocations: 7.938 kB / 0.8853 GB, free: 6.492 MB / 0.6544 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)