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.34/2.34, allocations: 387.4 MB / 394.9 MB, free: 13.33 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.001347/0.001348, allocations: 176.8 kB / 487.4 MB, free: 5.02 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.502/1.502, allocations: 221.5 MB / 0.7824 GB, free: 0.8906 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000923/0.000923, allocations: 98.64 kB / 0.9219 GB, free: 2.137 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.045e-05/2.048e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/0.293, allocations: 142.4 MB / 1.206 GB, free: 43.84 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.416/5.709, allocations: 1.922 GB / 3.128 GB, free: 429.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002243/5.71, allocations: 84.61 kB / 3.128 GB, free: 429 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.691/7.4, allocations: 485 MB / 3.602 GB, free: 305.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.524e-06/7.401, allocations: 0 / 3.602 GB, free: 305.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 5.429e-05/7.401, allocations: 26.73 kB / 3.602 GB, free: 305.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.001679/7.402, allocations: 0.9867 MB / 3.603 GB, free: 305.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/7.402, allocations: 9.969 kB / 3.603 GB, free: 305.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001234/7.404, allocations: 205.2 kB / 3.603 GB, free: 305.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/7.405, allocations: 0.6249 MB / 3.604 GB, free: 305 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/7.405, allocations: 15.34 kB / 3.604 GB, free: 305 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.941e-05/7.405, allocations: 29.53 kB / 3.604 GB, free: 305 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005665/7.405, allocations: 363.2 kB / 3.604 GB, free: 305 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006218/7.406, allocations: 394.2 kB / 3.605 GB, free: 304.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/7.406, allocations: 0 / 3.605 GB, free: 304.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.064e-05/7.406, allocations: 0 / 3.605 GB, free: 304.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.321e-05/7.406, allocations: 16.47 kB / 3.605 GB, free: 304.9 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.002259/7.408, allocations: 1.917 MB / 3.606 GB, free: 304 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004433/7.409, allocations: 308.9 kB / 3.607 GB, free: 304 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002075/7.409, allocations: 178.7 kB / 3.607 GB, free: 304 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000254/7.409, allocations: 197.2 kB / 3.607 GB, free: 303.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/7.409, allocations: 37.88 kB / 3.607 GB, free: 303.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=33): time 1.703e-06/7.409, allocations: 0 / 3.607 GB, free: 303.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=33): time 0.000765/7.41, allocations: 369.5 kB / 3.607 GB, free: 303.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.681e-05/7.41, allocations: 58.72 kB / 3.608 GB, free: 303.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003765/7.41, allocations: 375.5 kB / 3.608 GB, free: 303.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.332e-05/7.41, allocations: 25.7 kB / 3.608 GB, free: 303.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000156/7.411, allocations: 317.4 kB / 3.608 GB, free: 303.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 7.596e-05/7.411, allocations: 107.9 kB / 3.608 GB, free: 303.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.624e-05/7.411, allocations: 0 / 3.608 GB, free: 303.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.671e-05/7.411, allocations: 370.1 kB / 3.609 GB, free: 303 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/7.411, allocations: 111.5 kB / 3.609 GB, free: 303 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001864/7.411, allocations: 190.1 kB / 3.609 GB, free: 302.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001833/7.411, allocations: 152.9 kB / 3.609 GB, free: 302.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/7.411, allocations: 0 / 3.609 GB, free: 302.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004448/7.412, allocations: 369 kB / 3.609 GB, free: 302.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.229e-05/7.412, allocations: 358 kB / 3.61 GB, free: 302.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/7.412, allocations: 3.953 kB / 3.61 GB, free: 302.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/7.412, allocations: 3.969 kB / 3.61 GB, free: 302.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003272/7.412, allocations: 73.94 kB / 3.61 GB, free: 302.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/7.412, allocations: 6.938 kB / 3.61 GB, free: 302.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000539/7.413, allocations: 56.31 kB / 3.61 GB, free: 302.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.943e-05/7.413, allocations: 14.69 kB / 3.61 GB, free: 302.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 6.803e-06/7.413, allocations: 3.688 kB / 3.61 GB, free: 302.5 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00036/7.413, allocations: 285.9 kB / 3.61 GB, free: 302.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.753e-06/7.413, allocations: 2.875 kB / 3.61 GB, free: 302.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.065e-06/7.413, allocations: 0 / 3.61 GB, free: 302.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002962/7.414, allocations: 74.27 kB / 3.61 GB, free: 302.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.264e-06/7.414, allocations: 2.844 kB / 3.61 GB, free: 302.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004752/7.414, allocations: 58.03 kB / 3.61 GB, free: 302.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.58e-05/7.414, allocations: 18.2 kB / 3.61 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 9.107e-05/7.414, allocations: 112.6 kB / 3.611 GB, free: 302.3 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004341/7.415, allocations: 335.1 kB / 3.611 GB, free: 302.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.409e-05/7.415, allocations: 55.16 kB / 3.611 GB, free: 302.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005055/7.415, allocations: 361.5 kB / 3.611 GB, free: 302.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/7.415, allocations: 3.281 kB / 3.611 GB, free: 302.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/7.415, allocations: 3.375 kB / 3.611 GB, free: 302.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003576/7.416, allocations: 381.7 kB / 3.612 GB, free: 302 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001284/7.417, allocations: 1.054 MB / 3.613 GB, free: 301.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/7.417, allocations: 3.938 kB / 3.613 GB, free: 301.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003959/7.417, allocations: 86.83 kB / 3.613 GB, free: 301.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/7.417, allocations: 3.219 kB / 3.613 GB, free: 301.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.755e-05/7.417, allocations: 7.891 kB / 3.613 GB, free: 301.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/7.417, allocations: 6.906 kB / 3.613 GB, free: 301.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/7.417, allocations: 3.5 kB / 3.613 GB, free: 301.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006699/7.418, allocations: 0.6983 MB / 3.613 GB, free: 301.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001819/7.418, allocations: 169.8 kB / 3.614 GB, free: 301.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.678e-05/7.418, allocations: 7.625 kB / 3.614 GB, free: 301.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005018/7.419, allocations: 51.59 kB / 3.614 GB, free: 301.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.246e-05/7.419, allocations: 26.05 kB / 3.614 GB, free: 301.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-05/7.419, allocations: 17.12 kB / 3.614 GB, free: 301.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0002728/7.419, allocations: 295.8 kB / 3.614 GB, free: 301.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.7e-07/7.419, allocations: 3.281 kB / 3.614 GB, free: 301.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001075/7.42, allocations: 397.4 kB / 3.614 GB, free: 301.1 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.002535/7.423, allocations: 2.974 MB / 3.617 GB, free: 299.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0006375/7.424, allocations: 460.7 kB / 3.618 GB, free: 299.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/7.424, allocations: 3.906 kB / 3.618 GB, free: 299.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001784/7.424, allocations: 161.6 kB / 3.618 GB, free: 299.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001578/7.425, allocations: 338.5 kB / 3.618 GB, free: 299.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001801/7.427, allocations: 1.101 MB / 3.619 GB, free: 299.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000349/7.428, allocations: 0.9522 MB / 3.62 GB, free: 298.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0007532/7.428, allocations: 218.7 kB / 3.62 GB, free: 298.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002465/7.429, allocations: 207.6 kB / 3.621 GB, free: 298.6 MB / 1.151 GB Notification: Performance of SimCode: time 5.81e-07/7.429, allocations: 0 / 3.621 GB, free: 298.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04832/7.477, allocations: 25.21 MB / 3.645 GB, free: 297.9 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000166/7.477, allocations: 149.5 kB / 3.645 GB, free: 297.7 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.022/10.5, allocations: 3.5 kB / 3.645 GB, free: 297.7 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