Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Delays.Examples.Delay,fileNamePrefix="Buildings_latest_Buildings_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Delays.Examples.Delay,fileNamePrefix="Buildings_latest_Buildings_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 94.3 kB / 15.05 MB, free: 1.113 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001588/0.001588, allocations: 181.3 kB / 15.95 MB, free: 220 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.529/2.529, allocations: 223.2 MB / 239.9 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.338/4.338, allocations: 409.2 MB / 0.6838 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006927/0.0006929, allocations: 16 kB / 0.8375 GB, free: 6.555 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.503/1.504, allocations: 146.8 MB / 0.9809 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.3221/1.826, allocations: 152.6 MB / 1.13 GB, free: 13.33 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01371/1.84, allocations: 4.781 MB / 1.135 GB, free: 8.539 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001896/1.842, allocations: 27.81 kB / 1.135 GB, free: 8.512 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002806/1.844, allocations: 450 kB / 1.135 GB, free: 8.07 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.008727/1.853, allocations: 1.389 MB / 1.136 GB, free: 6.68 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.005753/1.859, allocations: 0.8723 MB / 1.137 GB, free: 5.816 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.004746/1.864, allocations: 1.089 MB / 1.138 GB, free: 4.727 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001528/1.865, allocations: 452.8 kB / 1.139 GB, free: 4.273 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002865/1.868, allocations: 0.5956 MB / 1.139 GB, free: 3.676 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001105/1.869, allocations: 354.5 kB / 1.14 GB, free: 3.328 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001227/1.87, allocations: 24 kB / 1.14 GB, free: 3.305 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003341/1.873, allocations: 0.6864 MB / 1.14 GB, free: 2.617 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0004397/1.873, allocations: 207.4 kB / 1.14 GB, free: 2.414 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0003807/1.874, allocations: 169.3 kB / 1.141 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002029/1.876, allocations: 0.8729 MB / 1.142 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/1.876, allocations: 4 kB / 1.142 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.236e-06/1.876, allocations: 3.938 kB / 1.142 GB, free: 1.359 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.307e-05/1.876, allocations: 0 / 1.142 GB, free: 1.359 MB / 0.8887 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.002779/1.879, allocations: 0.9461 MB / 1.142 GB, free: 368 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 7.288e-05/1.879, allocations: 8.031 kB / 1.142 GB, free: 360 kB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001919/1.879, allocations: 86.52 kB / 1.143 GB, free: 264 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002443/1.881, allocations: 206.9 kB / 1.143 GB, free: 56 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001827/1.883, allocations: 0.5658 MB / 1.143 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.403e-05/1.883, allocations: 40.94 kB / 1.143 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001522/1.884, allocations: 48 kB / 1.143 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001521/1.885, allocations: 498.3 kB / 1.144 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.704e-05/1.885, allocations: 0 / 1.144 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-05/1.885, allocations: 20 kB / 1.144 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.602e-05/1.885, allocations: 21 kB / 1.144 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001336/1.887, allocations: 443.7 kB / 1.144 GB, free: 14.4 MB / 0.9044 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.004708/1.891, allocations: 2.009 MB / 1.146 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001065/1.892, allocations: 363.5 kB / 1.147 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001071/1.893, allocations: 16.27 kB / 1.147 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.447e-05/1.893, allocations: 42.78 kB / 1.147 GB, free: 11.78 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=33): time 3.417e-06/1.893, allocations: 0 / 1.147 GB, free: 11.78 MB / 0.9044 GB Notification: Performance of matching and sorting (n=33): time 0.002143/1.895, allocations: 0.5503 MB / 1.147 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.922e-05/1.895, allocations: 59.41 kB / 1.147 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001036/1.896, allocations: 0.503 MB / 1.148 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.771e-05/1.896, allocations: 29.7 kB / 1.148 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003826/1.896, allocations: 304.2 kB / 1.148 GB, free: 10.31 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001985/1.897, allocations: 114.3 kB / 1.148 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.842e-05/1.897, allocations: 4 kB / 1.148 GB, free: 10.19 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002493/1.897, allocations: 366.8 kB / 1.149 GB, free: 9.824 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004423/1.897, allocations: 140.6 kB / 1.149 GB, free: 9.688 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005457/1.898, allocations: 212 kB / 1.149 GB, free: 9.457 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005223/1.899, allocations: 171.9 kB / 1.149 GB, free: 9.289 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/1.899, allocations: 4 kB / 1.149 GB, free: 9.285 MB / 0.9044 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001354/1.9, allocations: 436.9 kB / 1.149 GB, free: 8.852 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002834/1.9, allocations: 372 kB / 1.15 GB, free: 8.461 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/1.9, allocations: 0 / 1.15 GB, free: 8.461 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.726e-05/1.9, allocations: 4 kB / 1.15 GB, free: 8.457 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005943/1.901, allocations: 71.91 kB / 1.15 GB, free: 8.387 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.582e-05/1.901, allocations: 4 kB / 1.15 GB, free: 8.383 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001005/1.902, allocations: 67.64 kB / 1.15 GB, free: 8.316 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.906e-05/1.902, allocations: 15.98 kB / 1.15 GB, free: 8.301 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/1.902, allocations: 4 kB / 1.15 GB, free: 8.297 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001044/1.903, allocations: 351.6 kB / 1.15 GB, free: 7.953 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/1.903, allocations: 0 / 1.15 GB, free: 7.953 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.997e-06/1.903, allocations: 4 kB / 1.15 GB, free: 7.949 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005591/1.904, allocations: 76 kB / 1.15 GB, free: 7.875 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/1.904, allocations: 7.938 kB / 1.15 GB, free: 7.867 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000943/1.905, allocations: 63.64 kB / 1.15 GB, free: 7.805 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.068e-05/1.905, allocations: 19.98 kB / 1.15 GB, free: 7.785 MB / 0.9044 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 () * Number of clocked 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.000601/1.905, allocations: 293 kB / 1.151 GB, free: 7.488 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001712/1.906, allocations: 55.34 kB / 1.151 GB, free: 7.434 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001309/1.907, allocations: 431.3 kB / 1.151 GB, free: 7 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/1.907, allocations: 4 kB / 1.151 GB, free: 6.996 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/1.907, allocations: 3.938 kB / 1.151 GB, free: 6.992 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001149/1.908, allocations: 440.2 kB / 1.152 GB, free: 6.531 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003307/1.911, allocations: 1.182 MB / 1.153 GB, free: 5.273 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.736e-06/1.911, allocations: 0 / 1.153 GB, free: 5.273 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007226/1.912, allocations: 87.89 kB / 1.153 GB, free: 5.188 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.057e-05/1.912, allocations: 7.984 kB / 1.153 GB, free: 5.18 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.611e-05/1.912, allocations: 15.95 kB / 1.153 GB, free: 5.164 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-05/1.912, allocations: 8 kB / 1.153 GB, free: 5.156 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/1.912, allocations: 4.188 kB / 1.153 GB, free: 5.152 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002036/1.914, allocations: 0.7835 MB / 1.154 GB, free: 4.297 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005635/1.915, allocations: 180.3 kB / 1.154 GB, free: 4.102 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001334/1.915, allocations: 11.98 kB / 1.154 GB, free: 4.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009155/1.916, allocations: 51.84 kB / 1.154 GB, free: 4.039 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/1.916, allocations: 23.97 kB / 1.154 GB, free: 4.016 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.549e-05/1.916, allocations: 16 kB / 1.154 GB, free: 4 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0007415/1.917, allocations: 354.8 kB / 1.154 GB, free: 3.656 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3e-07/1.917, allocations: 0 / 1.154 GB, free: 3.656 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001594/1.919, allocations: 327.2 kB / 1.155 GB, free: 3.336 MB / 0.9044 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 () * Number of clocked 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.003313/1.922, allocations: 1.833 MB / 1.156 GB, free: 1.438 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001766/1.924, allocations: 0.5305 MB / 1.157 GB, free: 0.9062 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/1.924, allocations: 0 / 1.157 GB, free: 0.9062 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0005283/1.924, allocations: 192.7 kB / 1.157 GB, free: 0.7188 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003262/1.928, allocations: 361 kB / 1.157 GB, free: 380 kB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009705/1.937, allocations: 4.002 MB / 1.161 GB, free: 12.29 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008758/1.938, allocations: 0.9412 MB / 1.162 GB, free: 11.32 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001362/1.94, allocations: 184.8 kB / 1.162 GB, free: 11.14 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005282/1.94, allocations: 219.4 kB / 1.163 GB, free: 10.92 MB / 0.92 GB Notification: Performance of SimCode: time 2.565e-06/1.94, allocations: 0 / 1.163 GB, free: 10.92 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05749/1.998, allocations: 16.63 MB / 1.179 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000283/1.998, allocations: 210.8 kB / 1.179 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.667/5.665, allocations: 0 / 1.179 GB, free: 10.33 MB / 0.9356 GB (rm -f Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Delays.Examples.Delay_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Delays_Examples_Delay_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Delays_Examples_Delay.fmu > Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Delays.Examples.Delay_res.mat does not exist to compare? outputFormat=mat