Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.SimpleHouse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.SimpleHouse,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_SimpleHouse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.SimpleHouse,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_SimpleHouse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.915/1.915, allocations: 289.9 MB / 297.4 MB, free: 6.363 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001141/0.001141, allocations: 180.8 kB / 366.7 MB, free: 1.625 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.714/1.714, allocations: 205.2 MB / 0.626 GB, free: 7.156 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009519/0.000952, allocations: 93.55 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.75e-05/2.736e-05, allocations: 4 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7305/0.7305, allocations: 116.3 MB / 0.9733 GB, free: 76.28 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.391/7.122, allocations: 2.412 GB / 3.385 GB, free: 26.06 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002457/7.122, allocations: 87.58 kB / 3.385 GB, free: 26.02 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 15.36/22.48, allocations: 3.675 GB / 7.06 GB, free: 74.2 MB / 1.073 GB Notification: Performance of FrontEnd: time 4.117e-06/22.48, allocations: 0.8438 kB / 7.06 GB, free: 74.2 MB / 1.073 GB Notification: Performance of Transformations before backend: time 0.00199/22.48, allocations: 186.1 kB / 7.061 GB, free: 74.16 MB / 1.073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1198 * Number of variables: 1198 Notification: Performance of Generate backend data structure: time 0.02897/22.51, allocations: 6.671 MB / 7.067 GB, free: 71.08 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 5.551e-05/22.51, allocations: 8.531 kB / 7.067 GB, free: 71.08 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01857/22.53, allocations: 2.624 MB / 7.07 GB, free: 70.66 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02747/22.56, allocations: 7.751 MB / 7.077 GB, free: 69.5 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004523/22.56, allocations: 155.4 kB / 7.077 GB, free: 69.5 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00254/22.56, allocations: 291.5 kB / 7.078 GB, free: 69.5 MB / 1.073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01503/22.57, allocations: 4.811 MB / 7.082 GB, free: 69.47 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02087/22.6, allocations: 5.146 MB / 7.087 GB, free: 68.67 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003087/22.6, allocations: 7.812 kB / 7.087 GB, free: 68.66 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002061/22.6, allocations: 15.05 kB / 7.087 GB, free: 68.66 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002262/22.6, allocations: 201.2 kB / 7.088 GB, free: 68.64 MB / 1.073 GB Warning: The model contains alias variables with conflicting start and/or 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.05915/22.66, allocations: 25.9 MB / 7.113 GB, free: 56.2 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008238/22.67, allocations: 3.943 MB / 7.117 GB, free: 56.03 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004147/22.67, allocations: 2.219 MB / 7.119 GB, free: 55.99 MB / 1.073 GB Warning: The model contains alias variables with conflicting start and/or 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 evalFunc (simulation): time 0.02055/22.69, allocations: 8.404 MB / 7.127 GB, free: 54.3 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002771/22.69, allocations: 1.989 MB / 7.129 GB, free: 54.16 MB / 1.073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003577/22.7, allocations: 377.8 kB / 7.129 GB, free: 54.04 MB / 1.073 GB Notification: Performance of pre-optimization done (n=297): time 8.236e-06/22.7, allocations: 0 / 7.129 GB, free: 54.04 MB / 1.073 GB Notification: Performance of matching and sorting (n=297): time 0.009788/22.71, allocations: 4.011 MB / 7.133 GB, free: 53.45 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000157/22.71, allocations: 452.6 kB / 7.134 GB, free: 52.94 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007667/22.71, allocations: 4.076 MB / 7.138 GB, free: 51.36 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.001188/22.72, allocations: 36.11 kB / 7.138 GB, free: 51.33 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.002835/22.72, allocations: 2.987 MB / 7.141 GB, free: 49.02 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.001556/22.72, allocations: 0.9707 MB / 7.142 GB, free: 48.25 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002438/22.72, allocations: 0 / 7.142 GB, free: 48.25 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0002427/22.72, allocations: 454.8 kB / 7.142 GB, free: 47.88 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002207/22.72, allocations: 1.518 MB / 7.144 GB, free: 47.3 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002832/22.73, allocations: 2.732 MB / 7.146 GB, free: 45.2 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00399/22.73, allocations: 2.06 MB / 7.148 GB, free: 44.47 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-05/22.73, allocations: 10.66 kB / 7.148 GB, free: 44.47 MB / 1.073 GB Notification: Performance of matching and sorting (n=472) (initialization): time 0.01165/22.74, allocations: 5.105 MB / 7.153 GB, free: 42.65 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.002796/22.74, allocations: 13.35 MB / 7.166 GB, free: 28.52 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.666e-05/22.74, allocations: 34.44 kB / 7.166 GB, free: 28.52 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002805/22.75, allocations: 0.6178 MB / 7.167 GB, free: 28.37 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004761/22.75, allocations: 0.8701 MB / 7.168 GB, free: 28.29 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005993/22.76, allocations: 5.53 MB / 7.173 GB, free: 23.61 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008373/22.77, allocations: 408.9 kB / 7.174 GB, free: 23.54 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001456/22.77, allocations: 198.9 kB / 7.174 GB, free: 23.37 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/22.77, allocations: 7.375 kB / 7.174 GB, free: 23.36 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009876/22.78, allocations: 4.334 MB / 7.178 GB, free: 19.62 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.921e-05/22.78, allocations: 28 kB / 7.178 GB, free: 19.6 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002608/22.78, allocations: 0.6428 MB / 7.179 GB, free: 19.09 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003914/22.78, allocations: 0.8533 MB / 7.18 GB, free: 18.38 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006448/22.79, allocations: 5.529 MB / 7.185 GB, free: 12.86 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007493/22.8, allocations: 373.1 kB / 7.185 GB, free: 12.59 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001101/22.8, allocations: 195.1 kB / 7.185 GB, free: 12.41 MB / 1.073 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: fan.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: heaWat.vol.heatPort.Q_flow:VARIABLE(flow=true unit = "W" final = true ) "Heat flow rate (positive if flowing from outside into the component)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 125 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.hysRad.y,hysRad.y,booleanToInt.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (442): * Single equations (assignments): 433 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 2,1 2,2 9,5 6,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001476/22.8, allocations: 230.1 kB / 7.186 GB, free: 12.2 MB / 1.073 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009153/22.81, allocations: 3.814 MB / 7.189 GB, free: 8.809 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00213/22.81, allocations: 0.5557 MB / 7.19 GB, free: 8.246 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009525/22.82, allocations: 4.474 MB / 7.194 GB, free: 4.523 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.247e-05/22.82, allocations: 36 kB / 7.194 GB, free: 4.488 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/22.82, allocations: 7.047 kB / 7.194 GB, free: 4.484 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00601/22.83, allocations: 3.48 MB / 7.198 GB, free: 1.418 MB / 1.073 GB Warning: The model contains alias variables with conflicting start and/or 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 postOpt removeSimpleEquations (simulation): time 0.02268/22.85, allocations: 9.325 MB / 7.207 GB, free: 10.11 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.314e-05/22.85, allocations: 4 kB / 7.207 GB, free: 10.1 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003137/22.85, allocations: 0.6193 MB / 7.207 GB, free: 9.594 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0016/22.86, allocations: 462.7 kB / 7.208 GB, free: 9.203 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002803/22.86, allocations: 57.44 kB / 7.208 GB, free: 9.164 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01085/22.87, allocations: 11.29 MB / 7.219 GB, free: 13.55 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.076e-05/22.87, allocations: 10.09 kB / 7.219 GB, free: 13.55 MB / 1.104 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01422/22.88, allocations: 6.748 MB / 7.226 GB, free: 7.207 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004576/22.89, allocations: 1.136 MB / 7.227 GB, free: 6.23 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001886/22.89, allocations: 19.83 kB / 7.227 GB, free: 6.215 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005485/22.89, allocations: 348.4 kB / 7.227 GB, free: 5.973 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000516/22.89, allocations: 235.6 kB / 7.227 GB, free: 5.824 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004321/22.89, allocations: 146.4 kB / 7.227 GB, free: 5.711 MB / 1.104 GB Notification: Performance of sorting global known variables: time 0.006615/22.9, allocations: 3.049 MB / 7.23 GB, free: 3.012 MB / 1.104 GB Notification: Performance of sort global known variables: time 5.71e-07/22.9, allocations: 0 / 7.23 GB, free: 3.012 MB / 1.104 GB Notification: Performance of remove unused functions: time 1.052/23.95, allocations: 3.782 MB / 7.234 GB, free: 116.3 MB / 1.104 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 10 (walCap.T,zone.dynBal.U,zone.dynBal.mXi[1],rad.vol[1].dynBal.U,rad.vol[2].dynBal.U,rad.vol[3].dynBal.U,rad.vol[4].dynBal.U,rad.vol[5].dynBal.U,vavDam.filter.x[1],vavDam.filter.x[2]) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,hysRad.y,booleanToInt.y) * Number of discrete states: 3 (weaDat.conTimMin.tNext,weaDat.conTim.tNext,hysRad.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (308): * Single equations (assignments): 294 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 4 {2 8,1 3,1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.03337/23.99, allocations: 15.06 MB / 7.249 GB, free: 111.2 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.01596/24, allocations: 6.753 MB / 7.255 GB, free: 110.7 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 2.106e-05/24, allocations: 7.594 kB / 7.255 GB, free: 110.7 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.004079/24.01, allocations: 2.575 MB / 7.258 GB, free: 110 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01598/24.02, allocations: 2.405 MB / 7.26 GB, free: 109.9 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0355/24.06, allocations: 10.95 MB / 7.271 GB, free: 107.6 MB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004383/24.06, allocations: 3.797 MB / 7.275 GB, free: 106.8 MB / 1.104 GB Notification: Performance of simCode: alias equations: time 0.01688/24.08, allocations: 2.793 MB / 7.277 GB, free: 106.7 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006104/24.08, allocations: 2.711 MB / 7.28 GB, free: 106.7 MB / 1.104 GB Notification: Performance of SimCode: time 1.884e-06/24.08, allocations: 1.219 kB / 7.28 GB, free: 106.7 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3805/24.47, allocations: 196.6 MB / 7.472 GB, free: 96.71 MB / 1.104 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001686/24.47, allocations: 150.7 kB / 7.472 GB, free: 96.52 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/35.4, allocations: 0 / 7.472 GB, free: 96.52 MB / 1.104 GB (rm -f Buildings_8_Buildings.Fluid.Examples.SimpleHouse.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.SimpleHouse.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.SimpleHouse.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.SimpleHouse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Examples_SimpleHouse_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Examples_SimpleHouse.fmu > Buildings_8_Buildings.Fluid.Examples.SimpleHouse.pipe 2>&1)