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/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 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009602/0.0009603, allocations: 100.6 kB / 15.05 MB, free: 1.105 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.001015/0.001015, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, 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 9.1.1-maint.9.1.x/package.mo): time 2.407/2.407, allocations: 390.3 MB / 0.6653 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003442/0.0003443, allocations: 8 kB / 0.8146 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8024/0.8028, allocations: 142.3 MB / 0.9536 GB, free: 8.238 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.2204/1.023, allocations: 152.6 MB / 1.103 GB, free: 7.328 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.008389/1.032, allocations: 4.783 MB / 1.107 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001017/1.033, allocations: 23.81 kB / 1.107 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00133/1.034, allocations: 442 kB / 1.108 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.004178/1.038, allocations: 1.395 MB / 1.109 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002799/1.041, allocations: 0.8743 MB / 1.11 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001865/1.043, allocations: 1.093 MB / 1.111 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000615/1.044, allocations: 448.7 kB / 1.111 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001135/1.045, allocations: 0.5995 MB / 1.112 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004757/1.045, allocations: 346.5 kB / 1.112 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 6.324e-05/1.045, allocations: 24 kB / 1.112 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001618/1.047, allocations: 0.6904 MB / 1.113 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002338/1.047, allocations: 211.3 kB / 1.113 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001731/1.047, allocations: 173.3 kB / 1.113 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001069/1.048, allocations: 0.8729 MB / 1.114 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/1.048, allocations: 0 / 1.114 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.214e-06/1.048, allocations: 0 / 1.114 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 8.916e-06/1.048, allocations: 0 / 1.114 GB, free: 11.36 MB / 0.8731 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.001606/1.05, allocations: 0.95 MB / 1.115 GB, free: 10.36 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/1.05, allocations: 8.031 kB / 1.115 GB, free: 10.35 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001151/1.05, allocations: 86.47 kB / 1.115 GB, free: 10.26 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001299/1.051, allocations: 214.9 kB / 1.115 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009825/1.052, allocations: 0.5619 MB / 1.116 GB, free: 9.441 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.917e-05/1.053, allocations: 33 kB / 1.116 GB, free: 9.41 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.76e-05/1.053, allocations: 48 kB / 1.116 GB, free: 9.363 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008607/1.053, allocations: 498.3 kB / 1.117 GB, free: 8.867 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/1.053, allocations: 4 kB / 1.117 GB, free: 8.863 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.51e-05/1.054, allocations: 16 kB / 1.117 GB, free: 8.848 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.009e-05/1.054, allocations: 21 kB / 1.117 GB, free: 8.828 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007329/1.054, allocations: 443.7 kB / 1.117 GB, free: 8.395 MB / 0.8731 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.002719/1.057, allocations: 2.006 MB / 1.119 GB, free: 6.215 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006627/1.058, allocations: 356.3 kB / 1.119 GB, free: 5.859 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 7.216e-05/1.058, allocations: 24.16 kB / 1.119 GB, free: 5.836 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/1.058, allocations: 34.84 kB / 1.119 GB, free: 5.793 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=33): time 1.873e-06/1.058, allocations: 4 kB / 1.119 GB, free: 5.789 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33): time 0.001404/1.059, allocations: 0.558 MB / 1.12 GB, free: 5.227 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.747e-05/1.059, allocations: 55.34 kB / 1.12 GB, free: 5.16 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005894/1.06, allocations: 0.503 MB / 1.12 GB, free: 4.648 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.229e-05/1.06, allocations: 33.7 kB / 1.12 GB, free: 4.609 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002464/1.06, allocations: 304.2 kB / 1.121 GB, free: 4.309 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001275/1.06, allocations: 114.3 kB / 1.121 GB, free: 4.195 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.874e-05/1.06, allocations: 4 kB / 1.121 GB, free: 4.191 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001758/1.061, allocations: 374.7 kB / 1.121 GB, free: 3.816 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002618/1.061, allocations: 136.6 kB / 1.121 GB, free: 3.684 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003248/1.061, allocations: 220 kB / 1.122 GB, free: 3.445 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003136/1.061, allocations: 169 kB / 1.122 GB, free: 3.281 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/1.061, allocations: 3.938 kB / 1.122 GB, free: 3.277 MB / 0.8731 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007266/1.062, allocations: 440.5 kB / 1.122 GB, free: 2.84 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001744/1.062, allocations: 356 kB / 1.123 GB, free: 2.465 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/1.062, allocations: 4 kB / 1.123 GB, free: 2.461 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/1.062, allocations: 0 / 1.123 GB, free: 2.461 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003664/1.063, allocations: 79.89 kB / 1.123 GB, free: 2.383 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/1.063, allocations: 3.953 kB / 1.123 GB, free: 2.379 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005803/1.063, allocations: 67.64 kB / 1.123 GB, free: 2.312 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.605e-05/1.063, allocations: 12 kB / 1.123 GB, free: 2.301 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 9.317e-06/1.063, allocations: 9.562 kB / 1.123 GB, free: 2.293 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006345/1.064, allocations: 351.7 kB / 1.123 GB, free: 1.949 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/1.064, allocations: 4 kB / 1.123 GB, free: 1.945 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.136e-06/1.064, allocations: 0 / 1.123 GB, free: 1.945 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003046/1.064, allocations: 79.98 kB / 1.123 GB, free: 1.867 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.376e-06/1.064, allocations: 4 kB / 1.123 GB, free: 1.863 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004756/1.065, allocations: 67.64 kB / 1.123 GB, free: 1.797 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.602e-05/1.065, allocations: 12 kB / 1.123 GB, free: 1.785 MB / 0.8731 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.0003372/1.065, allocations: 289 kB / 1.123 GB, free: 1.492 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.833e-05/1.065, allocations: 59.25 kB / 1.124 GB, free: 1.434 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007758/1.066, allocations: 435.2 kB / 1.124 GB, free: 0.9961 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/1.066, allocations: 4 kB / 1.124 GB, free: 0.9922 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/1.066, allocations: 0 / 1.124 GB, free: 0.9922 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006086/1.067, allocations: 444.3 kB / 1.124 GB, free: 0.5273 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001839/1.069, allocations: 1.188 MB / 1.126 GB, free: 15.26 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/1.069, allocations: 4 kB / 1.126 GB, free: 15.26 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004125/1.069, allocations: 83.89 kB / 1.126 GB, free: 15.18 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.404e-06/1.069, allocations: 4 kB / 1.126 GB, free: 15.17 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.87e-05/1.069, allocations: 12.19 kB / 1.126 GB, free: 15.16 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/1.069, allocations: 7.938 kB / 1.126 GB, free: 15.15 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-06/1.069, allocations: 4 kB / 1.126 GB, free: 15.15 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001109/1.07, allocations: 0.7911 MB / 1.126 GB, free: 14.29 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002533/1.071, allocations: 180.4 kB / 1.127 GB, free: 14.09 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.209e-05/1.071, allocations: 8 kB / 1.127 GB, free: 14.08 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005025/1.071, allocations: 55.8 kB / 1.127 GB, free: 14.03 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.359e-05/1.071, allocations: 23.92 kB / 1.127 GB, free: 14 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.191e-05/1.071, allocations: 19.98 kB / 1.127 GB, free: 13.98 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004267/1.072, allocations: 362.8 kB / 1.127 GB, free: 13.63 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.41e-07/1.072, allocations: 0 / 1.127 GB, free: 13.63 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0009334/1.073, allocations: 323.2 kB / 1.127 GB, free: 13.32 MB / 0.8887 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.001916/1.075, allocations: 1.827 MB / 1.129 GB, free: 11.43 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.00104/1.076, allocations: 0.519 MB / 1.13 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/1.076, allocations: 0 / 1.13 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0003715/1.076, allocations: 192.6 kB / 1.13 GB, free: 10.73 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001711/1.078, allocations: 365 kB / 1.13 GB, free: 10.37 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005549/1.083, allocations: 3.983 MB / 1.134 GB, free: 6.309 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005552/1.084, allocations: 0.949 MB / 1.135 GB, free: 5.332 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0006836/1.085, allocations: 184.8 kB / 1.135 GB, free: 5.152 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003447/1.085, allocations: 219.4 kB / 1.135 GB, free: 4.938 MB / 0.8887 GB Notification: Performance of SimCode: time 4.9e-07/1.085, allocations: 3.938 kB / 1.135 GB, free: 4.934 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03646/1.121, allocations: 16.65 MB / 1.152 GB, free: 4.578 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001918/1.122, allocations: 204.3 kB / 1.152 GB, free: 4.336 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.091/3.213, allocations: 0 / 1.152 GB, free: 4.336 MB / 0.9044 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