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.246/2.246, allocations: 390.3 MB / 405.3 MB, free: 13.52 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.001233/0.001233, allocations: 187 kB / 498.1 MB, free: 5.758 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.585/1.585, allocations: 223.1 MB / 0.7948 GB, free: 18.94 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.000895/0.000895, allocations: 92.33 kB / 0.9346 GB, free: 7.246 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003592/0.0003592, allocations: 9.5 kB / 1.084 GB, free: 212.5 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2921/0.2924, allocations: 142.4 MB / 1.223 GB, free: 89.52 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.653/4.946, allocations: 1.923 GB / 3.146 GB, free: 26.99 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000367/4.946, allocations: 96.7 kB / 3.146 GB, free: 26.94 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.843/6.789, allocations: 490.9 MB / 3.625 GB, free: 9.539 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.633e-06/6.789, allocations: 4 kB / 3.625 GB, free: 9.535 MB / 1.167 GB Notification: Performance of Transformations before backend: time 9.514e-05/6.789, allocations: 23.98 kB / 3.625 GB, free: 9.512 MB / 1.167 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.003196/6.793, allocations: 1.098 MB / 3.626 GB, free: 8.363 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.982e-05/6.793, allocations: 12.03 kB / 3.626 GB, free: 8.352 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002405/6.793, allocations: 90.52 kB / 3.627 GB, free: 8.254 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001542/6.794, allocations: 198.9 kB / 3.627 GB, free: 8.059 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001596/6.796, allocations: 0.6281 MB / 3.627 GB, free: 7.391 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.267e-05/6.796, allocations: 40.98 kB / 3.627 GB, free: 7.348 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/6.796, allocations: 44 kB / 3.627 GB, free: 7.305 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009134/6.797, allocations: 486.3 kB / 3.628 GB, free: 6.824 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.174e-05/6.797, allocations: 0 / 3.628 GB, free: 6.824 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.169e-05/6.797, allocations: 24 kB / 3.628 GB, free: 6.801 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.546e-05/6.797, allocations: 17 kB / 3.628 GB, free: 6.785 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000787/6.798, allocations: 423.7 kB / 3.628 GB, free: 6.371 MB / 1.167 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.002985/6.801, allocations: 2.017 MB / 3.63 GB, free: 4.176 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006245/6.802, allocations: 336.5 kB / 3.631 GB, free: 3.84 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002924/6.802, allocations: 194.4 kB / 3.631 GB, free: 3.613 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.637e-05/6.802, allocations: 42.84 kB / 3.631 GB, free: 3.562 MB / 1.167 GB Notification: Performance of pre-optimization done (n=33): time 2.375e-06/6.802, allocations: 0 / 3.631 GB, free: 3.562 MB / 1.167 GB Notification: Performance of matching and sorting (n=33): time 0.001297/6.803, allocations: 0.5471 MB / 3.631 GB, free: 3.012 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.355e-05/6.803, allocations: 55.41 kB / 3.631 GB, free: 2.945 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005185/6.804, allocations: 446.3 kB / 3.632 GB, free: 2.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.14e-05/6.804, allocations: 33.7 kB / 3.632 GB, free: 2.461 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001764/6.804, allocations: 312.2 kB / 3.632 GB, free: 2.152 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001/6.804, allocations: 114.3 kB / 3.632 GB, free: 2.039 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.857e-05/6.804, allocations: 4 kB / 3.632 GB, free: 2.035 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001181/6.804, allocations: 374.7 kB / 3.633 GB, free: 1.66 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002441/6.805, allocations: 136.6 kB / 3.633 GB, free: 1.523 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003072/6.805, allocations: 219.1 kB / 3.633 GB, free: 1.281 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002781/6.805, allocations: 167.7 kB / 3.633 GB, free: 1.117 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.165e-06/6.805, allocations: 4 kB / 3.633 GB, free: 1.113 MB / 1.167 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007047/6.806, allocations: 424.5 kB / 3.634 GB, free: 0.6914 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001542/6.806, allocations: 369.1 kB / 3.634 GB, free: 312 kB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/6.806, allocations: 0 / 3.634 GB, free: 312 kB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/6.806, allocations: 7.938 kB / 3.634 GB, free: 304 kB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003391/6.807, allocations: 79.89 kB / 3.634 GB, free: 224 kB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/6.807, allocations: 7.953 kB / 3.634 GB, free: 216 kB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006612/6.807, allocations: 71.64 kB / 3.634 GB, free: 144 kB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.753e-05/6.807, allocations: 12 kB / 3.634 GB, free: 132 kB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/6.807, allocations: 7.938 kB / 3.634 GB, free: 124 kB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.8629/7.67, allocations: 345.3 kB / 3.634 GB, free: 309.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/7.67, allocations: 5.062 kB / 3.634 GB, free: 309.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/7.67, allocations: 3.188 kB / 3.634 GB, free: 309.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004276/7.671, allocations: 73.77 kB / 3.635 GB, free: 309.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/7.671, allocations: 2.25 kB / 3.635 GB, free: 309.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008784/7.672, allocations: 71.58 kB / 3.635 GB, free: 309.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.356e-05/7.672, allocations: 10.53 kB / 3.635 GB, free: 309.5 MB / 1.167 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.0005206/7.672, allocations: 292.6 kB / 3.635 GB, free: 309.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001271/7.672, allocations: 63.77 kB / 3.635 GB, free: 309.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009536/7.673, allocations: 424.5 kB / 3.635 GB, free: 309.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/7.673, allocations: 2.875 kB / 3.635 GB, free: 309.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/7.673, allocations: 1.219 kB / 3.635 GB, free: 309.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007181/7.674, allocations: 444.8 kB / 3.636 GB, free: 309.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002172/7.676, allocations: 1.183 MB / 3.637 GB, free: 308.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/7.676, allocations: 1.062 kB / 3.637 GB, free: 308.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004717/7.677, allocations: 92.62 kB / 3.637 GB, free: 308.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.536e-06/7.677, allocations: 3.219 kB / 3.637 GB, free: 308.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.224e-05/7.677, allocations: 9 kB / 3.637 GB, free: 308.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-06/7.677, allocations: 2.594 kB / 3.637 GB, free: 308.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/7.677, allocations: 3.688 kB / 3.637 GB, free: 308.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001266/7.678, allocations: 0.7835 MB / 3.638 GB, free: 308.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00033/7.679, allocations: 170.5 kB / 3.638 GB, free: 308.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.288e-05/7.679, allocations: 12.34 kB / 3.638 GB, free: 308.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005588/7.679, allocations: 57.25 kB / 3.638 GB, free: 308.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.545e-05/7.679, allocations: 29.97 kB / 3.638 GB, free: 308.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.791e-05/7.679, allocations: 14.5 kB / 3.638 GB, free: 308.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0005503/7.68, allocations: 359 kB / 3.638 GB, free: 308.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.4e-07/7.68, allocations: 1.125 kB / 3.638 GB, free: 308.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.00163/7.682, allocations: 441.2 kB / 3.639 GB, free: 308.2 MB / 1.167 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.003892/7.685, allocations: 2.896 MB / 3.642 GB, free: 306.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001309/7.687, allocations: 0.5197 MB / 3.642 GB, free: 306.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/7.687, allocations: 1.062 kB / 3.642 GB, free: 306.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003626/7.687, allocations: 186.3 kB / 3.642 GB, free: 306.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001954/7.689, allocations: 369.4 kB / 3.643 GB, free: 306.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006961/7.696, allocations: 3.995 MB / 3.647 GB, free: 305.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007469/7.697, allocations: 0.9462 MB / 3.648 GB, free: 304.5 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001056/7.698, allocations: 178.5 kB / 3.648 GB, free: 304.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004329/7.698, allocations: 215.9 kB / 3.648 GB, free: 304.5 MB / 1.167 GB Notification: Performance of SimCode: time 1.814e-06/7.698, allocations: 0 / 3.648 GB, free: 304.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08638/7.785, allocations: 35.89 MB / 3.683 GB, free: 304.1 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001926/7.785, allocations: 208.7 kB / 3.683 GB, free: 303.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.652/11.44, allocations: 0 / 3.683 GB, free: 303.9 MB / 1.167 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