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.28/2.28, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001169/0.001168, allocations: 177.2 kB / 498.1 MB, free: 5.734 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.487/1.487, allocations: 223.2 MB / 0.7948 GB, free: 17.95 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009533/0.0009535, allocations: 104.2 kB / 0.9346 GB, free: 6.191 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000357/0.0003571, allocations: 7.312 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2499/0.2503, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.421/4.671, allocations: 2.24 GB / 3.463 GB, free: 242.2 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002198/4.671, allocations: 93.08 kB / 3.463 GB, free: 242.1 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 12.32/16.99, allocations: 3.762 GB / 7.226 GB, free: 85.78 MB / 1.276 GB Notification: Performance of FrontEnd: time 2.454e-06/16.99, allocations: 2.953 kB / 7.226 GB, free: 85.78 MB / 1.276 GB Notification: Performance of Transformations before backend: time 0.001317/17, allocations: 176 kB / 7.226 GB, free: 85.75 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.02894/17.03, allocations: 8.267 MB / 7.234 GB, free: 82.1 MB / 1.276 GB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/17.03, allocations: 11.31 kB / 7.234 GB, free: 82.1 MB / 1.276 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00312/17.03, allocations: 0.6245 MB / 7.235 GB, free: 82.03 MB / 1.276 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01888/17.05, allocations: 2.797 MB / 7.237 GB, free: 81.62 MB / 1.276 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0261/17.07, allocations: 7.956 MB / 7.245 GB, free: 80.45 MB / 1.276 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005327/17.07, allocations: 370.5 kB / 7.245 GB, free: 80.44 MB / 1.276 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002099/17.08, allocations: 488 kB / 7.246 GB, free: 80.43 MB / 1.276 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.016/17.09, allocations: 6.056 MB / 7.252 GB, free: 79.64 MB / 1.276 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001094/17.09, allocations: 11.66 kB / 7.252 GB, free: 79.63 MB / 1.276 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006764/17.09, allocations: 198.7 kB / 7.252 GB, free: 79.63 MB / 1.276 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001664/17.09, allocations: 197.4 kB / 7.252 GB, free: 79.62 MB / 1.276 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01033/17.1, allocations: 5.571 MB / 7.258 GB, free: 79.53 MB / 1.276 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.03914/17.14, allocations: 26.89 MB / 7.284 GB, free: 66.93 MB / 1.276 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00916/17.15, allocations: 4.384 MB / 7.288 GB, free: 66.82 MB / 1.276 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.01817/17.17, allocations: 8.208 MB / 7.296 GB, free: 63.24 MB / 1.276 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003882/17.17, allocations: 2.222 MB / 7.298 GB, free: 62.47 MB / 1.276 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003612/17.18, allocations: 478.5 kB / 7.299 GB, free: 62.25 MB / 1.276 GB Notification: Performance of pre-optimization done (n=299): time 1.297e-05/17.18, allocations: 0 / 7.299 GB, free: 62.25 MB / 1.276 GB Notification: Performance of matching and sorting (n=299): time 0.01687/17.19, allocations: 6.827 MB / 7.305 GB, free: 59.27 MB / 1.276 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001179/17.19, allocations: 371.2 kB / 7.306 GB, free: 58.86 MB / 1.276 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01178/17.21, allocations: 4.753 MB / 7.31 GB, free: 57.18 MB / 1.276 GB Notification: Performance of collectPreVariables (initialization): time 0.001765/17.21, allocations: 107.3 kB / 7.311 GB, free: 57.09 MB / 1.276 GB Notification: Performance of collectInitialEqns (initialization): time 0.003776/17.21, allocations: 2.988 MB / 7.313 GB, free: 54.79 MB / 1.276 GB Notification: Performance of collectInitialBindings (initialization): time 0.001511/17.21, allocations: 1.014 MB / 7.314 GB, free: 54 MB / 1.276 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002609/17.21, allocations: 71.06 kB / 7.315 GB, free: 53.94 MB / 1.276 GB Notification: Performance of setup shared object (initialization): time 0.0002005/17.21, allocations: 448.8 kB / 7.315 GB, free: 53.57 MB / 1.276 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003493/17.22, allocations: 1.676 MB / 7.317 GB, free: 53.03 MB / 1.276 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003879/17.22, allocations: 2.859 MB / 7.319 GB, free: 51.02 MB / 1.276 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003628/17.22, allocations: 2.057 MB / 7.321 GB, free: 50.18 MB / 1.276 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.454e-05/17.22, allocations: 6.969 kB / 7.321 GB, free: 50.18 MB / 1.276 GB Notification: Performance of matching and sorting (n=470) (initialization): time 0.01205/17.24, allocations: 5.5 MB / 7.327 GB, free: 46.88 MB / 1.276 GB Notification: Performance of prepare postOptimizeDAE: time 0.002249/17.24, allocations: 13.38 MB / 7.34 GB, free: 32.86 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.142e-05/17.24, allocations: 31.98 kB / 7.34 GB, free: 32.82 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003519/17.24, allocations: 0.6855 MB / 7.341 GB, free: 32.29 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004753/17.25, allocations: 0.9215 MB / 7.341 GB, free: 31.53 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006258/17.25, allocations: 5.826 MB / 7.347 GB, free: 25.74 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008024/17.26, allocations: 0.5243 MB / 7.348 GB, free: 25.34 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001116/17.26, allocations: 198.2 kB / 7.348 GB, free: 25.17 MB / 1.276 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/17.26, allocations: 7.938 kB / 7.348 GB, free: 25.16 MB / 1.276 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01092/17.27, allocations: 4.911 MB / 7.353 GB, free: 20.92 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.62e-05/17.27, allocations: 28 kB / 7.353 GB, free: 20.89 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003406/17.28, allocations: 0.711 MB / 7.353 GB, free: 20.35 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00436/17.28, allocations: 0.8949 MB / 7.354 GB, free: 19.6 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006148/17.29, allocations: 5.841 MB / 7.36 GB, free: 13.81 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0075/17.3, allocations: 495.2 kB / 7.36 GB, free: 13.44 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001004/17.3, allocations: 190.8 kB / 7.361 GB, free: 13.27 MB / 1.276 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 (442): * Single equations (assignments): 435 * 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,3 8,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.004925/17.3, allocations: 1.614 MB / 7.362 GB, free: 11.82 MB / 1.276 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001982/17.3, allocations: 0.5788 MB / 7.363 GB, free: 11.24 MB / 1.276 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01132/17.31, allocations: 4.943 MB / 7.368 GB, free: 7.137 MB / 1.276 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.319e-05/17.31, allocations: 35.75 kB / 7.368 GB, free: 7.105 MB / 1.276 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.129e-05/17.32, allocations: 7.953 kB / 7.368 GB, free: 7.098 MB / 1.276 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008062/17.32, allocations: 3.851 MB / 7.371 GB, free: 3.738 MB / 1.276 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.02886/17.35, allocations: 10.23 MB / 7.381 GB, free: 10.65 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.886e-05/17.35, allocations: 4 kB / 7.381 GB, free: 10.64 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0037/17.36, allocations: 0.6285 MB / 7.382 GB, free: 10.02 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002046/17.36, allocations: 494.6 kB / 7.382 GB, free: 9.508 MB / 1.292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005994/17.36, allocations: 91.94 kB / 7.383 GB, free: 9.418 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01288/17.37, allocations: 11.76 MB / 7.394 GB, free: 12.69 MB / 1.307 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/17.37, allocations: 4 kB / 7.394 GB, free: 12.68 MB / 1.307 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02105/17.39, allocations: 7.362 MB / 7.401 GB, free: 5.066 MB / 1.307 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005634/17.4, allocations: 1.184 MB / 7.402 GB, free: 3.855 MB / 1.307 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00268/17.4, allocations: 67.98 kB / 7.402 GB, free: 3.789 MB / 1.307 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006904/17.41, allocations: 435.2 kB / 7.403 GB, free: 3.363 MB / 1.307 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008251/17.41, allocations: 226.2 kB / 7.403 GB, free: 3.141 MB / 1.307 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007481/17.41, allocations: 143.9 kB / 7.403 GB, free: 3 MB / 1.307 GB Notification: Performance of sorting global known variables: time 0.8663/18.28, allocations: 3.703 MB / 7.407 GB, free: 126.1 MB / 1.307 GB Notification: Performance of sort global known variables: time 1.092e-06/18.28, allocations: 0.5 kB / 7.407 GB, free: 126.1 MB / 1.307 GB Notification: Performance of remove unused functions: time 0.02068/18.3, allocations: 3.864 MB / 7.411 GB, free: 126.1 MB / 1.307 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) * 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%) 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.03333/18.33, allocations: 15.47 MB / 7.426 GB, free: 121 MB / 1.307 GB Notification: Performance of simCode: created initialization part: time 0.02075/18.35, allocations: 7.317 MB / 7.433 GB, free: 120.4 MB / 1.307 GB Notification: Performance of simCode: created event and clocks part: time 1.729e-05/18.35, allocations: 6.625 kB / 7.433 GB, free: 120.4 MB / 1.307 GB Notification: Performance of simCode: created simulation system equations: time 0.005417/18.36, allocations: 2.822 MB / 7.436 GB, free: 119.6 MB / 1.307 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01452/18.37, allocations: 2.739 MB / 7.438 GB, free: 119.6 MB / 1.307 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04538/18.42, allocations: 36.88 MB / 7.474 GB, free: 92.29 MB / 1.307 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006875/18.42, allocations: 3.805 MB / 7.478 GB, free: 91.44 MB / 1.307 GB Notification: Performance of simCode: alias equations: time 0.01282/18.44, allocations: 2.045 MB / 7.48 GB, free: 91.39 MB / 1.307 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007308/18.44, allocations: 2.83 MB / 7.483 GB, free: 91.38 MB / 1.307 GB Notification: Performance of SimCode: time 1.322e-06/18.44, allocations: 0 / 7.483 GB, free: 91.38 MB / 1.307 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3866/18.83, allocations: 233.8 MB / 7.711 GB, free: 81.82 MB / 1.307 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001749/18.83, allocations: 240.7 kB / 7.711 GB, free: 81.58 MB / 1.307 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/30.41, allocations: 0 / 7.711 GB, free: 81.58 MB / 1.307 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)