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/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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 91.06 kB / 15.06 MB, free: 1.098 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.001215/0.001215, allocations: 172.7 kB / 15.95 MB, free: 208 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.438/1.438, allocations: 223.3 MB / 240 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.603/2.603, allocations: 409.4 MB / 0.684 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004468/0.0004474, allocations: 8 kB / 0.8378 GB, free: 6.488 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7761/0.7766, allocations: 146.8 MB / 0.9811 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.1888/0.9655, allocations: 166.7 MB / 1.144 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.007909/0.9734, allocations: 4.573 MB / 1.148 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008675/0.9743, allocations: 23.81 kB / 1.148 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001019/0.9754, allocations: 298.1 kB / 1.149 GB, free: 10.19 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.003217/0.9786, allocations: 1.029 MB / 1.15 GB, free: 9.16 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001983/0.9806, allocations: 0.6103 MB / 1.15 GB, free: 8.555 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002772/0.9834, allocations: 2.144 MB / 1.152 GB, free: 6.402 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007905/0.9842, allocations: 440.7 kB / 1.153 GB, free: 5.961 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00181/0.986, allocations: 0.7118 MB / 1.153 GB, free: 5.246 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001061/0.9871, allocations: 0.5213 MB / 1.154 GB, free: 4.723 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 8.468e-05/0.9872, allocations: 28 kB / 1.154 GB, free: 4.695 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002225/0.9894, allocations: 0.8652 MB / 1.155 GB, free: 3.828 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002655/0.9897, allocations: 227.2 kB / 1.155 GB, free: 3.605 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002381/0.9899, allocations: 169.3 kB / 1.155 GB, free: 3.434 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001195/0.9911, allocations: 0.9548 MB / 1.156 GB, free: 2.477 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.9911, allocations: 0 / 1.156 GB, free: 2.477 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.695e-06/0.9911, allocations: 4 kB / 1.156 GB, free: 2.473 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.828e-06/0.9912, allocations: 0 / 1.156 GB, free: 2.473 MB / 0.9044 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.001559/0.9927, allocations: 0.9656 MB / 1.157 GB, free: 1.453 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.9928, allocations: 16.03 kB / 1.157 GB, free: 1.438 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001202/0.9929, allocations: 82.53 kB / 1.157 GB, free: 1.348 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001228/0.9941, allocations: 210.8 kB / 1.157 GB, free: 1.141 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008619/0.995, allocations: 0.562 MB / 1.158 GB, free: 0.5391 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.637e-05/0.9951, allocations: 41 kB / 1.158 GB, free: 0.5 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.859e-05/0.9951, allocations: 48 kB / 1.158 GB, free: 464 kB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000867/0.996, allocations: 498.4 kB / 1.159 GB, free: 15.96 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.9961, allocations: 7.984 kB / 1.159 GB, free: 15.95 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.69e-05/0.9961, allocations: 19.94 kB / 1.159 GB, free: 15.93 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.828e-05/0.9961, allocations: 17 kB / 1.159 GB, free: 15.91 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007739/0.9969, allocations: 447.7 kB / 1.159 GB, free: 15.48 MB / 0.92 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.002557/0.9995, allocations: 2.017 MB / 1.161 GB, free: 13.29 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006025/1, allocations: 351.5 kB / 1.161 GB, free: 12.93 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003277/1, allocations: 213.3 kB / 1.161 GB, free: 12.72 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003233/1.001, allocations: 194.5 kB / 1.162 GB, free: 12.5 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/1.001, allocations: 38.78 kB / 1.162 GB, free: 12.45 MB / 0.92 GB Notification: Performance of pre-optimization done (n=33): time 2.004e-06/1.001, allocations: 0 / 1.162 GB, free: 12.45 MB / 0.92 GB Notification: Performance of matching and sorting (n=33): time 0.001194/1.002, allocations: 0.5536 MB / 1.162 GB, free: 11.89 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.805e-05/1.002, allocations: 55.41 kB / 1.162 GB, free: 11.82 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005699/1.003, allocations: 0.4991 MB / 1.163 GB, free: 11.32 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.806e-05/1.003, allocations: 33.7 kB / 1.163 GB, free: 11.28 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002747/1.003, allocations: 308.2 kB / 1.163 GB, free: 10.97 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/1.003, allocations: 114.3 kB / 1.163 GB, free: 10.86 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.84e-05/1.003, allocations: 8 kB / 1.163 GB, free: 10.85 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001713/1.003, allocations: 366.7 kB / 1.164 GB, free: 10.48 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002584/1.004, allocations: 140.6 kB / 1.164 GB, free: 10.35 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003774/1.004, allocations: 220 kB / 1.164 GB, free: 10.11 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003281/1.004, allocations: 163.9 kB / 1.164 GB, free: 9.949 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/1.004, allocations: 4 kB / 1.164 GB, free: 9.945 MB / 0.92 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007398/1.005, allocations: 436.9 kB / 1.165 GB, free: 9.512 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 7.181e-05/1.005, allocations: 119.6 kB / 1.165 GB, free: 9.379 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/1.005, allocations: 0 / 1.165 GB, free: 9.379 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/1.005, allocations: 7.938 kB / 1.165 GB, free: 9.371 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003215/1.006, allocations: 67.91 kB / 1.165 GB, free: 9.305 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/1.006, allocations: 4 kB / 1.165 GB, free: 9.301 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005056/1.006, allocations: 71.64 kB / 1.165 GB, free: 9.23 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.091e-05/1.006, allocations: 12 kB / 1.165 GB, free: 9.219 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 9.578e-06/1.006, allocations: 8.734 kB / 1.165 GB, free: 9.211 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006146/1.007, allocations: 351.6 kB / 1.165 GB, free: 8.867 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/1.007, allocations: 4 kB / 1.165 GB, free: 8.863 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.035e-06/1.007, allocations: 0 / 1.165 GB, free: 8.863 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003026/1.007, allocations: 72 kB / 1.165 GB, free: 8.793 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/1.007, allocations: 4 kB / 1.165 GB, free: 8.789 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004373/1.008, allocations: 71.58 kB / 1.165 GB, free: 8.719 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.593e-05/1.008, allocations: 12 kB / 1.165 GB, free: 8.707 MB / 0.92 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.0003981/1.008, allocations: 289 kB / 1.166 GB, free: 8.414 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.381e-05/1.008, allocations: 63.28 kB / 1.166 GB, free: 8.352 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008163/1.009, allocations: 431.3 kB / 1.166 GB, free: 7.918 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.283e-06/1.009, allocations: 4 kB / 1.166 GB, free: 7.914 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/1.009, allocations: 0 / 1.166 GB, free: 7.914 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006238/1.01, allocations: 452.2 kB / 1.166 GB, free: 7.441 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001791/1.011, allocations: 1.174 MB / 1.168 GB, free: 6.191 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/1.011, allocations: 0 / 1.168 GB, free: 6.191 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000395/1.012, allocations: 83.89 kB / 1.168 GB, free: 6.109 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.441e-06/1.012, allocations: 7.938 kB / 1.168 GB, free: 6.102 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.994e-05/1.012, allocations: 20.23 kB / 1.168 GB, free: 6.082 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.823e-06/1.012, allocations: 7.938 kB / 1.168 GB, free: 6.074 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/1.012, allocations: 0 / 1.168 GB, free: 6.074 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009962/1.013, allocations: 0.7149 MB / 1.168 GB, free: 5.324 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002209/1.013, allocations: 184.3 kB / 1.169 GB, free: 5.125 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.458e-05/1.013, allocations: 12 kB / 1.169 GB, free: 5.113 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004589/1.014, allocations: 47.89 kB / 1.169 GB, free: 5.066 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.367e-05/1.014, allocations: 23.97 kB / 1.169 GB, free: 5.043 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.374e-05/1.014, allocations: 19.98 kB / 1.169 GB, free: 5.023 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0004507/1.014, allocations: 358.8 kB / 1.169 GB, free: 4.676 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.414e-06/1.014, allocations: 0 / 1.169 GB, free: 4.676 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001016/1.015, allocations: 323.2 kB / 1.169 GB, free: 4.359 MB / 0.92 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.001887/1.017, allocations: 1.358 MB / 1.171 GB, free: 2.961 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001038/1.018, allocations: 0.5266 MB / 1.171 GB, free: 2.434 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/1.018, allocations: 0 / 1.171 GB, free: 2.434 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0003096/1.018, allocations: 184.7 kB / 1.171 GB, free: 2.254 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001705/1.02, allocations: 365.9 kB / 1.172 GB, free: 1.902 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005557/1.026, allocations: 3.585 MB / 1.175 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004895/1.026, allocations: 0.9295 MB / 1.176 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0007028/1.027, allocations: 184.8 kB / 1.176 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003017/1.027, allocations: 219.4 kB / 1.177 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of SimCode: time 7.51e-07/1.027, allocations: 4 kB / 1.177 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03158/1.059, allocations: 16.66 MB / 1.193 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001952/1.059, allocations: 222.8 kB / 1.193 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.288/3.347, allocations: 0 / 1.193 GB, free: 12.26 MB / 0.9512 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) Environment - environmentSimulation: 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