Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.SimpleHouse.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.SimpleHouse,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.248/2.248, allocations: 248.7 MB / 256.2 MB, free: 7.043 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001528/0.001527, allocations: 174.5 kB / 315.4 MB, free: 4.043 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.018/2.018, allocations: 205.3 MB / 0.5662 GB, free: 0.6445 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001119/0.001113, allocations: 89.27 kB / 0.6704 GB, free: 5.852 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.535e-05/2.533e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2124/0.2125, allocations: 106.3 MB / 0.8841 GB, free: 13.02 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.074/8.287, allocations: 2.528 GB / 3.412 GB, free: 148.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003044/8.287, allocations: 91.95 kB / 3.412 GB, free: 148.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 19.33/27.62, allocations: 3.571 GB / 6.984 GB, free: 56.71 MB / 0.9948 GB Notification: Performance of FrontEnd: time 3.256e-06/27.62, allocations: 0 / 6.984 GB, free: 56.71 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.00149/27.62, allocations: 177.5 kB / 6.984 GB, free: 56.68 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1200 * Number of variables: 1200 Notification: Performance of Generate backend data structure: time 0.02932/27.65, allocations: 6.681 MB / 6.99 GB, free: 53.59 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.504e-05/27.65, allocations: 7.625 kB / 6.99 GB, free: 53.59 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02678/27.67, allocations: 2.611 MB / 6.993 GB, free: 53.08 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03624/27.71, allocations: 7.739 MB / 7 GB, free: 51.87 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004502/27.71, allocations: 153.6 kB / 7.001 GB, free: 51.87 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00245/27.71, allocations: 294.8 kB / 7.001 GB, free: 51.86 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01681/27.73, allocations: 4.821 MB / 7.006 GB, free: 51.83 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0207/27.75, allocations: 5.112 MB / 7.011 GB, free: 51.02 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002448/27.75, allocations: 15.47 kB / 7.011 GB, free: 51.01 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001878/27.75, allocations: 7.312 kB / 7.011 GB, free: 51.01 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002442/27.75, allocations: 192.4 kB / 7.011 GB, free: 51 MB / 0.9948 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.06895/27.82, allocations: 25.91 MB / 7.036 GB, free: 34.88 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01247/27.83, allocations: 3.956 MB / 7.04 GB, free: 33.17 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006924/27.84, allocations: 2.213 MB / 7.042 GB, free: 31.36 MB / 0.9948 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.03509/27.88, allocations: 8.363 MB / 7.05 GB, free: 24.57 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005765/27.88, allocations: 1.969 MB / 7.052 GB, free: 22.97 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006295/27.89, allocations: 373.8 kB / 7.053 GB, free: 22.67 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=297): time 4.45e-05/27.89, allocations: 3.938 kB / 7.053 GB, free: 22.67 MB / 0.9948 GB Notification: Performance of matching and sorting (n=297): time 0.02535/27.91, allocations: 3.995 MB / 7.056 GB, free: 19.14 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002103/27.91, allocations: 453.4 kB / 7.057 GB, free: 18.6 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01701/27.93, allocations: 4.08 MB / 7.061 GB, free: 14.98 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.001516/27.93, allocations: 33.7 kB / 7.061 GB, free: 14.94 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.006396/27.94, allocations: 3.006 MB / 7.064 GB, free: 12.2 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002632/27.94, allocations: 0.9631 MB / 7.065 GB, free: 11.31 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009901/27.94, allocations: 0 / 7.065 GB, free: 11.31 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0004882/27.94, allocations: 459.8 kB / 7.065 GB, free: 10.9 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006111/27.95, allocations: 1.512 MB / 7.067 GB, free: 9.539 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008154/27.96, allocations: 2.729 MB / 7.069 GB, free: 6.387 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01087/27.97, allocations: 2.07 MB / 7.071 GB, free: 4.301 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.745e-05/27.97, allocations: 8 kB / 7.071 GB, free: 4.293 MB / 0.9948 GB Notification: Performance of matching and sorting (n=472) (initialization): time 0.03158/28, allocations: 5.096 MB / 7.076 GB, free: 15.14 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.006688/28.01, allocations: 13.35 MB / 7.089 GB, free: 0.8594 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001814/28.01, allocations: 28 kB / 7.089 GB, free: 0.832 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005494/28.01, allocations: 0.6236 MB / 7.09 GB, free: 208 kB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008579/28.02, allocations: 0.8806 MB / 7.091 GB, free: 15.32 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01149/28.03, allocations: 5.51 MB / 7.096 GB, free: 9.508 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01089/28.04, allocations: 407.4 kB / 7.097 GB, free: 9.109 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001541/28.05, allocations: 195.9 kB / 7.097 GB, free: 8.918 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/28.05, allocations: 4 kB / 7.097 GB, free: 8.914 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02008/28.07, allocations: 4.335 MB / 7.101 GB, free: 4.535 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001406/28.07, allocations: 31.95 kB / 7.101 GB, free: 4.504 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005389/28.07, allocations: 0.6435 MB / 7.102 GB, free: 3.855 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008061/28.08, allocations: 0.8529 MB / 7.103 GB, free: 3.004 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.9575/29.04, allocations: 5.496 MB / 7.108 GB, free: 99.57 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01007/29.05, allocations: 373.2 kB / 7.108 GB, free: 99.57 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001489/29.05, allocations: 186.4 kB / 7.108 GB, free: 99.57 MB / 1.026 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.001803/29.05, allocations: 224.8 kB / 7.109 GB, free: 99.46 MB / 1.026 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01882/29.07, allocations: 3.811 MB / 7.112 GB, free: 99.27 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003134/29.07, allocations: 0.546 MB / 7.113 GB, free: 99.25 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02078/29.09, allocations: 4.477 MB / 7.117 GB, free: 98.96 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.7e-05/29.09, allocations: 35.34 kB / 7.117 GB, free: 98.96 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.232e-05/29.09, allocations: 3.359 kB / 7.117 GB, free: 98.96 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.016/29.11, allocations: 3.481 MB / 7.121 GB, free: 98.64 MB / 1.026 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.03982/29.15, allocations: 9.272 MB / 7.13 GB, free: 97.89 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.493e-05/29.15, allocations: 7.25 kB / 7.13 GB, free: 97.89 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006734/29.16, allocations: 0.6219 MB / 7.13 GB, free: 97.89 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002851/29.16, allocations: 456 kB / 7.131 GB, free: 97.82 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009301/29.16, allocations: 60 kB / 7.131 GB, free: 97.82 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01286/29.17, allocations: 11.26 MB / 7.142 GB, free: 88.41 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.155e-05/29.17, allocations: 4.625 kB / 7.142 GB, free: 88.41 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02073/29.19, allocations: 6.745 MB / 7.148 GB, free: 86.96 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005582/29.2, allocations: 1.128 MB / 7.15 GB, free: 86.57 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002309/29.2, allocations: 17.56 kB / 7.15 GB, free: 86.57 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009195/29.21, allocations: 352.4 kB / 7.15 GB, free: 86.56 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00119/29.21, allocations: 233 kB / 7.15 GB, free: 86.55 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006406/29.21, allocations: 141.9 kB / 7.15 GB, free: 86.55 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.009111/29.22, allocations: 3.053 MB / 7.153 GB, free: 86.34 MB / 1.026 GB Notification: Performance of sort global known variables: time 1.263e-06/29.22, allocations: 3.219 kB / 7.153 GB, free: 86.34 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.02568/29.25, allocations: 3.711 MB / 7.157 GB, free: 86.11 MB / 1.026 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.03594/29.28, allocations: 15.05 MB / 7.172 GB, free: 80.7 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.02121/29.31, allocations: 6.744 MB / 7.178 GB, free: 80.13 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.728e-05/29.31, allocations: 4.75 kB / 7.178 GB, free: 80.13 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.006842/29.31, allocations: 2.584 MB / 7.181 GB, free: 79.39 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02047/29.33, allocations: 2.41 MB / 7.183 GB, free: 79.35 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04164/29.37, allocations: 10.93 MB / 7.194 GB, free: 77.04 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007876/29.38, allocations: 3.811 MB / 7.197 GB, free: 76.17 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.02192/29.4, allocations: 2.78 MB / 7.2 GB, free: 76.12 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007181/29.41, allocations: 2.704 MB / 7.203 GB, free: 76.12 MB / 1.026 GB Notification: Performance of SimCode: time 1.583e-06/29.41, allocations: 1 kB / 7.203 GB, free: 76.12 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4649/29.88, allocations: 195.9 MB / 7.394 GB, free: 43.43 MB / 1.026 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002139/29.88, allocations: 161.5 kB / 7.394 GB, free: 43.23 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.67/44.55, allocations: 0 / 7.394 GB, free: 43.23 MB / 1.026 GB