Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.SimpleHouse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.SimpleHouse,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_SimpleHouse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.SimpleHouse,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.634/2.634, allocations: 284.9 MB / 292.4 MB, free: 10.48 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.001509/0.001509, allocations: 184.8 kB / 360.6 MB, free: 7.273 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.988/1.988, allocations: 205.3 MB / 0.6191 GB, free: 12.2 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.001196/0.001195, allocations: 95.25 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.42e-05/2.431e-05, allocations: 4 kB / 0.8508 GB, free: 3.355 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7912/0.7913, allocations: 115.3 MB / 0.9634 GB, free: 78.45 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.047/7.839, allocations: 2.411 GB / 3.374 GB, free: 67.24 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002824/7.839, allocations: 91.45 kB / 3.374 GB, free: 67.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 20.33/28.17, allocations: 3.675 GB / 7.049 GB, free: 77.2 MB / 1.073 GB Notification: Performance of FrontEnd: time 2.134e-06/28.17, allocations: 3.344 kB / 7.049 GB, free: 77.2 MB / 1.073 GB Notification: Performance of Transformations before backend: time 0.001449/28.17, allocations: 172.6 kB / 7.05 GB, free: 77.18 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.02826/28.2, allocations: 6.68 MB / 7.056 GB, free: 74.17 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 5.156e-05/28.2, allocations: 13.78 kB / 7.056 GB, free: 74.17 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02876/28.23, allocations: 2.624 MB / 7.059 GB, free: 73.75 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03909/28.27, allocations: 7.752 MB / 7.066 GB, free: 72.71 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005014/28.27, allocations: 153.9 kB / 7.066 GB, free: 72.71 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002506/28.27, allocations: 285.5 kB / 7.067 GB, free: 72.71 MB / 1.073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0168/28.29, allocations: 4.811 MB / 7.071 GB, free: 72.69 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02062/28.31, allocations: 5.139 MB / 7.076 GB, free: 71.91 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002753/28.31, allocations: 12.72 kB / 7.076 GB, free: 71.91 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001938/28.31, allocations: 9.5 kB / 7.076 GB, free: 71.91 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002714/28.31, allocations: 197.8 kB / 7.077 GB, free: 71.89 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.06962/28.38, allocations: 25.9 MB / 7.102 GB, free: 59.7 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01204/28.39, allocations: 3.945 MB / 7.106 GB, free: 59.53 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006994/28.4, allocations: 2.216 MB / 7.108 GB, free: 59.5 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.03349/28.43, allocations: 8.41 MB / 7.116 GB, free: 57.83 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0053/28.44, allocations: 1.985 MB / 7.118 GB, free: 57.7 MB / 1.073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004572/28.44, allocations: 378.3 kB / 7.118 GB, free: 57.57 MB / 1.073 GB Notification: Performance of pre-optimization done (n=297): time 2.226e-05/28.44, allocations: 0 / 7.118 GB, free: 57.57 MB / 1.073 GB Notification: Performance of matching and sorting (n=297): time 0.01724/28.46, allocations: 4.003 MB / 7.122 GB, free: 57.09 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001535/28.46, allocations: 454.6 kB / 7.123 GB, free: 56.58 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01116/28.47, allocations: 4.08 MB / 7.127 GB, free: 56.18 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.001271/28.47, allocations: 34.17 kB / 7.127 GB, free: 56.15 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.004154/28.48, allocations: 3.003 MB / 7.13 GB, free: 55.17 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.001875/28.48, allocations: 0.9711 MB / 7.131 GB, free: 54.52 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004499/28.48, allocations: 0 / 7.131 GB, free: 54.52 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0003073/28.48, allocations: 451.4 kB / 7.131 GB, free: 54.21 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003765/28.48, allocations: 1.518 MB / 7.133 GB, free: 54.21 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005077/28.49, allocations: 2.728 MB / 7.135 GB, free: 52.81 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007267/28.5, allocations: 2.063 MB / 7.137 GB, free: 52.75 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.255e-05/28.5, allocations: 10.62 kB / 7.137 GB, free: 52.75 MB / 1.073 GB Notification: Performance of matching and sorting (n=472) (initialization): time 0.01931/28.51, allocations: 5.1 MB / 7.142 GB, free: 52.31 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.002937/28.52, allocations: 13.35 MB / 7.155 GB, free: 38.42 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001555/28.52, allocations: 31.78 kB / 7.155 GB, free: 38.42 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005109/28.52, allocations: 0.614 MB / 7.156 GB, free: 38.38 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007949/28.53, allocations: 0.8763 MB / 7.157 GB, free: 38.38 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009503/28.54, allocations: 5.533 MB / 7.162 GB, free: 34.37 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01043/28.55, allocations: 410.1 kB / 7.163 GB, free: 34.34 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00137/28.55, allocations: 197.3 kB / 7.163 GB, free: 34.34 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/28.55, allocations: 5.797 kB / 7.163 GB, free: 34.34 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01654/28.57, allocations: 4.339 MB / 7.167 GB, free: 34.13 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000118/28.57, allocations: 31.09 kB / 7.167 GB, free: 34.13 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004843/28.57, allocations: 0.6349 MB / 7.168 GB, free: 34.09 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007639/28.58, allocations: 0.8538 MB / 7.168 GB, free: 34.03 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009396/28.59, allocations: 5.533 MB / 7.174 GB, free: 29.99 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009611/28.6, allocations: 371.3 kB / 7.174 GB, free: 29.97 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001339/28.6, allocations: 190.2 kB / 7.174 GB, free: 29.97 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.001665/28.6, allocations: 228.6 kB / 7.175 GB, free: 29.78 MB / 1.073 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01525/28.62, allocations: 3.82 MB / 7.178 GB, free: 29.27 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002929/28.62, allocations: 0.5454 MB / 7.179 GB, free: 28.98 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01747/28.64, allocations: 4.474 MB / 7.183 GB, free: 28.65 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.353e-05/28.64, allocations: 37.69 kB / 7.183 GB, free: 28.65 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.284e-05/28.64, allocations: 0 / 7.183 GB, free: 28.65 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01186/28.65, allocations: 3.481 MB / 7.187 GB, free: 28.31 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.03342/28.69, allocations: 9.313 MB / 7.196 GB, free: 27.5 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.622e-05/28.69, allocations: 3.594 kB / 7.196 GB, free: 27.5 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006341/28.69, allocations: 0.6222 MB / 7.196 GB, free: 27.47 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00258/28.69, allocations: 463.6 kB / 7.197 GB, free: 27.4 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007771/28.69, allocations: 56.55 kB / 7.197 GB, free: 27.4 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01273/28.71, allocations: 11.29 MB / 7.208 GB, free: 33.91 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.306e-06/28.71, allocations: 3.781 kB / 7.208 GB, free: 33.91 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01955/28.73, allocations: 6.752 MB / 7.215 GB, free: 31.03 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005408/28.73, allocations: 1.136 MB / 7.216 GB, free: 30.38 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002347/28.74, allocations: 17.8 kB / 7.216 GB, free: 30.37 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009131/28.74, allocations: 352.6 kB / 7.216 GB, free: 30.36 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0011/28.75, allocations: 233.2 kB / 7.216 GB, free: 30.32 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006325/28.75, allocations: 145.5 kB / 7.216 GB, free: 30.29 MB / 1.089 GB Notification: Performance of sorting global known variables: time 0.00818/28.75, allocations: 3.048 MB / 7.219 GB, free: 29.08 MB / 1.089 GB Notification: Performance of sort global known variables: time 1.062e-06/28.75, allocations: 0 / 7.219 GB, free: 29.08 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.02527/28.78, allocations: 3.75 MB / 7.223 GB, free: 28.2 MB / 1.089 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.03542/28.82, allocations: 15.07 MB / 7.238 GB, free: 20.48 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.02078/28.84, allocations: 6.761 MB / 7.244 GB, free: 14.81 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-05/28.84, allocations: 1.531 kB / 7.244 GB, free: 14.81 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.006719/28.84, allocations: 2.579 MB / 7.247 GB, free: 12.35 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02206/28.86, allocations: 2.404 MB / 7.249 GB, free: 10.62 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04501/28.91, allocations: 10.94 MB / 7.26 GB, free: 1.031 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00818/28.92, allocations: 3.808 MB / 7.264 GB, free: 14.23 MB / 1.104 GB Notification: Performance of simCode: alias equations: time 0.0236/28.94, allocations: 2.785 MB / 7.266 GB, free: 12.45 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0081/28.95, allocations: 2.713 MB / 7.269 GB, free: 9.969 MB / 1.104 GB Notification: Performance of SimCode: time 1.393e-06/28.95, allocations: 0 / 7.269 GB, free: 9.969 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.501/30.45, allocations: 196.5 MB / 7.461 GB, free: 103.5 MB / 1.104 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002465/30.45, allocations: 157.5 kB / 7.461 GB, free: 103.3 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.52/44.97, allocations: 3.656 kB / 7.461 GB, free: 103.3 MB / 1.104 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.SimpleHouse.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.SimpleHouse.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.SimpleHouse.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.SimpleHouse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Examples_SimpleHouse_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Examples_SimpleHouse.fmu > Buildings_8.0.0_Buildings.Fluid.Examples.SimpleHouse.pipe 2>&1)