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.345/2.345, allocations: 390.5 MB / 398 MB, free: 10.91 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.001312/0.001312, allocations: 184.8 kB / 491.2 MB, free: 1.531 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.663/1.663, allocations: 221.5 MB / 0.7868 GB, free: 13.32 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.000978/0.000978, allocations: 99.94 kB / 0.9269 GB, free: 13.82 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.111e-05/2.115e-05, allocations: 0 / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.3349, allocations: 143 MB / 1.212 GB, free: 39.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.722/6.057, allocations: 1.923 GB / 3.135 GB, free: 342.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002914/6.057, allocations: 92.19 kB / 3.135 GB, free: 342.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.016/8.074, allocations: 485 MB / 3.609 GB, free: 310.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.076e-06/8.074, allocations: 3.562 kB / 3.609 GB, free: 310.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 9.752e-05/8.074, allocations: 25.88 kB / 3.609 GB, free: 310.2 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.002473/8.076, allocations: 0.9745 MB / 3.61 GB, free: 309.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/8.076, allocations: 7.375 kB / 3.61 GB, free: 309.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001543/8.078, allocations: 205.6 kB / 3.61 GB, free: 309.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001387/8.079, allocations: 0.6191 MB / 3.611 GB, free: 309 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.554e-05/8.079, allocations: 14.59 kB / 3.611 GB, free: 309 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.29e-05/8.079, allocations: 35.98 kB / 3.611 GB, free: 308.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006474/8.08, allocations: 369.7 kB / 3.611 GB, free: 308.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006751/8.081, allocations: 402.2 kB / 3.612 GB, free: 308.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/8.081, allocations: 0 / 3.612 GB, free: 308.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.482e-05/8.081, allocations: 3.75 kB / 3.612 GB, free: 308.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.325e-05/8.081, allocations: 16.97 kB / 3.612 GB, free: 308.6 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.002513/8.083, allocations: 1.91 MB / 3.614 GB, free: 307 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000472/8.084, allocations: 308.5 kB / 3.614 GB, free: 306.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002202/8.084, allocations: 176.9 kB / 3.614 GB, free: 306.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002666/8.084, allocations: 197.3 kB / 3.614 GB, free: 306.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.041e-05/8.084, allocations: 34.84 kB / 3.614 GB, free: 306.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=33): time 1.884e-06/8.084, allocations: 3.906 kB / 3.614 GB, free: 306.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=33): time 0.0008557/8.085, allocations: 362.2 kB / 3.615 GB, free: 306.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.496e-05/8.085, allocations: 62.52 kB / 3.615 GB, free: 306.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004007/8.086, allocations: 380.1 kB / 3.615 GB, free: 306 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.103e-05/8.086, allocations: 29.33 kB / 3.615 GB, free: 306 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001649/8.086, allocations: 305.9 kB / 3.615 GB, free: 305.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 9.323e-05/8.086, allocations: 113.1 kB / 3.615 GB, free: 305.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.738e-05/8.086, allocations: 3.938 kB / 3.615 GB, free: 305.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001059/8.086, allocations: 367.7 kB / 3.616 GB, free: 305.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001634/8.086, allocations: 112.2 kB / 3.616 GB, free: 305.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002025/8.087, allocations: 195 kB / 3.616 GB, free: 305.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002404/8.087, allocations: 143.5 kB / 3.616 GB, free: 305 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/8.087, allocations: 3.938 kB / 3.616 GB, free: 305 MB / 1.151 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005101/8.087, allocations: 368 kB / 3.617 GB, free: 304.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001023/8.088, allocations: 358.4 kB / 3.617 GB, free: 304.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/8.088, allocations: 0 / 3.617 GB, free: 304.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/8.088, allocations: 3.938 kB / 3.617 GB, free: 304.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003409/8.088, allocations: 75.89 kB / 3.617 GB, free: 304.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/8.088, allocations: 3.719 kB / 3.617 GB, free: 304.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006164/8.089, allocations: 59.58 kB / 3.617 GB, free: 304.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.396e-05/8.089, allocations: 11.22 kB / 3.617 GB, free: 304.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/8.089, allocations: 5.25 kB / 3.617 GB, free: 304.4 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004125/8.089, allocations: 280.1 kB / 3.617 GB, free: 304.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.066e-06/8.089, allocations: 0 / 3.617 GB, free: 304.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.782e-06/8.089, allocations: 3.219 kB / 3.617 GB, free: 304.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003155/8.089, allocations: 77.27 kB / 3.617 GB, free: 304.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/8.089, allocations: 6.344 kB / 3.617 GB, free: 304.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005717/8.09, allocations: 58.81 kB / 3.618 GB, free: 304.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.543e-05/8.09, allocations: 17.22 kB / 3.618 GB, free: 304.2 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.0001095/8.09, allocations: 108.3 kB / 3.618 GB, free: 304.1 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000469/8.091, allocations: 331.8 kB / 3.618 GB, free: 303.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/8.091, allocations: 61.14 kB / 3.618 GB, free: 303.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005411/8.091, allocations: 363.5 kB / 3.618 GB, free: 303.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/8.091, allocations: 3.969 kB / 3.618 GB, free: 303.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/8.091, allocations: 0 / 3.618 GB, free: 303.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003722/8.092, allocations: 390.4 kB / 3.619 GB, free: 303.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001618/8.093, allocations: 1.044 MB / 3.62 GB, free: 302.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/8.093, allocations: 3.719 kB / 3.62 GB, free: 302.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000435/8.094, allocations: 86.56 kB / 3.62 GB, free: 302.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.186e-05/8.094, allocations: 3.531 kB / 3.62 GB, free: 302.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.547e-05/8.094, allocations: 7.812 kB / 3.62 GB, free: 302.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.252e-06/8.094, allocations: 3.938 kB / 3.62 GB, free: 302.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/8.094, allocations: 0 / 3.62 GB, free: 302.6 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009613/8.095, allocations: 0.6996 MB / 3.621 GB, free: 302.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003184/8.095, allocations: 177.8 kB / 3.621 GB, free: 301.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.292e-05/8.095, allocations: 3.906 kB / 3.621 GB, free: 301.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005297/8.096, allocations: 40.17 kB / 3.621 GB, free: 301.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/8.096, allocations: 23.09 kB / 3.621 GB, free: 301.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.384e-05/8.096, allocations: 18.27 kB / 3.621 GB, free: 301.9 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0003911/8.096, allocations: 295.5 kB / 3.621 GB, free: 301.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.81e-07/8.096, allocations: 0 / 3.621 GB, free: 301.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001456/8.098, allocations: 406.6 kB / 3.621 GB, free: 301.6 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.003626/8.101, allocations: 2.977 MB / 3.624 GB, free: 299.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0008131/8.102, allocations: 468.9 kB / 3.625 GB, free: 299.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.491e-06/8.102, allocations: 3.75 kB / 3.625 GB, free: 299.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002136/8.103, allocations: 165.2 kB / 3.625 GB, free: 299.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001652/8.104, allocations: 323.9 kB / 3.625 GB, free: 299.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002169/8.106, allocations: 1.114 MB / 3.626 GB, free: 298.7 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004845/8.107, allocations: 0.9507 MB / 3.627 GB, free: 297.9 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.000766/8.108, allocations: 215.5 kB / 3.628 GB, free: 297.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00026/8.108, allocations: 208.5 kB / 3.628 GB, free: 297.6 MB / 1.151 GB Notification: Performance of SimCode: time 8.22e-07/8.108, allocations: 0 / 3.628 GB, free: 297.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0493/8.157, allocations: 25.22 MB / 3.652 GB, free: 275.2 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001717/8.157, allocations: 151.5 kB / 3.652 GB, free: 275 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.836/10.99, allocations: 3.938 kB / 3.652 GB, free: 275 MB / 1.151 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