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/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.537/2.537, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.00139/0.00139, allocations: 176 kB / 0.4901 GB, free: 2.227 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.685/1.685, allocations: 223.1 MB / 0.7992 GB, free: 14.7 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.0009696/0.0009696, allocations: 97.97 kB / 0.9396 GB, free: 1.891 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003503/0.0003502, allocations: 7.844 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3204/0.3208, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.395/4.716, allocations: 1.924 GB / 3.153 GB, free: 29.24 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003692/4.716, allocations: 93.64 kB / 3.153 GB, free: 29.19 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.704/6.42, allocations: 490.9 MB / 3.632 GB, free: 8.559 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.863e-06/6.42, allocations: 3.938 kB / 3.632 GB, free: 8.555 MB / 1.167 GB Notification: Performance of Transformations before backend: time 8.892e-05/6.42, allocations: 19.94 kB / 3.632 GB, free: 8.535 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.002912/6.423, allocations: 1.092 MB / 3.634 GB, free: 7.395 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/6.423, allocations: 8.828 kB / 3.634 GB, free: 7.387 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00021/6.423, allocations: 86.53 kB / 3.634 GB, free: 7.293 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001445/6.425, allocations: 210.9 kB / 3.634 GB, free: 7.086 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001515/6.426, allocations: 0.6281 MB / 3.634 GB, free: 6.418 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.669e-05/6.426, allocations: 41 kB / 3.635 GB, free: 6.375 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001105/6.426, allocations: 48 kB / 3.635 GB, free: 6.328 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008827/6.427, allocations: 482.4 kB / 3.635 GB, free: 5.848 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.001e-05/6.427, allocations: 3.938 kB / 3.635 GB, free: 5.844 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.149e-05/6.427, allocations: 20 kB / 3.635 GB, free: 5.824 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.739e-05/6.427, allocations: 17 kB / 3.635 GB, free: 5.809 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007513/6.428, allocations: 431.7 kB / 3.635 GB, free: 5.387 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.002858/6.431, allocations: 2.013 MB / 3.637 GB, free: 3.195 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005743/6.432, allocations: 335.8 kB / 3.638 GB, free: 2.863 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002981/6.432, allocations: 202.4 kB / 3.638 GB, free: 2.629 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/6.432, allocations: 34.84 kB / 3.638 GB, free: 2.586 MB / 1.167 GB Notification: Performance of pre-optimization done (n=33): time 2.364e-06/6.432, allocations: 0 / 3.638 GB, free: 2.586 MB / 1.167 GB Notification: Performance of matching and sorting (n=33): time 0.001235/6.433, allocations: 0.5433 MB / 3.639 GB, free: 2.039 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.156e-05/6.433, allocations: 55.41 kB / 3.639 GB, free: 1.973 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00052/6.434, allocations: 454.2 kB / 3.639 GB, free: 1.52 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 4.521e-05/6.434, allocations: 29.7 kB / 3.639 GB, free: 1.484 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001673/6.434, allocations: 308.2 kB / 3.639 GB, free: 1.176 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 9.276e-05/6.434, allocations: 122.3 kB / 3.639 GB, free: 1.055 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.62e-05/6.434, allocations: 4 kB / 3.639 GB, free: 1.051 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.152e-05/6.434, allocations: 366.8 kB / 3.64 GB, free: 0.6836 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002335/6.434, allocations: 132.6 kB / 3.64 GB, free: 0.5508 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002733/6.435, allocations: 225.7 kB / 3.64 GB, free: 308 kB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002771/6.435, allocations: 167.7 kB / 3.64 GB, free: 140 kB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/6.435, allocations: 4 kB / 3.64 GB, free: 136 kB / 1.167 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.8157/7.251, allocations: 422.7 kB / 3.641 GB, free: 309.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001622/7.251, allocations: 366.9 kB / 3.641 GB, free: 309.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/7.251, allocations: 0 / 3.641 GB, free: 309.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.326e-05/7.251, allocations: 11.5 kB / 3.641 GB, free: 309.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004015/7.251, allocations: 79.28 kB / 3.641 GB, free: 309.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.497e-05/7.251, allocations: 6.844 kB / 3.641 GB, free: 309.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007595/7.252, allocations: 71.06 kB / 3.641 GB, free: 309.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.516e-05/7.252, allocations: 15.89 kB / 3.641 GB, free: 309.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/7.252, allocations: 4.469 kB / 3.641 GB, free: 309.4 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007115/7.253, allocations: 350.6 kB / 3.642 GB, free: 309.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.555e-06/7.253, allocations: 0 / 3.642 GB, free: 309.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.358e-06/7.253, allocations: 1.906 kB / 3.642 GB, free: 309.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003384/7.253, allocations: 75.5 kB / 3.642 GB, free: 309.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/7.253, allocations: 2.469 kB / 3.642 GB, free: 309.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005648/7.254, allocations: 70.84 kB / 3.642 GB, free: 309.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.937e-05/7.254, allocations: 15.16 kB / 3.642 GB, free: 309.4 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.0004708/7.255, allocations: 291 kB / 3.642 GB, free: 309.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/7.255, allocations: 55.97 kB / 3.642 GB, free: 309.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008683/7.256, allocations: 426.8 kB / 3.642 GB, free: 309.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/7.256, allocations: 2.938 kB / 3.642 GB, free: 309.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/7.256, allocations: 1.375 kB / 3.642 GB, free: 309.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006485/7.256, allocations: 446.9 kB / 3.643 GB, free: 309 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001958/7.258, allocations: 1.178 MB / 3.644 GB, free: 308.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/7.258, allocations: 1.844 kB / 3.644 GB, free: 308.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004414/7.259, allocations: 86.88 kB / 3.644 GB, free: 308.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.932e-06/7.259, allocations: 2.688 kB / 3.644 GB, free: 308.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.947e-05/7.259, allocations: 13.03 kB / 3.644 GB, free: 308.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.22e-05/7.259, allocations: 14.52 kB / 3.644 GB, free: 308.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/7.259, allocations: 0.875 kB / 3.644 GB, free: 308.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001164/7.26, allocations: 0.7757 MB / 3.645 GB, free: 308.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002938/7.26, allocations: 177 kB / 3.645 GB, free: 308.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.221e-05/7.26, allocations: 9.781 kB / 3.645 GB, free: 308.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005394/7.261, allocations: 59.41 kB / 3.645 GB, free: 308.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/7.261, allocations: 26.39 kB / 3.645 GB, free: 308.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.553e-05/7.261, allocations: 16.3 kB / 3.645 GB, free: 308.2 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0005449/7.262, allocations: 360.5 kB / 3.646 GB, free: 308.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.41e-07/7.262, allocations: 4.719 kB / 3.646 GB, free: 308.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001805/7.263, allocations: 444.8 kB / 3.646 GB, free: 308.1 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.004346/7.268, allocations: 2.899 MB / 3.649 GB, free: 306.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001328/7.269, allocations: 0.5196 MB / 3.649 GB, free: 306.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/7.269, allocations: 1.312 kB / 3.649 GB, free: 306.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003728/7.269, allocations: 184.4 kB / 3.649 GB, free: 306.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001872/7.271, allocations: 366.5 kB / 3.65 GB, free: 306.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006594/7.278, allocations: 3.989 MB / 3.654 GB, free: 305.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006329/7.279, allocations: 0.9449 MB / 3.655 GB, free: 304.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0009254/7.28, allocations: 179.2 kB / 3.655 GB, free: 304.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003475/7.28, allocations: 218.7 kB / 3.655 GB, free: 304.4 MB / 1.167 GB Notification: Performance of SimCode: time 1.633e-06/7.28, allocations: 1.156 kB / 3.655 GB, free: 304.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09894/7.379, allocations: 35.9 MB / 3.69 GB, free: 304 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001686/7.379, allocations: 205.1 kB / 3.69 GB, free: 303.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.509/10.89, allocations: 11.09 kB / 3.69 GB, free: 303.7 MB / 1.167 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) 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