Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse0.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.SimpleHouse0,fileNamePrefix="IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse0,fileNamePrefix="IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse0",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.001207/0.001207, allocations: 107.1 kB / 16.27 MB, free: 5.93 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.001277/0.001277, allocations: 188.2 kB / 17.2 MB, free: 5.574 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.383/1.383, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7542/0.7542, allocations: 122.8 MB / 413.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001374, allocations: 63.89 kB / 0.4912 GB, free: 7.316 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3734/0.3748, allocations: 77.93 MB / 0.5673 GB, free: 32.81 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.006759/0.3816, allocations: 4.891 MB / 0.572 GB, free: 29.34 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.178/0.5596, allocations: 150.6 MB / 0.7191 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001543/0.5612, allocations: 23.81 kB / 0.7191 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001076/0.5623, allocations: 190.2 kB / 0.7193 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002802/0.5652, allocations: 0.5466 MB / 0.7198 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003331/0.5685, allocations: 0.8291 MB / 0.7207 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00225/0.5708, allocations: 1.358 MB / 0.722 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001141/0.572, allocations: 0.5792 MB / 0.7226 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001069/0.5731, allocations: 478.3 kB / 0.723 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001075/0.5741, allocations: 0.4901 MB / 0.7235 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0004277/0.5746, allocations: 116 kB / 0.7236 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001348/0.5759, allocations: 459.6 kB / 0.724 GB, free: 9.699 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000429/0.5764, allocations: 291.1 kB / 0.7243 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0008901/0.5773, allocations: 0.5558 MB / 0.7249 GB, free: 8.855 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002678/0.58, allocations: 1.581 MB / 0.7264 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.58, allocations: 0 / 0.7264 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.254e-06/0.58, allocations: 0 / 0.7264 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.538e-05/0.5801, allocations: 0 / 0.7264 GB, free: 7.27 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.003455/0.5835, allocations: 1.43 MB / 0.7278 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.5836, allocations: 8.625 kB / 0.7278 GB, free: 5.781 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000204/0.5838, allocations: 135.3 kB / 0.7279 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001027/0.5848, allocations: 191.4 kB / 0.7281 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001217/0.5861, allocations: 0.7389 MB / 0.7288 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.799e-05/0.5861, allocations: 66 kB / 0.7289 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001009/0.5862, allocations: 76 kB / 0.729 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001592/0.5878, allocations: 0.9114 MB / 0.7299 GB, free: 3.578 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/0.5879, allocations: 7.938 kB / 0.7299 GB, free: 3.57 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.26e-05/0.588, allocations: 36 kB / 0.7299 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.06e-05/0.588, allocations: 24 kB / 0.7299 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001729/0.5897, allocations: 1.093 MB / 0.731 GB, free: 2.418 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.004413/0.5942, allocations: 2.771 MB / 0.7337 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001671/0.5958, allocations: 0.7885 MB / 0.7345 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005305/0.5964, allocations: 290.7 kB / 0.7347 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.302e-05/0.5965, allocations: 32.61 kB / 0.7348 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000916/0.5974, allocations: 491.1 kB / 0.7352 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=78): time 3.406e-06/0.5974, allocations: 0 / 0.7352 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of matching and sorting (n=78): time 0.003356/0.6008, allocations: 1.174 MB / 0.7364 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001582/0.601, allocations: 192.5 kB / 0.7366 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001058/0.602, allocations: 0.6371 MB / 0.7372 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.25e-05/0.6021, allocations: 41.7 kB / 0.7372 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004085/0.6025, allocations: 404.2 kB / 0.7376 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002737/0.6028, allocations: 248.4 kB / 0.7379 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003184/0.6032, allocations: 146.5 kB / 0.738 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002575/0.6034, allocations: 390.7 kB / 0.7384 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000552/0.604, allocations: 237.9 kB / 0.7386 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006749/0.6047, allocations: 359.4 kB / 0.7389 GB, free: 9.984 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001212/0.6059, allocations: 0.5807 MB / 0.7395 GB, free: 9.391 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.6059, allocations: 0 / 0.7395 GB, free: 9.391 MB / 0.5762 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002077/0.608, allocations: 0.7941 MB / 0.7403 GB, free: 8.586 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.968e-05/0.608, allocations: 8 kB / 0.7403 GB, free: 8.578 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.6081, allocations: 0 / 0.7403 GB, free: 8.578 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006611/0.6087, allocations: 92.83 kB / 0.7404 GB, free: 8.484 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006074/0.6094, allocations: 147.7 kB / 0.7405 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002412/0.6118, allocations: 1.63 MB / 0.7421 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007246/0.6125, allocations: 95.41 kB / 0.7422 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.81e-05/0.6126, allocations: 28.05 kB / 0.7422 GB, free: 6.445 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (85): * Single equations (assignments): 84 * 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.0005791/0.6132, allocations: 270.2 kB / 0.7425 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002746/0.6135, allocations: 86.97 kB / 0.7426 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00245/0.6159, allocations: 1.05 MB / 0.7436 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.6159, allocations: 11.94 kB / 0.7436 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.616, allocations: 7.938 kB / 0.7436 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/0.616, allocations: 3.984 kB / 0.7436 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001181/0.6172, allocations: 0.8841 MB / 0.7445 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.722e-06/0.6172, allocations: 0 / 0.7445 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000549/0.6177, allocations: 139.8 kB / 0.7446 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000449/0.6182, allocations: 72.78 kB / 0.7447 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.64e-05/0.6183, allocations: 23.98 kB / 0.7447 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001933/0.6202, allocations: 1.666 MB / 0.7463 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.6202, allocations: 0 / 0.7463 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002114/0.6223, allocations: 0.9161 MB / 0.7472 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005015/0.6229, allocations: 271.7 kB / 0.7475 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001972/0.6231, allocations: 16 kB / 0.7475 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006908/0.6238, allocations: 68.06 kB / 0.7476 GB, free: 0.7031 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000186/0.624, allocations: 76.77 kB / 0.7476 GB, free: 0.6289 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.458e-05/0.624, allocations: 35.98 kB / 0.7477 GB, free: 0.5938 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000714/0.6248, allocations: 463 kB / 0.7481 GB, free: 152 kB / 0.5762 GB Notification: Performance of sort global known variables: time 3.71e-07/0.6248, allocations: 0 / 0.7481 GB, free: 152 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.3501/0.9749, allocations: 307.5 kB / 0.7484 GB, free: 171.1 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (89): * Single equations (assignments): 83 * 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.004305/0.9793, allocations: 1.953 MB / 0.7503 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00253/0.9818, allocations: 0.9835 MB / 0.7513 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.9818, allocations: 6.188 kB / 0.7513 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001032/0.9829, allocations: 0.5054 MB / 0.7518 GB, free: 169.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001388/0.9843, allocations: 303.8 kB / 0.7521 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01301/0.9973, allocations: 6.384 MB / 0.7583 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007963/0.9982, allocations: 1.019 MB / 0.7593 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001197/0.9994, allocations: 260.6 kB / 0.7595 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005888/1, allocations: 392.9 kB / 0.7599 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of SimCode: time 1.663e-06/1, allocations: 1.062 kB / 0.7599 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05916/1.059, allocations: 21.2 MB / 0.7806 GB, free: 153.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.9, allocations: 7.797 kB / 0.7806 GB, free: 153.9 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse0_fmu --startTime=0 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse0.fmu > IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1)