Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.SimpleHouse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.SimpleHouse,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_SimpleHouse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.SimpleHouse,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_SimpleHouse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.349/2.349, allocations: 387.4 MB / 394.9 MB, free: 13.36 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 184.8 kB / 487.4 MB, free: 5.039 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.628/1.628, allocations: 221.5 MB / 0.7824 GB, free: 1.02 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 91.91 kB / 0.9219 GB, free: 2.25 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.691e-05/1.677e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.295/0.295, allocations: 142.4 MB / 1.206 GB, free: 43.9 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.72/6.015, allocations: 2.24 GB / 3.446 GB, free: 82.21 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002182/6.015, allocations: 87.95 kB / 3.446 GB, free: 82.13 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 15.5/21.51, allocations: 3.725 GB / 7.171 GB, free: 135.2 MB / 1.276 GB Notification: Performance of FrontEnd: time 2.135e-06/21.51, allocations: 0 / 7.171 GB, free: 135.2 MB / 1.276 GB Notification: Performance of Transformations before backend: time 0.001237/21.51, allocations: 175.4 kB / 7.171 GB, free: 135.1 MB / 1.276 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1201 * Number of variables: 1201 Notification: Performance of Generate backend data structure: time 0.02465/21.54, allocations: 6.711 MB / 7.178 GB, free: 132.8 MB / 1.276 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/21.54, allocations: 15.73 kB / 7.178 GB, free: 132.8 MB / 1.276 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0179/21.56, allocations: 2.797 MB / 7.181 GB, free: 132.4 MB / 1.276 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0229/21.58, allocations: 7.877 MB / 7.188 GB, free: 131.4 MB / 1.276 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003222/21.58, allocations: 155.2 kB / 7.189 GB, free: 131.4 MB / 1.276 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001871/21.58, allocations: 288 kB / 7.189 GB, free: 131.4 MB / 1.276 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01096/21.59, allocations: 4.833 MB / 7.194 GB, free: 131.3 MB / 1.276 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009807/21.6, allocations: 5.142 MB / 7.199 GB, free: 130.6 MB / 1.276 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000107/21.6, allocations: 9.812 kB / 7.199 GB, free: 130.6 MB / 1.276 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005733/21.6, allocations: 8.375 kB / 7.199 GB, free: 130.6 MB / 1.276 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002387/21.6, allocations: 200.4 kB / 7.199 GB, free: 130.6 MB / 1.276 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.04812/21.65, allocations: 26.04 MB / 7.224 GB, free: 118.4 MB / 1.276 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007081/21.66, allocations: 4.036 MB / 7.228 GB, free: 118.2 MB / 1.276 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00338/21.66, allocations: 2.155 MB / 7.23 GB, free: 118.2 MB / 1.276 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.02231/21.68, allocations: 8.474 MB / 7.239 GB, free: 116.5 MB / 1.276 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003444/21.69, allocations: 2.007 MB / 7.241 GB, free: 116.4 MB / 1.276 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004069/21.69, allocations: 377.3 kB / 7.241 GB, free: 116.3 MB / 1.276 GB Notification: Performance of pre-optimization done (n=298): time 7.043e-06/21.69, allocations: 0 / 7.241 GB, free: 116.3 MB / 1.276 GB Notification: Performance of matching and sorting (n=298): time 0.009754/21.7, allocations: 4.032 MB / 7.245 GB, free: 115.8 MB / 1.276 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/21.7, allocations: 372.5 kB / 7.245 GB, free: 115.4 MB / 1.276 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007108/21.71, allocations: 4.106 MB / 7.249 GB, free: 115 MB / 1.276 GB Notification: Performance of collectPreVariables (initialization): time 0.001175/21.71, allocations: 33.7 kB / 7.249 GB, free: 115 MB / 1.276 GB Notification: Performance of collectInitialEqns (initialization): time 0.003691/21.71, allocations: 2.984 MB / 7.252 GB, free: 114 MB / 1.276 GB Notification: Performance of collectInitialBindings (initialization): time 0.001942/21.72, allocations: 0.9699 MB / 7.253 GB, free: 113.3 MB / 1.276 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002681/21.72, allocations: 0 / 7.253 GB, free: 113.3 MB / 1.276 GB Notification: Performance of setup shared object (initialization): time 0.00025/21.72, allocations: 455.3 kB / 7.254 GB, free: 113 MB / 1.276 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002433/21.72, allocations: 1.521 MB / 7.255 GB, free: 113 MB / 1.276 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003258/21.72, allocations: 2.672 MB / 7.258 GB, free: 111.7 MB / 1.276 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004308/21.73, allocations: 2.058 MB / 7.26 GB, free: 111.6 MB / 1.276 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.95e-05/21.73, allocations: 7.688 kB / 7.26 GB, free: 111.6 MB / 1.276 GB Notification: Performance of matching and sorting (n=469) (initialization): time 0.01187/21.74, allocations: 5.127 MB / 7.265 GB, free: 111.2 MB / 1.276 GB Notification: Performance of prepare postOptimizeDAE: time 0.002597/21.74, allocations: 13.35 MB / 7.278 GB, free: 97.32 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.024e-05/21.74, allocations: 33.27 kB / 7.278 GB, free: 97.32 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002795/21.74, allocations: 0.6133 MB / 7.278 GB, free: 97.29 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004879/21.75, allocations: 0.9268 MB / 7.279 GB, free: 97.29 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006267/21.76, allocations: 5.516 MB / 7.285 GB, free: 93.29 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008172/21.76, allocations: 441.2 kB / 7.285 GB, free: 93.25 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001247/21.76, allocations: 197.5 kB / 7.285 GB, free: 93.25 MB / 1.276 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/21.76, allocations: 3.938 kB / 7.285 GB, free: 93.25 MB / 1.276 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009948/21.77, allocations: 4.362 MB / 7.29 GB, free: 93.11 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.907e-05/21.77, allocations: 29.22 kB / 7.29 GB, free: 93.11 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002693/21.78, allocations: 0.6435 MB / 7.29 GB, free: 93.07 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004137/21.78, allocations: 0.8988 MB / 7.291 GB, free: 93.07 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006345/21.79, allocations: 5.531 MB / 7.296 GB, free: 89.07 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007144/21.79, allocations: 394.4 kB / 7.297 GB, free: 89.05 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009373/21.8, allocations: 186.7 kB / 7.297 GB, free: 89.05 MB / 1.276 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 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 (441): * Single equations (assignments): 434 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * 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.001318/21.8, allocations: 221.7 kB / 7.297 GB, free: 88.92 MB / 1.276 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009582/21.81, allocations: 3.836 MB / 7.301 GB, free: 88.43 MB / 1.276 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002214/21.81, allocations: 0.5485 MB / 7.301 GB, free: 88.14 MB / 1.276 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01056/21.82, allocations: 4.521 MB / 7.306 GB, free: 87.82 MB / 1.276 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.46e-05/21.82, allocations: 35 kB / 7.306 GB, free: 87.82 MB / 1.276 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/21.82, allocations: 2.938 kB / 7.306 GB, free: 87.82 MB / 1.276 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006745/21.83, allocations: 3.507 MB / 7.309 GB, free: 87.49 MB / 1.276 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.02163/21.85, allocations: 9.381 MB / 7.319 GB, free: 86.73 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-05/21.85, allocations: 3.5 kB / 7.319 GB, free: 86.73 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00323/21.85, allocations: 0.6422 MB / 7.319 GB, free: 86.73 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001537/21.85, allocations: 466.2 kB / 7.32 GB, free: 86.66 MB / 1.276 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003592/21.85, allocations: 58.97 kB / 7.32 GB, free: 86.66 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008208/21.86, allocations: 11.33 MB / 7.331 GB, free: 77.22 MB / 1.276 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.073e-06/21.86, allocations: 3.406 kB / 7.331 GB, free: 77.22 MB / 1.276 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01272/21.87, allocations: 6.754 MB / 7.337 GB, free: 75.77 MB / 1.276 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004301/21.88, allocations: 1.149 MB / 7.338 GB, free: 75.38 MB / 1.276 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001871/21.88, allocations: 18.64 kB / 7.338 GB, free: 75.37 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005543/21.89, allocations: 371.1 kB / 7.339 GB, free: 75.36 MB / 1.276 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004659/21.89, allocations: 227.5 kB / 7.339 GB, free: 75.35 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004052/21.89, allocations: 151.1 kB / 7.339 GB, free: 75.35 MB / 1.276 GB Notification: Performance of sorting global known variables: time 0.005521/21.89, allocations: 3.071 MB / 7.342 GB, free: 75.13 MB / 1.276 GB Notification: Performance of sort global known variables: time 3e-07/21.89, allocations: 0 / 7.342 GB, free: 75.13 MB / 1.276 GB Notification: Performance of remove unused functions: time 0.0195/21.91, allocations: 3.75 MB / 7.346 GB, free: 74.59 MB / 1.276 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 10 (walCap.T,zone.dynBal.medium.Xi[1],zone.dynBal.U,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.s[1],vavDam.filter.s[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%) 2,(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.02425/21.94, allocations: 15.06 MB / 7.361 GB, free: 69.04 MB / 1.276 GB Notification: Performance of simCode: created initialization part: time 0.01316/21.95, allocations: 6.688 MB / 7.367 GB, free: 68.5 MB / 1.276 GB Notification: Performance of simCode: created event and clocks part: time 1.552e-05/21.95, allocations: 4.719 kB / 7.367 GB, free: 68.5 MB / 1.276 GB Notification: Performance of simCode: created simulation system equations: time 0.003851/21.95, allocations: 2.597 MB / 7.37 GB, free: 67.77 MB / 1.276 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01357/21.97, allocations: 2.39 MB / 7.372 GB, free: 67.73 MB / 1.276 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03406/22, allocations: 10.99 MB / 7.383 GB, free: 65.25 MB / 1.276 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004842/22.01, allocations: 3.814 MB / 7.386 GB, free: 64.39 MB / 1.276 GB Notification: Performance of simCode: alias equations: time 0.01331/22.02, allocations: 2.818 MB / 7.389 GB, free: 64.34 MB / 1.276 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00483/22.02, allocations: 2.706 MB / 7.392 GB, free: 64.33 MB / 1.276 GB Notification: Performance of SimCode: time 7.11e-07/22.02, allocations: 0 / 7.392 GB, free: 64.33 MB / 1.276 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3082/22.33, allocations: 195.8 MB / 7.583 GB, free: 2.398 MB / 1.276 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001911/22.33, allocations: 152.1 kB / 7.583 GB, free: 2.207 MB / 1.276 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/33.59, allocations: 3.984 kB / 7.583 GB, free: 2.203 MB / 1.276 GB (rm -f Buildings_9_Buildings.Fluid.Examples.SimpleHouse.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.SimpleHouse.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.SimpleHouse.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.SimpleHouse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Examples.SimpleHouse_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Examples_SimpleHouse_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Examples_SimpleHouse.fmu > Buildings_9_Buildings.Fluid.Examples.SimpleHouse.pipe 2>&1)