Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.SimpleHouse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.SimpleHouse,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_SimpleHouse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.SimpleHouse,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.423/1.423, allocations: 249.5 MB / 257 MB, free: 6.984 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.001091/0.001091, allocations: 176.9 kB / 316.3 MB, free: 3.207 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.569/1.569, allocations: 205.3 MB / 0.5671 GB, free: 15.78 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009262/0.000926, allocations: 84.36 kB / 0.6714 GB, free: 4.898 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.856e-05/1.874e-05, allocations: 0 / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2233/0.2234, allocations: 106.3 MB / 0.8853 GB, free: 12.13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.77/6.993, allocations: 2.528 GB / 3.414 GB, free: 218.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002361/6.993, allocations: 91.95 kB / 3.414 GB, free: 218.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 13.64/20.63, allocations: 3.571 GB / 6.985 GB, free: 67.95 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.074e-06/20.63, allocations: 0 / 6.985 GB, free: 67.95 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.00127/20.64, allocations: 177.7 kB / 6.985 GB, free: 67.93 MB / 1.01 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.02373/20.66, allocations: 6.686 MB / 6.992 GB, free: 64.9 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/20.66, allocations: 9.5 kB / 6.992 GB, free: 64.9 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01668/20.68, allocations: 2.6 MB / 6.994 GB, free: 64.49 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02561/20.7, allocations: 7.748 MB / 7.002 GB, free: 63.45 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003945/20.7, allocations: 156.9 kB / 7.002 GB, free: 63.45 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002322/20.7, allocations: 287.9 kB / 7.002 GB, free: 63.45 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01163/20.72, allocations: 4.81 MB / 7.007 GB, free: 63.42 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01581/20.73, allocations: 5.12 MB / 7.012 GB, free: 62.65 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002301/20.73, allocations: 9.281 kB / 7.012 GB, free: 62.65 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00121/20.73, allocations: 9.469 kB / 7.012 GB, free: 62.65 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001732/20.73, allocations: 202.6 kB / 7.012 GB, free: 62.64 MB / 1.01 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.0455/20.78, allocations: 25.91 MB / 7.037 GB, free: 50.38 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007151/20.79, allocations: 3.948 MB / 7.041 GB, free: 50.21 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003679/20.79, allocations: 2.216 MB / 7.043 GB, free: 50.17 MB / 1.01 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.01837/20.81, allocations: 8.367 MB / 7.052 GB, free: 48.49 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002822/20.81, allocations: 1.962 MB / 7.054 GB, free: 48.36 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003564/20.81, allocations: 383.6 kB / 7.054 GB, free: 48.23 MB / 1.01 GB Notification: Performance of pre-optimization done (n=297): time 6.532e-06/20.81, allocations: 0 / 7.054 GB, free: 48.23 MB / 1.01 GB Notification: Performance of matching and sorting (n=297): time 0.009983/20.82, allocations: 4.006 MB / 7.058 GB, free: 47.75 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001377/20.83, allocations: 448 kB / 7.058 GB, free: 47.24 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008092/20.83, allocations: 4.084 MB / 7.062 GB, free: 46.84 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.00136/20.83, allocations: 32.05 kB / 7.062 GB, free: 46.81 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.003089/20.84, allocations: 2.987 MB / 7.065 GB, free: 45.84 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.001558/20.84, allocations: 0.9752 MB / 7.066 GB, free: 45.2 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00024/20.84, allocations: 2 kB / 7.066 GB, free: 45.2 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.000208/20.84, allocations: 454.7 kB / 7.067 GB, free: 44.89 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002186/20.84, allocations: 1.513 MB / 7.068 GB, free: 44.88 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00273/20.84, allocations: 2.727 MB / 7.071 GB, free: 43.47 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00379/20.85, allocations: 2.068 MB / 7.073 GB, free: 43.39 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.947e-05/20.85, allocations: 7.812 kB / 7.073 GB, free: 43.39 MB / 1.01 GB Notification: Performance of matching and sorting (n=472) (initialization): time 0.01122/20.86, allocations: 5.09 MB / 7.078 GB, free: 42.8 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.002731/20.86, allocations: 13.36 MB / 7.091 GB, free: 28.9 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.057e-05/20.86, allocations: 28.06 kB / 7.091 GB, free: 28.9 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002811/20.87, allocations: 0.6317 MB / 7.091 GB, free: 28.85 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004259/20.87, allocations: 0.8726 MB / 7.092 GB, free: 28.8 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005787/20.88, allocations: 5.509 MB / 7.098 GB, free: 24.77 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006794/20.88, allocations: 406.7 kB / 7.098 GB, free: 24.73 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009946/20.88, allocations: 197.5 kB / 7.098 GB, free: 24.73 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/20.88, allocations: 4.688 kB / 7.098 GB, free: 24.73 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00904/20.89, allocations: 4.332 MB / 7.102 GB, free: 24.44 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.373e-05/20.89, allocations: 32.94 kB / 7.102 GB, free: 24.44 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002649/20.9, allocations: 0.643 MB / 7.103 GB, free: 24.4 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003756/20.9, allocations: 0.8534 MB / 7.104 GB, free: 24.34 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005834/20.9, allocations: 5.509 MB / 7.109 GB, free: 20.3 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006796/20.91, allocations: 377.4 kB / 7.11 GB, free: 20.27 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009649/20.91, allocations: 188.2 kB / 7.11 GB, free: 20.26 MB / 1.01 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.001292/20.91, allocations: 229.6 kB / 7.11 GB, free: 20.08 MB / 1.01 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00907/20.92, allocations: 3.8 MB / 7.114 GB, free: 19.58 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001831/20.92, allocations: 0.5454 MB / 7.114 GB, free: 19.29 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009624/20.93, allocations: 4.477 MB / 7.119 GB, free: 18.94 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.54e-05/20.93, allocations: 39.62 kB / 7.119 GB, free: 18.93 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/20.93, allocations: 3.953 kB / 7.119 GB, free: 18.93 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006148/20.94, allocations: 3.492 MB / 7.122 GB, free: 17.6 MB / 1.01 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.02215/20.96, allocations: 9.259 MB / 7.131 GB, free: 13.97 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.525e-05/20.96, allocations: 3.969 kB / 7.131 GB, free: 13.97 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003171/20.97, allocations: 0.6243 MB / 7.132 GB, free: 13.92 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001605/20.97, allocations: 458 kB / 7.132 GB, free: 13.76 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003319/20.97, allocations: 59.02 kB / 7.132 GB, free: 13.75 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008858/20.98, allocations: 11.25 MB / 7.143 GB, free: 19.36 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/20.98, allocations: 3.969 kB / 7.143 GB, free: 19.36 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01266/20.99, allocations: 6.75 MB / 7.15 GB, free: 16 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004771/20.99, allocations: 1.129 MB / 7.151 GB, free: 15.36 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002606/21, allocations: 20.38 kB / 7.151 GB, free: 15.35 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00637/21, allocations: 350.3 kB / 7.151 GB, free: 15.34 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008091/21, allocations: 230.5 kB / 7.152 GB, free: 15.3 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006906/21.01, allocations: 143.5 kB / 7.152 GB, free: 15.27 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.009541/21.01, allocations: 3.057 MB / 7.155 GB, free: 12.65 MB / 1.026 GB Notification: Performance of sort global known variables: time 3.11e-07/21.01, allocations: 0 / 7.155 GB, free: 12.65 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.02347/21.04, allocations: 3.712 MB / 7.158 GB, free: 8.98 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.03132/21.07, allocations: 15.05 MB / 7.173 GB, free: 11.23 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.01755/21.09, allocations: 6.747 MB / 7.18 GB, free: 5.012 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.966e-05/21.09, allocations: 4.781 kB / 7.18 GB, free: 5.008 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.005691/21.09, allocations: 2.59 MB / 7.182 GB, free: 2.543 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01782/21.11, allocations: 2.404 MB / 7.184 GB, free: 0.7969 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8687/21.98, allocations: 11.16 MB / 7.195 GB, free: 101.1 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006657/21.99, allocations: 3.805 MB / 7.199 GB, free: 100.2 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.01613/22, allocations: 2.782 MB / 7.202 GB, free: 100.2 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006157/22.01, allocations: 2.706 MB / 7.204 GB, free: 100.2 MB / 1.042 GB Notification: Performance of SimCode: time 1.112e-06/22.01, allocations: 1.891 kB / 7.204 GB, free: 100.2 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.315/22.32, allocations: 195.9 MB / 7.396 GB, free: 90.86 MB / 1.042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001819/22.32, allocations: 165.5 kB / 7.396 GB, free: 90.67 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.37/32.69, allocations: 0 / 7.396 GB, free: 90.67 MB / 1.042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.SimpleHouse.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.SimpleHouse.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.SimpleHouse.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.SimpleHouse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_SimpleHouse_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_SimpleHouse.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.SimpleHouse.pipe 2>&1)