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.001683/0.001683, allocations: 106.8 kB / 16.4 MB, free: 6.461 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.001913/0.001913, allocations: 193.2 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.284/2.284, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.312/1.312, allocations: 115.3 MB / 406.5 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002746/0.002747, allocations: 64.05 kB / 0.5572 GB, free: 32.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3208/0.3236, allocations: 76.18 MB / 0.6316 GB, free: 4.918 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.01399/0.3376, allocations: 4.891 MB / 0.6363 GB, free: 15.99 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 1.218/1.555, allocations: 150.6 MB / 0.7834 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001976/1.557, allocations: 19.22 kB / 0.7834 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001259/1.559, allocations: 193.8 kB / 0.7836 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003641/1.563, allocations: 0.5479 MB / 0.7841 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003493/1.566, allocations: 0.8262 MB / 0.7849 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002856/1.569, allocations: 1.379 MB / 0.7863 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001514/1.57, allocations: 0.5711 MB / 0.7868 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001345/1.572, allocations: 485.4 kB / 0.7873 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001292/1.573, allocations: 0.4913 MB / 0.7878 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0005512/1.574, allocations: 118.8 kB / 0.7879 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001786/1.575, allocations: 485 kB / 0.7884 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0006295/1.576, allocations: 294.7 kB / 0.7886 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001286/1.577, allocations: 0.5531 MB / 0.7892 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003664/1.581, allocations: 1.621 MB / 0.7908 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.695e-06/1.581, allocations: 0 / 0.7908 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.685e-06/1.581, allocations: 0 / 0.7908 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.903e-05/1.581, allocations: 0 / 0.7908 GB, free: 12.94 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.005628/1.587, allocations: 1.43 MB / 0.7922 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 6.053e-05/1.587, allocations: 12.03 kB / 0.7922 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001949/1.587, allocations: 131.3 kB / 0.7923 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00123/1.588, allocations: 184.1 kB / 0.7925 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002039/1.59, allocations: 0.7673 MB / 0.7932 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001063/1.591, allocations: 63.16 kB / 0.7933 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001396/1.591, allocations: 78.34 kB / 0.7934 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002117/1.593, allocations: 0.9228 MB / 0.7943 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.759e-05/1.593, allocations: 0 / 0.7943 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/1.593, allocations: 34.34 kB / 0.7943 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.664e-05/1.593, allocations: 19.19 kB / 0.7943 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002342/1.595, allocations: 1.099 MB / 0.7954 GB, free: 11.51 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.006428/1.602, allocations: 2.75 MB / 0.7981 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002245/1.604, allocations: 0.778 MB / 0.7988 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007187/1.605, allocations: 299.2 kB / 0.7991 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001153/1.605, allocations: 32.34 kB / 0.7991 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001194/1.606, allocations: 488.7 kB / 0.7996 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=78): time 4.749e-06/1.606, allocations: 3.938 kB / 0.7996 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of matching and sorting (n=78): time 0.004049/1.61, allocations: 1.177 MB / 0.8008 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001803/1.61, allocations: 192.3 kB / 0.8009 GB, free: 9.512 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001277/1.612, allocations: 0.6347 MB / 0.8016 GB, free: 9.289 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001084/1.612, allocations: 40.48 kB / 0.8016 GB, free: 9.258 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004754/1.612, allocations: 397.8 kB / 0.802 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003102/1.613, allocations: 254.2 kB / 0.8022 GB, free: 8.863 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003554/1.613, allocations: 142.9 kB / 0.8024 GB, free: 8.824 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002823/1.613, allocations: 387.1 kB / 0.8027 GB, free: 8.484 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006034/1.614, allocations: 243.8 kB / 0.803 GB, free: 8.445 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006589/1.615, allocations: 365.5 kB / 0.8033 GB, free: 8.309 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001175/1.616, allocations: 0.5788 MB / 0.8039 GB, free: 8.203 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/1.616, allocations: 0 / 0.8039 GB, free: 8.203 MB / 0.5919 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002488/1.618, allocations: 0.7934 MB / 0.8047 GB, free: 7.996 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.943e-05/1.618, allocations: 6.844 kB / 0.8047 GB, free: 7.996 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/1.618, allocations: 3.938 kB / 0.8047 GB, free: 7.992 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007192/1.619, allocations: 82.53 kB / 0.8047 GB, free: 7.961 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006817/1.62, allocations: 153.2 kB / 0.8049 GB, free: 7.926 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002958/1.623, allocations: 1.636 MB / 0.8065 GB, free: 6.457 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009853/1.624, allocations: 89.05 kB / 0.8066 GB, free: 6.41 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001114/1.624, allocations: 31.59 kB / 0.8066 GB, free: 6.402 MB / 0.5919 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.0008094/1.625, allocations: 261.5 kB / 0.8068 GB, free: 6.27 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003405/1.625, allocations: 82.97 kB / 0.8069 GB, free: 6.227 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002838/1.628, allocations: 1.044 MB / 0.8079 GB, free: 5.938 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.379e-05/1.628, allocations: 13.61 kB / 0.808 GB, free: 5.934 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.301e-05/1.628, allocations: 0 / 0.808 GB, free: 5.934 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.677e-05/1.628, allocations: 11.92 kB / 0.808 GB, free: 5.922 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001779/1.63, allocations: 0.8902 MB / 0.8088 GB, free: 5.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.138e-05/1.63, allocations: 0 / 0.8088 GB, free: 5.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006065/1.63, allocations: 135 kB / 0.809 GB, free: 5.477 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005132/1.631, allocations: 78.41 kB / 0.809 GB, free: 5.441 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001331/1.631, allocations: 28.25 kB / 0.8091 GB, free: 5.434 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003491/1.635, allocations: 1.652 MB / 0.8107 GB, free: 3.902 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/1.635, allocations: 4.062 kB / 0.8107 GB, free: 3.898 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003362/1.638, allocations: 0.9151 MB / 0.8116 GB, free: 3.406 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007919/1.639, allocations: 271.2 kB / 0.8118 GB, free: 3.168 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003739/1.639, allocations: 27.83 kB / 0.8119 GB, free: 3.148 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001174/1.64, allocations: 57.59 kB / 0.8119 GB, free: 3.121 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002997/1.641, allocations: 73.55 kB / 0.812 GB, free: 3.078 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001265/1.641, allocations: 35.02 kB / 0.812 GB, free: 3.066 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001272/1.642, allocations: 461.2 kB / 0.8125 GB, free: 2.801 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.91e-07/1.642, allocations: 0 / 0.8125 GB, free: 2.801 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001572/1.644, allocations: 313.5 kB / 0.8128 GB, free: 2.715 MB / 0.5919 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.004829/1.649, allocations: 1.965 MB / 0.8147 GB, free: 1.523 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002149/1.651, allocations: 0.7833 MB / 0.8154 GB, free: 1.105 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/1.651, allocations: 0 / 0.8154 GB, free: 1.105 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001079/1.652, allocations: 0.5101 MB / 0.8159 GB, free: 0.8164 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0016/1.653, allocations: 301.5 kB / 0.8162 GB, free: 0.6641 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01503/1.669, allocations: 6.133 MB / 0.8222 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001127/1.67, allocations: 1.021 MB / 0.8232 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001229/1.671, allocations: 260 kB / 0.8235 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007867/1.672, allocations: 397.5 kB / 0.8238 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of SimCode: time 2.084e-06/1.672, allocations: 3.938 kB / 0.8238 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1294/1.801, allocations: 21.86 MB / 0.8452 GB, free: 8.051 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.75/24.55, allocations: 13.14 kB / 0.8452 GB, free: 8.043 MB / 0.6231 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)