Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Delays.Examples.Delay.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.Delays.Examples.Delay,fileNamePrefix="Buildings_9_Buildings_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Delays.Examples.Delay,fileNamePrefix="Buildings_9_Buildings_Fluid_Delays_Examples_Delay",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.232/2.232, allocations: 387.1 MB / 399.7 MB, free: 9.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.001073/0.001073, allocations: 176.9 kB / 492.3 MB, free: 0.6367 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.424/1.424, allocations: 221.3 MB / 0.7871 GB, free: 12.91 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.0009632/0.0009632, allocations: 87.53 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.604e-05/4.671e-05, allocations: 3.984 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3299/0.33, allocations: 142.3 MB / 1.212 GB, free: 38.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.878/6.208, allocations: 1.923 GB / 3.135 GB, free: 343.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002053/6.208, allocations: 86.52 kB / 3.135 GB, free: 343.3 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.639/7.847, allocations: 490.5 MB / 3.614 GB, free: 308.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.193e-06/7.847, allocations: 0 / 3.614 GB, free: 308.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 9.034e-05/7.848, allocations: 22.2 kB / 3.614 GB, free: 308.8 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002287/7.85, allocations: 0.9737 MB / 3.615 GB, free: 308.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/7.85, allocations: 11.31 kB / 3.615 GB, free: 308.1 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000187/7.85, allocations: 89.05 kB / 3.615 GB, free: 308 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001542/7.852, allocations: 202.4 kB / 3.616 GB, free: 307.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001408/7.853, allocations: 0.6243 MB / 3.616 GB, free: 307.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.593e-05/7.853, allocations: 39.88 kB / 3.616 GB, free: 307.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/7.853, allocations: 47.22 kB / 3.616 GB, free: 307.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008289/7.854, allocations: 463.7 kB / 3.617 GB, free: 307.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.887e-05/7.854, allocations: 0 / 3.617 GB, free: 307.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.234e-05/7.854, allocations: 22.97 kB / 3.617 GB, free: 307.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.533e-05/7.854, allocations: 13.75 kB / 3.617 GB, free: 307.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006334/7.855, allocations: 381.2 kB / 3.617 GB, free: 307 MB / 1.151 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.002799/7.858, allocations: 2.012 MB / 3.619 GB, free: 305.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005217/7.858, allocations: 312.9 kB / 3.619 GB, free: 305.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002507/7.859, allocations: 199 kB / 3.62 GB, free: 305 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002661/7.859, allocations: 188.3 kB / 3.62 GB, free: 304.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/7.859, allocations: 41.81 kB / 3.62 GB, free: 304.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=33): time 2.114e-06/7.859, allocations: 3.75 kB / 3.62 GB, free: 304.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=33): time 0.0009272/7.86, allocations: 383.5 kB / 3.62 GB, free: 304.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.821e-05/7.86, allocations: 58.64 kB / 3.62 GB, free: 304.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005132/7.86, allocations: 442.9 kB / 3.621 GB, free: 304.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.657e-05/7.86, allocations: 33.2 kB / 3.621 GB, free: 304.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001674/7.861, allocations: 309.9 kB / 3.621 GB, free: 304 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 9.793e-05/7.861, allocations: 123.4 kB / 3.621 GB, free: 303.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.638e-05/7.861, allocations: 4 kB / 3.621 GB, free: 303.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001074/7.861, allocations: 369.1 kB / 3.622 GB, free: 303.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001809/7.861, allocations: 118.1 kB / 3.622 GB, free: 303.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002375/7.861, allocations: 207.6 kB / 3.622 GB, free: 303.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002236/7.861, allocations: 145.5 kB / 3.622 GB, free: 303.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/7.861, allocations: 0 / 3.622 GB, free: 303.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005703/7.862, allocations: 390.6 kB / 3.622 GB, free: 303.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001046/7.862, allocations: 370.5 kB / 3.623 GB, free: 302.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/7.862, allocations: 0 / 3.623 GB, free: 302.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/7.862, allocations: 6 kB / 3.623 GB, free: 302.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003285/7.863, allocations: 70.97 kB / 3.623 GB, free: 302.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/7.863, allocations: 3.938 kB / 3.623 GB, free: 302.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006405/7.863, allocations: 70.12 kB / 3.623 GB, free: 302.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.883e-05/7.863, allocations: 23.25 kB / 3.623 GB, free: 302.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/7.863, allocations: 3.781 kB / 3.623 GB, free: 302.6 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004608/7.864, allocations: 303.9 kB / 3.623 GB, free: 302.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/7.864, allocations: 0 / 3.623 GB, free: 302.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.071e-06/7.864, allocations: 11.83 kB / 3.623 GB, free: 302.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003013/7.864, allocations: 75.31 kB / 3.623 GB, free: 302.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/7.864, allocations: 3.219 kB / 3.623 GB, free: 302.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005837/7.865, allocations: 65.27 kB / 3.623 GB, free: 302.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.163e-05/7.865, allocations: 14.91 kB / 3.623 GB, free: 302.4 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001076/7.865, allocations: 126.1 kB / 3.623 GB, free: 302.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/7.865, allocations: 66.75 kB / 3.624 GB, free: 302.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006031/7.866, allocations: 394.4 kB / 3.624 GB, free: 302.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.216e-06/7.866, allocations: 10.02 kB / 3.624 GB, free: 302.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/7.866, allocations: 0 / 3.624 GB, free: 302.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004053/7.866, allocations: 401.8 kB / 3.624 GB, free: 301.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001673/7.868, allocations: 1.143 MB / 3.625 GB, free: 300.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/7.868, allocations: 3.062 kB / 3.625 GB, free: 300.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004017/7.868, allocations: 91.31 kB / 3.626 GB, free: 300.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.224e-06/7.868, allocations: 3.938 kB / 3.626 GB, free: 300.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.174e-05/7.868, allocations: 15.81 kB / 3.626 GB, free: 300.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/7.868, allocations: 3.969 kB / 3.626 GB, free: 300.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/7.868, allocations: 0 / 3.626 GB, free: 300.9 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000801/7.869, allocations: 0.7178 MB / 3.626 GB, free: 300.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002753/7.869, allocations: 173.2 kB / 3.626 GB, free: 300.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.635e-05/7.869, allocations: 15.16 kB / 3.626 GB, free: 300.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005479/7.87, allocations: 51.98 kB / 3.626 GB, free: 300.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.435e-05/7.87, allocations: 22.94 kB / 3.626 GB, free: 300.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.849e-05/7.87, allocations: 11.58 kB / 3.626 GB, free: 300.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0003948/7.87, allocations: 359.3 kB / 3.627 GB, free: 300 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.21e-07/7.87, allocations: 0 / 3.627 GB, free: 300 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001382/7.872, allocations: 440.8 kB / 3.627 GB, free: 299.9 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (del.dynBal.medium.Xi[1],del.dynBal.U,del.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002854/7.875, allocations: 2.865 MB / 3.63 GB, free: 298 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0007485/7.875, allocations: 494.5 kB / 3.631 GB, free: 297.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/7.875, allocations: 0 / 3.631 GB, free: 297.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002261/7.876, allocations: 161.9 kB / 3.631 GB, free: 297.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001793/7.878, allocations: 362.3 kB / 3.631 GB, free: 297.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002225/7.88, allocations: 1.15 MB / 3.632 GB, free: 296.8 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003928/7.88, allocations: 0.948 MB / 3.633 GB, free: 295.9 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0008703/7.881, allocations: 235.8 kB / 3.633 GB, free: 295.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002597/7.881, allocations: 205 kB / 3.633 GB, free: 295.7 MB / 1.151 GB Notification: Performance of SimCode: time 1.763e-06/7.881, allocations: 0 / 3.633 GB, free: 295.7 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05899/7.94, allocations: 40.13 MB / 3.673 GB, free: 256.5 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001408/7.94, allocations: 178.1 kB / 3.673 GB, free: 256.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.44/11.38, allocations: 2.875 kB / 3.673 GB, free: 256.2 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_9_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_9_Buildings.Fluid.Delays.Examples.Delay.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Delays.Examples.Delay_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Delays_Examples_Delay_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Delays_Examples_Delay.fmu > Buildings_9_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Delays.Examples.Delay_res.mat does not exist to compare? outputFormat=mat