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.442/1.442, allocations: 251.9 MB / 266.9 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001163/0.001163, allocations: 181.4 kB / 326.5 MB, free: 2.27 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.919/1.919, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.0009517/0.0009515, allocations: 88.3 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003458/0.0003457, allocations: 9.812 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.2324, allocations: 106.3 MB / 0.9001 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.499/6.732, allocations: 2.528 GB / 3.428 GB, free: 218.2 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00024/6.732, allocations: 97.25 kB / 3.428 GB, free: 218.2 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 13.34/20.07, allocations: 3.608 GB / 7.037 GB, free: 83.75 MB / 1.026 GB Notification: Performance of FrontEnd: time 2.584e-06/20.07, allocations: 0 / 7.037 GB, free: 83.75 MB / 1.026 GB Notification: Performance of Transformations before backend: time 0.001326/20.07, allocations: 180.6 kB / 7.037 GB, free: 83.72 MB / 1.026 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.03063/20.1, allocations: 8.225 MB / 7.045 GB, free: 80.45 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/20.1, allocations: 10.66 kB / 7.045 GB, free: 80.45 MB / 1.026 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003442/20.11, allocations: 0.6292 MB / 7.045 GB, free: 80.39 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01739/20.13, allocations: 2.613 MB / 7.048 GB, free: 79.97 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02679/20.15, allocations: 7.802 MB / 7.056 GB, free: 78.93 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006097/20.15, allocations: 375.3 kB / 7.056 GB, free: 78.92 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002488/20.16, allocations: 493.7 kB / 7.056 GB, free: 78.92 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01779/20.17, allocations: 5.996 MB / 7.062 GB, free: 78.12 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001231/20.17, allocations: 21.08 kB / 7.062 GB, free: 78.12 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007403/20.17, allocations: 202.7 kB / 7.062 GB, free: 78.12 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001798/20.17, allocations: 196.6 kB / 7.063 GB, free: 78.11 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01161/20.19, allocations: 5.502 MB / 7.068 GB, free: 78.06 MB / 1.026 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.04845/20.23, allocations: 26.7 MB / 7.094 GB, free: 65.66 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009809/20.24, allocations: 4.204 MB / 7.098 GB, free: 65.59 MB / 1.026 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.02212/20.27, allocations: 8.061 MB / 7.106 GB, free: 64.04 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003863/20.27, allocations: 2.135 MB / 7.108 GB, free: 63.9 MB / 1.026 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003928/20.27, allocations: 489.1 kB / 7.109 GB, free: 63.75 MB / 1.026 GB Notification: Performance of pre-optimization done (n=298): time 1.543e-05/20.27, allocations: 3.375 kB / 7.109 GB, free: 63.75 MB / 1.026 GB Notification: Performance of matching and sorting (n=298): time 0.01668/20.29, allocations: 6.636 MB / 7.115 GB, free: 62.35 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001444/20.29, allocations: 446.4 kB / 7.115 GB, free: 61.84 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00992/20.3, allocations: 4.717 MB / 7.12 GB, free: 61.45 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.001158/20.3, allocations: 98.2 kB / 7.12 GB, free: 61.41 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.00299/20.31, allocations: 2.986 MB / 7.123 GB, free: 60.51 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.001415/20.31, allocations: 1.012 MB / 7.124 GB, free: 59.86 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002501/20.31, allocations: 76.28 kB / 7.124 GB, free: 59.86 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0001984/20.31, allocations: 453.9 kB / 7.125 GB, free: 59.55 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003277/20.31, allocations: 1.631 MB / 7.126 GB, free: 59.55 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004155/20.31, allocations: 2.876 MB / 7.129 GB, free: 58.15 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004063/20.32, allocations: 2.022 MB / 7.131 GB, free: 58.1 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-05/20.32, allocations: 6.188 kB / 7.131 GB, free: 58.1 MB / 1.026 GB Notification: Performance of matching and sorting (n=473) (initialization): time 0.0137/20.33, allocations: 5.421 MB / 7.136 GB, free: 57.64 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.002968/20.34, allocations: 13.36 MB / 7.149 GB, free: 43.97 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.47e-05/20.34, allocations: 32.2 kB / 7.149 GB, free: 43.97 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003555/20.34, allocations: 0.6875 MB / 7.15 GB, free: 43.93 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004527/20.34, allocations: 0.8622 MB / 7.151 GB, free: 43.93 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006785/20.35, allocations: 5.786 MB / 7.157 GB, free: 39.83 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009788/20.36, allocations: 0.5016 MB / 7.157 GB, free: 39.79 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00172/20.36, allocations: 191 kB / 7.157 GB, free: 39.79 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/20.36, allocations: 2.969 kB / 7.157 GB, free: 39.79 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01581/20.38, allocations: 4.837 MB / 7.162 GB, free: 39.66 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001387/20.38, allocations: 29.06 kB / 7.162 GB, free: 39.66 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003571/20.38, allocations: 0.7106 MB / 7.163 GB, free: 39.62 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004166/20.39, allocations: 0.8372 MB / 7.163 GB, free: 39.62 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006573/20.39, allocations: 5.821 MB / 7.169 GB, free: 35.48 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007325/20.4, allocations: 468 kB / 7.17 GB, free: 35.45 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001145/20.4, allocations: 187 kB / 7.17 GB, free: 35.45 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 123 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (443): * Single equations (assignments): 434 * 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,3 8,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.00594/20.41, allocations: 1.617 MB / 7.171 GB, free: 35.25 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002705/20.41, allocations: 0.5775 MB / 7.172 GB, free: 34.94 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0144/20.42, allocations: 4.813 MB / 7.177 GB, free: 34.62 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.113e-05/20.42, allocations: 31.97 kB / 7.177 GB, free: 34.62 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.199e-05/20.42, allocations: 2.625 kB / 7.177 GB, free: 34.62 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008864/20.43, allocations: 3.736 MB / 7.18 GB, free: 34.29 MB / 1.026 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.02964/20.46, allocations: 10.02 MB / 7.19 GB, free: 33.45 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.097e-05/20.46, allocations: 6.906 kB / 7.19 GB, free: 33.45 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003509/20.47, allocations: 0.6119 MB / 7.191 GB, free: 33.45 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002046/20.47, allocations: 490.4 kB / 7.191 GB, free: 33.38 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005937/20.47, allocations: 94.23 kB / 7.191 GB, free: 33.38 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009615/20.48, allocations: 11.69 MB / 7.203 GB, free: 23.53 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.029e-05/20.48, allocations: 9.5 kB / 7.203 GB, free: 23.53 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0173/20.5, allocations: 7.246 MB / 7.21 GB, free: 22 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005059/20.5, allocations: 1.163 MB / 7.211 GB, free: 21.59 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002459/20.5, allocations: 69.11 kB / 7.211 GB, free: 21.59 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006328/20.51, allocations: 414.8 kB / 7.211 GB, free: 21.58 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000626/20.51, allocations: 229 kB / 7.212 GB, free: 21.57 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006012/20.51, allocations: 141.8 kB / 7.212 GB, free: 21.57 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.009347/20.52, allocations: 3.677 MB / 7.215 GB, free: 21.36 MB / 1.026 GB Notification: Performance of sort global known variables: time 2.71e-07/20.52, allocations: 0 / 7.215 GB, free: 21.36 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.02217/20.54, allocations: 3.835 MB / 7.219 GB, free: 20.88 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (309): * Single equations (assignments): 295 * 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.03245/20.58, allocations: 15.35 MB / 7.234 GB, free: 15.12 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.02082/20.6, allocations: 7.244 MB / 7.241 GB, free: 14.49 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 2.473e-05/20.6, allocations: 3.344 kB / 7.241 GB, free: 14.49 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.007257/20.6, allocations: 2.768 MB / 7.244 GB, free: 13.69 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01692/20.62, allocations: 2.746 MB / 7.246 GB, free: 13.61 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05638/20.68, allocations: 36.82 MB / 7.282 GB, free: 18.1 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006705/20.68, allocations: 3.802 MB / 7.286 GB, free: 17.21 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.01055/20.69, allocations: 2.019 MB / 7.288 GB, free: 16.93 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005925/20.7, allocations: 2.817 MB / 7.291 GB, free: 16.92 MB / 1.057 GB Notification: Performance of SimCode: time 1.062e-06/20.7, allocations: 4 kB / 7.291 GB, free: 16.91 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.129/21.83, allocations: 233.7 MB / 7.519 GB, free: 116.1 MB / 1.057 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002114/21.83, allocations: 239.6 kB / 7.519 GB, free: 115.8 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.97/34.8, allocations: 4 kB / 7.519 GB, free: 115.8 MB / 1.057 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)