Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System3.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.Examples.Tutorial.SpaceCooling.System3,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_SpaceCooling_System3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System3,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_SpaceCooling_System3",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.425/2.425, allocations: 390.3 MB / 405.3 MB, free: 13.42 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.001497/0.001497, allocations: 189 kB / 498.1 MB, free: 5.676 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.792/1.792, allocations: 223.2 MB / 0.7948 GB, free: 17.9 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.001103/0.001102, allocations: 92.27 kB / 0.9346 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003917/0.0003917, allocations: 9.5 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3818/0.3822, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.85/6.232, allocations: 2.345 GB / 3.568 GB, free: 86.45 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002447/6.233, allocations: 101.6 kB / 3.568 GB, free: 86.39 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 10.21/16.45, allocations: 2.726 GB / 6.293 GB, free: 96.3 MB / 1.245 GB Notification: Performance of FrontEnd: time 2.485e-06/16.45, allocations: 0 / 6.293 GB, free: 96.3 MB / 1.245 GB Notification: Performance of Transformations before backend: time 0.001008/16.45, allocations: 131.9 kB / 6.294 GB, free: 96.17 MB / 1.245 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1033 * Number of variables: 1033 Notification: Performance of Generate backend data structure: time 0.02713/16.48, allocations: 6.61 MB / 6.3 GB, free: 89.96 MB / 1.245 GB Notification: Performance of prepare preOptimizeDAE: time 5.94e-05/16.48, allocations: 12.03 kB / 6.3 GB, free: 89.95 MB / 1.245 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003065/16.48, allocations: 0.5384 MB / 6.301 GB, free: 89.66 MB / 1.245 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02485/16.5, allocations: 3.34 MB / 6.304 GB, free: 86.38 MB / 1.245 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01922/16.52, allocations: 5.211 MB / 6.309 GB, free: 82.61 MB / 1.245 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006873/16.52, allocations: 354.2 kB / 6.309 GB, free: 82.25 MB / 1.245 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002214/16.53, allocations: 412 kB / 6.31 GB, free: 81.85 MB / 1.245 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01941/16.55, allocations: 5.421 MB / 6.315 GB, free: 76.31 MB / 1.245 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002329/16.55, allocations: 0 / 6.315 GB, free: 76.31 MB / 1.245 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001721/16.55, allocations: 171.8 kB / 6.315 GB, free: 76.14 MB / 1.245 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001748/16.55, allocations: 163.8 kB / 6.315 GB, free: 75.98 MB / 1.245 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01927/16.57, allocations: 5.909 MB / 6.321 GB, free: 70.07 MB / 1.245 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.0425/16.61, allocations: 20.81 MB / 6.341 GB, free: 48.34 MB / 1.245 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009476/16.62, allocations: 4.37 MB / 6.346 GB, free: 43.88 MB / 1.245 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01744/16.64, allocations: 8.099 MB / 6.353 GB, free: 35.42 MB / 1.245 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006529/16.64, allocations: 2.616 MB / 6.356 GB, free: 32.77 MB / 1.245 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002543/16.65, allocations: 273.1 kB / 6.356 GB, free: 32.5 MB / 1.245 GB Notification: Performance of pre-optimization done (n=325): time 1.023e-05/16.65, allocations: 0 / 6.356 GB, free: 32.5 MB / 1.245 GB Notification: Performance of matching and sorting (n=331): time 0.04223/16.69, allocations: 13.06 MB / 6.369 GB, free: 19.2 MB / 1.245 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.358e-05/16.69, allocations: 277.8 kB / 6.369 GB, free: 18.88 MB / 1.245 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006074/16.69, allocations: 2.905 MB / 6.372 GB, free: 15.95 MB / 1.245 GB Notification: Performance of collectPreVariables (initialization): time 0.0009891/16.69, allocations: 97.7 kB / 6.372 GB, free: 15.85 MB / 1.245 GB Notification: Performance of collectInitialEqns (initialization): time 0.002322/16.7, allocations: 2.063 MB / 6.374 GB, free: 13.77 MB / 1.245 GB Notification: Performance of collectInitialBindings (initialization): time 0.0016/16.7, allocations: 1.124 MB / 6.375 GB, free: 12.63 MB / 1.245 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008388/16.7, allocations: 68 kB / 6.375 GB, free: 12.56 MB / 1.245 GB Notification: Performance of setup shared object (initialization): time 0.0002958/16.7, allocations: 433 kB / 6.376 GB, free: 12.13 MB / 1.245 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006145/16.71, allocations: 1.966 MB / 6.378 GB, free: 10.16 MB / 1.245 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006413/16.71, allocations: 2.673 MB / 6.38 GB, free: 7.234 MB / 1.245 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006247/16.72, allocations: 2.166 MB / 6.382 GB, free: 5.059 MB / 1.245 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-05/16.72, allocations: 4 kB / 6.382 GB, free: 5.055 MB / 1.245 GB Notification: Performance of matching and sorting (n=427) (initialization): time 0.01889/16.74, allocations: 5.632 MB / 6.388 GB, free: 15.38 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 0.001759/16.74, allocations: 5.719 MB / 6.394 GB, free: 9.309 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.031e-05/16.74, allocations: 12 kB / 6.394 GB, free: 9.297 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003155/16.74, allocations: 0.7329 MB / 6.394 GB, free: 8.562 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006772/16.75, allocations: 1.006 MB / 6.395 GB, free: 7.555 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01266/16.76, allocations: 10.16 MB / 6.405 GB, free: 12.8 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007681/16.77, allocations: 0.5652 MB / 6.406 GB, free: 12.23 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001079/16.77, allocations: 159.9 kB / 6.406 GB, free: 12.08 MB / 1.276 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/16.77, allocations: 4 kB / 6.406 GB, free: 12.07 MB / 1.276 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0216/16.79, allocations: 5.312 MB / 6.411 GB, free: 6.703 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-05/16.79, allocations: 16.06 kB / 6.411 GB, free: 6.688 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002951/16.8, allocations: 0.7198 MB / 6.412 GB, free: 5.965 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006751/16.8, allocations: 1.003 MB / 6.413 GB, free: 4.961 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7986/17.6, allocations: 11.04 MB / 6.424 GB, free: 135 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008796/17.61, allocations: 0.5583 MB / 6.424 GB, free: 135 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001457/17.61, allocations: 159.1 kB / 6.424 GB, free: 135 MB / 1.276 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 12 (cooCoi.flowRegime_nominal,$whenCondition2,$whenCondition1,cooCoi.flowRegime,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.con.y,con.y,cooCoi.UAFroRated.isFulDry,cooCoi.UAFroRated.isFulWet) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (387): * Single equations (assignments): 379 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {1 2,3 22,1 2,5 2,1 3,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.005312/17.62, allocations: 1.092 MB / 6.425 GB, free: 134.8 MB / 1.276 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002347/17.62, allocations: 438.5 kB / 6.426 GB, free: 134.8 MB / 1.276 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02824/17.65, allocations: 5.839 MB / 6.431 GB, free: 134.4 MB / 1.276 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.349e-05/17.65, allocations: 34.33 kB / 6.432 GB, free: 134.4 MB / 1.276 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.524e-05/17.65, allocations: 2.281 kB / 6.432 GB, free: 134.4 MB / 1.276 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02032/17.67, allocations: 4.739 MB / 6.436 GB, free: 134.1 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.03728/17.71, allocations: 10.98 MB / 6.447 GB, free: 133.4 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.322e-05/17.71, allocations: 0 / 6.447 GB, free: 133.4 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005787/17.71, allocations: 0.8475 MB / 6.448 GB, free: 133.4 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001971/17.71, allocations: 439.8 kB / 6.448 GB, free: 133.4 MB / 1.276 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009565/17.71, allocations: 103.2 kB / 6.448 GB, free: 133.4 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008218/17.72, allocations: 10.74 MB / 6.459 GB, free: 124.1 MB / 1.276 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/17.72, allocations: 3.906 kB / 6.459 GB, free: 124.1 MB / 1.276 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02593/17.75, allocations: 8.057 MB / 6.467 GB, free: 123.4 MB / 1.276 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004904/17.75, allocations: 1.054 MB / 6.468 GB, free: 123.3 MB / 1.276 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00244/17.76, allocations: 66.55 kB / 6.468 GB, free: 123.3 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0072/17.76, allocations: 0.5235 MB / 6.468 GB, free: 123.3 MB / 1.276 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001006/17.76, allocations: 228.6 kB / 6.468 GB, free: 123.3 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009792/17.77, allocations: 144.9 kB / 6.469 GB, free: 123.3 MB / 1.276 GB Notification: Performance of sorting global known variables: time 0.005594/17.77, allocations: 2.242 MB / 6.471 GB, free: 123.1 MB / 1.276 GB Notification: Performance of sort global known variables: time 5.11e-07/17.77, allocations: 0 / 6.471 GB, free: 123.1 MB / 1.276 GB Notification: Performance of remove unused functions: time 0.01702/17.79, allocations: 3.065 MB / 6.474 GB, free: 123.1 MB / 1.276 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 12 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,fan.filter.s[1],fan.filter.s[2],cooCoi.heaCoo.vol.dynBal.U,cooCoi.heaCooHum_u.vol.dynBal.medium.Xi[1],cooCoi.heaCooHum_u.vol.dynBal.U,cooCoi.heaCooHum_u.vol.dynBal.m,cooCoi.dryWetCalcs.fullyWet.TWatOutEst,senTemHXOut.T,senTemSupAir.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,cooCoi.flowRegime,weaDat.conTimMin.tNext,weaDat.conTim.tNext,con.y) * Number of discrete states: 3 (weaDat.conTim.tNext,weaDat.conTimMin.tNext,con.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (341): * Single equations (assignments): 328 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 1} * Non-linear torn systems: 4 {1 2,1 4,1 1,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.04136/17.83, allocations: 16.05 MB / 6.489 GB, free: 118.4 MB / 1.276 GB Notification: Performance of simCode: created initialization part: time 0.02746/17.86, allocations: 8.629 MB / 6.498 GB, free: 117.4 MB / 1.276 GB Notification: Performance of simCode: created event and clocks part: time 1.666e-05/17.86, allocations: 6.344 kB / 6.498 GB, free: 117.4 MB / 1.276 GB Notification: Performance of simCode: created simulation system equations: time 0.008876/17.87, allocations: 3.184 MB / 6.501 GB, free: 116.8 MB / 1.276 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01073/17.88, allocations: 1.964 MB / 6.503 GB, free: 116.7 MB / 1.276 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04407/17.92, allocations: 23.56 MB / 6.526 GB, free: 101.2 MB / 1.276 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005379/17.93, allocations: 2.847 MB / 6.529 GB, free: 100.4 MB / 1.276 GB Notification: Performance of simCode: alias equations: time 0.01255/17.94, allocations: 1.516 MB / 6.53 GB, free: 100.4 MB / 1.276 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006899/17.95, allocations: 2.198 MB / 6.532 GB, free: 100.4 MB / 1.276 GB Notification: Performance of SimCode: time 1.643e-06/17.95, allocations: 0 / 6.532 GB, free: 100.4 MB / 1.276 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3042/18.25, allocations: 203.5 MB / 6.731 GB, free: 90.41 MB / 1.276 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001777/18.25, allocations: 260.8 kB / 6.731 GB, free: 90.07 MB / 1.276 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.36/28.61, allocations: 0 / 6.731 GB, free: 90.07 MB / 1.276 GB (rm -f Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System3.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System3.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System3.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System3_res.mat --tempDir=temp_Buildings_9_Buildings_Examples_Tutorial_SpaceCooling_System3_fmu --startTime=1.5552e+07 --stopTime=1.56384e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Examples_Tutorial_SpaceCooling_System3.fmu > Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System3_res.mat does not exist to compare? outputFormat=mat