Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System2.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.System2,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_SpaceCooling_System2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System2,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_SpaceCooling_System2",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.409/2.409, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.00131/0.00131, allocations: 181 kB / 498.1 MB, free: 5.73 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.703/1.703, 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.001013/0.001013, allocations: 96.28 kB / 0.9346 GB, free: 6.188 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000387/0.0003872, allocations: 10.41 kB / 1.084 GB, free: 221 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.3323, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.765/6.097, allocations: 2.344 GB / 3.567 GB, free: 136 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002676/6.098, allocations: 93.88 kB / 3.567 GB, free: 135.9 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 10.57/16.67, allocations: 2.725 GB / 6.292 GB, free: 108.4 MB / 1.245 GB Notification: Performance of FrontEnd: time 2.024e-06/16.67, allocations: 4 kB / 6.292 GB, free: 108.4 MB / 1.245 GB Notification: Performance of Transformations before backend: time 0.0008614/16.67, allocations: 127.8 kB / 6.292 GB, free: 108.4 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: 1024 * Number of variables: 1024 Notification: Performance of Generate backend data structure: time 0.02309/16.69, allocations: 6.572 MB / 6.299 GB, free: 105.2 MB / 1.245 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/16.69, allocations: 7.938 kB / 6.299 GB, free: 105.2 MB / 1.245 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002408/16.69, allocations: 0.5394 MB / 6.299 GB, free: 105.1 MB / 1.245 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02507/16.72, allocations: 3.333 MB / 6.302 GB, free: 104.6 MB / 1.245 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01805/16.74, allocations: 5.199 MB / 6.307 GB, free: 103.6 MB / 1.245 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005249/16.74, allocations: 346.5 kB / 6.308 GB, free: 103.6 MB / 1.245 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001927/16.74, allocations: 413.4 kB / 6.308 GB, free: 103.6 MB / 1.245 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01742/16.76, allocations: 5.387 MB / 6.313 GB, free: 103.1 MB / 1.245 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002194/16.76, allocations: 7.844 kB / 6.313 GB, free: 103 MB / 1.245 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001563/16.76, allocations: 168.1 kB / 6.314 GB, free: 103 MB / 1.245 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001808/16.76, allocations: 158.4 kB / 6.314 GB, free: 103 MB / 1.245 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01847/16.78, allocations: 5.883 MB / 6.319 GB, free: 101.9 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.0499/16.83, allocations: 20.91 MB / 6.34 GB, free: 83.89 MB / 1.245 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009911/16.84, allocations: 4.057 MB / 6.344 GB, free: 79.75 MB / 1.245 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02056/16.86, allocations: 7.604 MB / 6.351 GB, free: 71.85 MB / 1.245 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007213/16.87, allocations: 2.439 MB / 6.354 GB, free: 69.36 MB / 1.245 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003158/16.87, allocations: 277.3 kB / 6.354 GB, free: 69.09 MB / 1.245 GB Notification: Performance of pre-optimization done (n=310): time 1.736e-05/16.87, allocations: 0 / 6.354 GB, free: 69.09 MB / 1.245 GB Notification: Performance of matching and sorting (n=310): time 0.02617/16.9, allocations: 7.099 MB / 6.361 GB, free: 61.84 MB / 1.245 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/16.9, allocations: 291.5 kB / 6.361 GB, free: 61.49 MB / 1.245 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007274/16.9, allocations: 3.069 MB / 6.364 GB, free: 58.4 MB / 1.245 GB Notification: Performance of collectPreVariables (initialization): time 0.001025/16.9, allocations: 93.7 kB / 6.364 GB, free: 58.3 MB / 1.245 GB Notification: Performance of collectInitialEqns (initialization): time 0.002443/16.91, allocations: 2.098 MB / 6.366 GB, free: 56.19 MB / 1.245 GB Notification: Performance of collectInitialBindings (initialization): time 0.001593/16.91, allocations: 1.059 MB / 6.367 GB, free: 55.12 MB / 1.245 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000815/16.91, allocations: 68 kB / 6.367 GB, free: 55.05 MB / 1.245 GB Notification: Performance of setup shared object (initialization): time 0.0003173/16.91, allocations: 432.8 kB / 6.368 GB, free: 54.62 MB / 1.245 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006028/16.92, allocations: 1.894 MB / 6.37 GB, free: 52.73 MB / 1.245 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006494/16.92, allocations: 2.606 MB / 6.372 GB, free: 49.86 MB / 1.245 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006131/16.93, allocations: 2.091 MB / 6.374 GB, free: 47.76 MB / 1.245 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.153e-05/16.93, allocations: 4 kB / 6.374 GB, free: 47.75 MB / 1.245 GB Notification: Performance of matching and sorting (n=417) (initialization): time 0.01951/16.95, allocations: 5.419 MB / 6.379 GB, free: 42.29 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 0.00114/16.95, allocations: 5.72 MB / 6.385 GB, free: 36.23 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.174e-05/16.95, allocations: 12 kB / 6.385 GB, free: 36.22 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00223/16.95, allocations: 0.4972 MB / 6.386 GB, free: 35.73 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006929/16.96, allocations: 1.03 MB / 6.387 GB, free: 34.7 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00705/16.97, allocations: 7.245 MB / 6.394 GB, free: 26.95 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007806/16.97, allocations: 0.601 MB / 6.394 GB, free: 26.35 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001079/16.97, allocations: 155.9 kB / 6.394 GB, free: 26.2 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/16.97, allocations: 4 kB / 6.394 GB, free: 26.2 MB / 1.245 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01757/16.99, allocations: 5.079 MB / 6.399 GB, free: 21.06 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-05/16.99, allocations: 12 kB / 6.399 GB, free: 21.05 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001947/16.99, allocations: 0.4898 MB / 6.4 GB, free: 20.56 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006263/17, allocations: 1.022 MB / 6.401 GB, free: 19.54 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007091/17.01, allocations: 7.521 MB / 6.408 GB, free: 11.43 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007194/17.01, allocations: 0.5577 MB / 6.409 GB, free: 10.87 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001019/17.02, allocations: 159.9 kB / 6.409 GB, free: 10.71 MB / 1.245 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 10 (cooCoi.flowRegime_nominal,$whenCondition2,$whenCondition1,cooCoi.flowRegime,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,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 (399): * Single equations (assignments): 391 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 5 * 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: 0 * Non-linear torn systems: 5 {1 2,1 4,5 2,1 3,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0044/17.02, allocations: 1.094 MB / 6.41 GB, free: 9.605 MB / 1.245 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001991/17.02, allocations: 442.6 kB / 6.41 GB, free: 9.168 MB / 1.245 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01754/17.04, allocations: 5.375 MB / 6.416 GB, free: 3.73 MB / 1.245 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-05/17.04, allocations: 32 kB / 6.416 GB, free: 3.699 MB / 1.245 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-05/17.04, allocations: 4 kB / 6.416 GB, free: 3.695 MB / 1.245 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01271/17.05, allocations: 4.333 MB / 6.42 GB, free: 15.29 MB / 1.26 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.02881/17.08, allocations: 10.33 MB / 6.43 GB, free: 4.801 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.508e-05/17.08, allocations: 3.938 kB / 6.43 GB, free: 4.797 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004844/17.09, allocations: 0.7824 MB / 6.431 GB, free: 4.016 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001791/17.09, allocations: 384.1 kB / 6.431 GB, free: 3.629 MB / 1.26 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005208/17.09, allocations: 99.88 kB / 6.431 GB, free: 3.531 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008174/17.1, allocations: 9.248 MB / 6.44 GB, free: 9.547 MB / 1.276 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/17.1, allocations: 7.969 kB / 6.44 GB, free: 9.539 MB / 1.276 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02245/17.12, allocations: 7.432 MB / 6.448 GB, free: 1.945 MB / 1.276 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003891/17.12, allocations: 1.038 MB / 6.449 GB, free: 0.8828 MB / 1.276 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00166/17.12, allocations: 67.94 kB / 6.449 GB, free: 0.8164 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006453/17.13, allocations: 499.1 kB / 6.449 GB, free: 336 kB / 1.276 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006922/17.13, allocations: 210.2 kB / 6.449 GB, free: 124 kB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.7977/17.93, allocations: 131.2 kB / 6.449 GB, free: 146.4 MB / 1.276 GB Notification: Performance of sorting global known variables: time 0.006473/17.94, allocations: 2.376 MB / 6.452 GB, free: 146.2 MB / 1.276 GB Notification: Performance of sort global known variables: time 4.21e-07/17.94, allocations: 2.875 kB / 6.452 GB, free: 146.2 MB / 1.276 GB Notification: Performance of remove unused functions: time 0.01703/17.95, allocations: 3.368 MB / 6.455 GB, free: 146.2 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: 5 ($whenCondition2,$whenCondition1,cooCoi.flowRegime,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (319): * Single equations (assignments): 307 * 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: 6 * 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: 2 {(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.04268/18, allocations: 15.39 MB / 6.47 GB, free: 141.8 MB / 1.276 GB Notification: Performance of simCode: created initialization part: time 0.04187/18.04, allocations: 7.855 MB / 6.478 GB, free: 141.1 MB / 1.276 GB Notification: Performance of simCode: created event and clocks part: time 1.384e-05/18.04, allocations: 0.5625 kB / 6.478 GB, free: 141.1 MB / 1.276 GB Notification: Performance of simCode: created simulation system equations: time 0.009382/18.05, allocations: 2.847 MB / 6.48 GB, free: 140.6 MB / 1.276 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01035/18.06, allocations: 1.975 MB / 6.482 GB, free: 140.5 MB / 1.276 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.034/18.09, allocations: 22.21 MB / 6.504 GB, free: 126.7 MB / 1.276 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004943/18.1, allocations: 2.809 MB / 6.507 GB, free: 125.9 MB / 1.276 GB Notification: Performance of simCode: alias equations: time 0.01387/18.11, allocations: 1.512 MB / 6.508 GB, free: 125.9 MB / 1.276 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005266/18.12, allocations: 2.166 MB / 6.51 GB, free: 125.9 MB / 1.276 GB Notification: Performance of SimCode: time 1.202e-06/18.12, allocations: 3.562 kB / 6.51 GB, free: 125.9 MB / 1.276 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2913/18.41, allocations: 198.6 MB / 6.704 GB, free: 116.6 MB / 1.276 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001614/18.41, allocations: 245.5 kB / 6.705 GB, free: 116.2 MB / 1.276 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.815/28.22, allocations: 0 / 6.705 GB, free: 116.2 MB / 1.276 GB (rm -f Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System2.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System2.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System2.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System2_res.mat --tempDir=temp_Buildings_9_Buildings_Examples_Tutorial_SpaceCooling_System2_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Examples_Tutorial_SpaceCooling_System2.fmu > Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System2_res.mat does not exist to compare? outputFormat=mat