Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.SimpleHouse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.SimpleHouse,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_SimpleHouse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.SimpleHouse,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_SimpleHouse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.581/1.581, allocations: 285.6 MB / 293.1 MB, free: 10.19 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.001032/0.001032, allocations: 172.9 kB / 361.4 MB, free: 6.832 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.409/1.409, allocations: 205.2 MB / 0.62 GB, free: 11.65 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.0007944/0.0007943, allocations: 90.36 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.286e-05/2.3e-05, allocations: 4 kB / 0.8518 GB, free: 2.652 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7003/0.7004, allocations: 115.3 MB / 0.9644 GB, free: 79.02 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.127/6.827, allocations: 2.411 GB / 3.375 GB, free: 109.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002371/6.827, allocations: 89.8 kB / 3.375 GB, free: 109.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 15.8/22.63, allocations: 3.675 GB / 7.051 GB, free: 78.64 MB / 1.073 GB Notification: Performance of FrontEnd: time 1.814e-06/22.63, allocations: 0 / 7.051 GB, free: 78.64 MB / 1.073 GB Notification: Performance of Transformations before backend: time 0.001341/22.63, allocations: 182.2 kB / 7.051 GB, free: 78.61 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.02401/22.65, allocations: 6.669 MB / 7.057 GB, free: 75.67 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/22.65, allocations: 10.59 kB / 7.057 GB, free: 75.67 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01753/22.67, allocations: 2.623 MB / 7.06 GB, free: 75.26 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02692/22.7, allocations: 7.75 MB / 7.067 GB, free: 74.21 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003966/22.7, allocations: 156.8 kB / 7.068 GB, free: 74.21 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00225/22.7, allocations: 290.1 kB / 7.068 GB, free: 74.21 MB / 1.073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01285/22.71, allocations: 4.816 MB / 7.073 GB, free: 74.19 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01644/22.73, allocations: 5.134 MB / 7.078 GB, free: 73.42 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002588/22.73, allocations: 12.97 kB / 7.078 GB, free: 73.41 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001803/22.73, allocations: 9.469 kB / 7.078 GB, free: 73.41 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002037/22.73, allocations: 199 kB / 7.078 GB, free: 73.4 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.05245/22.79, allocations: 25.89 MB / 7.103 GB, free: 61.22 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007651/22.79, allocations: 3.946 MB / 7.107 GB, free: 61.05 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00423/22.8, allocations: 2.212 MB / 7.109 GB, free: 61.01 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.0234/22.82, allocations: 8.41 MB / 7.117 GB, free: 59.34 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003226/22.82, allocations: 1.987 MB / 7.119 GB, free: 59.21 MB / 1.073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003511/22.83, allocations: 384.7 kB / 7.12 GB, free: 59.08 MB / 1.073 GB Notification: Performance of pre-optimization done (n=297): time 7.894e-06/22.83, allocations: 0 / 7.12 GB, free: 59.08 MB / 1.073 GB Notification: Performance of matching and sorting (n=297): time 0.00968/22.84, allocations: 4.005 MB / 7.124 GB, free: 58.59 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/22.84, allocations: 450.2 kB / 7.124 GB, free: 58.09 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008368/22.85, allocations: 4.08 MB / 7.128 GB, free: 57.69 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.001225/22.85, allocations: 32.23 kB / 7.128 GB, free: 57.66 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.003306/22.85, allocations: 3.001 MB / 7.131 GB, free: 56.68 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.001763/22.85, allocations: 0.9692 MB / 7.132 GB, free: 56.04 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000279/22.85, allocations: 0 / 7.132 GB, free: 56.04 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0002304/22.85, allocations: 459.9 kB / 7.132 GB, free: 55.72 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002439/22.86, allocations: 1.515 MB / 7.134 GB, free: 55.71 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003411/22.86, allocations: 2.725 MB / 7.136 GB, free: 54.32 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004765/22.86, allocations: 2.068 MB / 7.138 GB, free: 54.27 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-05/22.86, allocations: 10.44 kB / 7.138 GB, free: 54.27 MB / 1.073 GB Notification: Performance of matching and sorting (n=472) (initialization): time 0.01324/22.88, allocations: 5.095 MB / 7.143 GB, free: 53.82 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.003009/22.88, allocations: 13.36 MB / 7.156 GB, free: 39.93 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-05/22.88, allocations: 26.22 kB / 7.156 GB, free: 39.93 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002873/22.88, allocations: 0.6275 MB / 7.157 GB, free: 39.89 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004623/22.89, allocations: 0.8704 MB / 7.158 GB, free: 39.89 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006384/22.89, allocations: 5.532 MB / 7.163 GB, free: 35.88 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008191/22.9, allocations: 402.4 kB / 7.164 GB, free: 35.85 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0013/22.9, allocations: 197.6 kB / 7.164 GB, free: 35.85 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/22.9, allocations: 8.766 kB / 7.164 GB, free: 35.85 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01038/22.91, allocations: 4.338 MB / 7.168 GB, free: 35.71 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.58e-05/22.91, allocations: 27.59 kB / 7.168 GB, free: 35.71 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002849/22.92, allocations: 0.6442 MB / 7.169 GB, free: 35.67 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004239/22.92, allocations: 0.8528 MB / 7.17 GB, free: 35.67 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006252/22.93, allocations: 5.538 MB / 7.175 GB, free: 31.66 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006797/22.93, allocations: 380.8 kB / 7.175 GB, free: 31.64 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001/22.94, allocations: 182.4 kB / 7.176 GB, free: 31.64 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.00135/22.94, allocations: 229.3 kB / 7.176 GB, free: 31.51 MB / 1.073 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009341/22.95, allocations: 3.815 MB / 7.18 GB, free: 31.02 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002172/22.95, allocations: 0.548 MB / 7.18 GB, free: 30.73 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0115/22.96, allocations: 4.478 MB / 7.184 GB, free: 30.41 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.532e-05/22.96, allocations: 32 kB / 7.184 GB, free: 30.41 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-05/22.96, allocations: 3.938 kB / 7.184 GB, free: 30.41 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007423/22.97, allocations: 3.481 MB / 7.188 GB, free: 30.08 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.02826/23, allocations: 9.307 MB / 7.197 GB, free: 29.31 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-05/23, allocations: 3.875 kB / 7.197 GB, free: 29.31 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00317/23, allocations: 0.6259 MB / 7.198 GB, free: 29.29 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001606/23, allocations: 458.1 kB / 7.198 GB, free: 29.21 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003552/23, allocations: 59.47 kB / 7.198 GB, free: 29.21 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008267/23.01, allocations: 11.29 MB / 7.209 GB, free: 19.72 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.887e-06/23.01, allocations: 6.906 kB / 7.209 GB, free: 19.71 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01298/23.02, allocations: 6.749 MB / 7.216 GB, free: 18.25 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004547/23.03, allocations: 1.136 MB / 7.217 GB, free: 17.86 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001845/23.03, allocations: 15.56 kB / 7.217 GB, free: 17.86 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005495/23.03, allocations: 351.3 kB / 7.217 GB, free: 17.84 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005283/23.04, allocations: 229.2 kB / 7.217 GB, free: 17.83 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004534/23.04, allocations: 144.4 kB / 7.218 GB, free: 17.83 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.007779/23.04, allocations: 3.054 MB / 7.221 GB, free: 17.61 MB / 1.073 GB Notification: Performance of sort global known variables: time 1.7e-07/23.04, allocations: 0 / 7.221 GB, free: 17.61 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.02689/23.07, allocations: 3.755 MB / 7.224 GB, free: 17.06 MB / 1.073 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.02731/23.1, allocations: 15.09 MB / 7.239 GB, free: 10.07 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.01565/23.11, allocations: 6.759 MB / 7.246 GB, free: 23.36 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 1.726e-05/23.11, allocations: 7.062 kB / 7.246 GB, free: 23.36 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.004396/23.12, allocations: 2.568 MB / 7.248 GB, free: 21.97 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01466/23.13, allocations: 2.401 MB / 7.25 GB, free: 21.5 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03496/23.17, allocations: 10.94 MB / 7.261 GB, free: 14.24 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005057/23.17, allocations: 3.803 MB / 7.265 GB, free: 11.44 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.01467/23.19, allocations: 2.788 MB / 7.267 GB, free: 9.66 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00682/23.19, allocations: 2.706 MB / 7.27 GB, free: 7.184 MB / 1.089 GB Notification: Performance of SimCode: time 1.814e-06/23.19, allocations: 0 / 7.27 GB, free: 7.184 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.353/24.55, allocations: 196.6 MB / 7.462 GB, free: 100.2 MB / 1.104 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002008/24.55, allocations: 161.5 kB / 7.462 GB, free: 100 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.67/35.21, allocations: 0 / 7.462 GB, free: 100 MB / 1.104 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.SimpleHouse.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.SimpleHouse.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.SimpleHouse.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.SimpleHouse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Examples_SimpleHouse_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Examples_SimpleHouse.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Examples.SimpleHouse.pipe 2>&1)