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.001112/0.001112, allocations: 91.69 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.001291/0.001291, 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.388/1.388, allocations: 223.3 MB / 240 MB, free: 5.43 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.502/2.502, allocations: 390.4 MB / 0.6655 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003768/0.0003769, allocations: 8 kB / 0.8149 GB, free: 14.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7507/0.7511, allocations: 142.3 MB / 0.9538 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.1812/0.9323, allocations: 166.7 MB / 1.117 GB, free: 9.008 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.007621/0.94, allocations: 4.577 MB / 1.121 GB, free: 4.422 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001019/0.941, allocations: 23.81 kB / 1.121 GB, free: 4.398 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.00112/0.9422, allocations: 290.1 kB / 1.121 GB, free: 4.113 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003162/0.9454, allocations: 1.034 MB / 1.122 GB, free: 3.074 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001932/0.9473, allocations: 0.6071 MB / 1.123 GB, free: 2.473 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002767/0.9501, allocations: 2.14 MB / 1.125 GB, free: 336 kB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009173/0.951, allocations: 440.7 kB / 1.125 GB, free: 15.88 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001885/0.9529, allocations: 0.7157 MB / 1.126 GB, free: 15.16 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001118/0.954, allocations: 0.5136 MB / 1.127 GB, free: 14.65 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.00014/0.9542, allocations: 28 kB / 1.127 GB, free: 14.62 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002161/0.9564, allocations: 0.8769 MB / 1.128 GB, free: 13.74 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003511/0.9567, allocations: 227.2 kB / 1.128 GB, free: 13.52 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002851/0.957, allocations: 169.3 kB / 1.128 GB, free: 13.35 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001445/0.9585, allocations: 0.9548 MB / 1.129 GB, free: 12.39 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.9585, allocations: 0 / 1.129 GB, free: 12.39 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.285e-06/0.9585, allocations: 0 / 1.129 GB, free: 12.39 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.977e-05/0.9585, allocations: 0 / 1.129 GB, free: 12.39 MB / 0.8887 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.001704/0.9603, allocations: 0.9694 MB / 1.13 GB, free: 11.37 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.9603, allocations: 16.02 kB / 1.13 GB, free: 11.36 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001096/0.9604, allocations: 86.53 kB / 1.13 GB, free: 11.26 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001246/0.9617, allocations: 210.9 kB / 1.13 GB, free: 11.05 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008594/0.9625, allocations: 0.5581 MB / 1.131 GB, free: 10.45 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.952e-05/0.9626, allocations: 33 kB / 1.131 GB, free: 10.42 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.426e-05/0.9627, allocations: 51.98 kB / 1.131 GB, free: 10.37 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008515/0.9635, allocations: 498.4 kB / 1.131 GB, free: 9.875 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/0.9636, allocations: 4 kB / 1.131 GB, free: 9.871 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.502e-05/0.9636, allocations: 19.94 kB / 1.131 GB, free: 9.852 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.202e-05/0.9636, allocations: 24.98 kB / 1.131 GB, free: 9.828 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007608/0.9644, allocations: 443.7 kB / 1.132 GB, free: 9.395 MB / 0.8887 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.002543/0.967, allocations: 2.01 MB / 1.134 GB, free: 7.211 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005985/0.9676, allocations: 353 kB / 1.134 GB, free: 6.859 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000328/0.9679, allocations: 226.5 kB / 1.134 GB, free: 6.637 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002797/0.9682, allocations: 194.4 kB / 1.134 GB, free: 6.41 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.484e-05/0.9683, allocations: 38.84 kB / 1.134 GB, free: 6.363 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=33): time 2.304e-06/0.9683, allocations: 4 kB / 1.134 GB, free: 6.359 MB / 0.8887 GB Notification: Performance of matching and sorting (n=33): time 0.001254/0.9695, allocations: 0.5574 MB / 1.135 GB, free: 5.797 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.436e-05/0.9696, allocations: 55.41 kB / 1.135 GB, free: 5.73 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005628/0.9701, allocations: 0.4991 MB / 1.136 GB, free: 5.223 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.647e-05/0.9702, allocations: 33.7 kB / 1.136 GB, free: 5.184 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002242/0.9704, allocations: 304.2 kB / 1.136 GB, free: 4.883 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001116/0.9705, allocations: 122.2 kB / 1.136 GB, free: 4.762 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.967e-05/0.9706, allocations: 8 kB / 1.136 GB, free: 4.754 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.9707, allocations: 358.8 kB / 1.136 GB, free: 4.395 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002629/0.971, allocations: 144.6 kB / 1.136 GB, free: 4.254 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003137/0.9713, allocations: 216 kB / 1.137 GB, free: 4.02 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003041/0.9716, allocations: 176.9 kB / 1.137 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.9716, allocations: 0 / 1.137 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007052/0.9723, allocations: 436.5 kB / 1.137 GB, free: 3.414 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 7.642e-05/0.9724, allocations: 111.7 kB / 1.137 GB, free: 3.289 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.9724, allocations: 4 kB / 1.137 GB, free: 3.285 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.9725, allocations: 4 kB / 1.137 GB, free: 3.281 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003422/0.9728, allocations: 71.91 kB / 1.137 GB, free: 3.211 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.9728, allocations: 4 kB / 1.137 GB, free: 3.207 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004964/0.9733, allocations: 71.58 kB / 1.137 GB, free: 3.137 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.277e-05/0.9734, allocations: 12 kB / 1.138 GB, free: 3.125 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 6.001e-06/0.9734, allocations: 4 kB / 1.138 GB, free: 3.121 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005943/0.974, allocations: 355.8 kB / 1.138 GB, free: 2.773 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.974, allocations: 4 kB / 1.138 GB, free: 2.77 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.966e-06/0.974, allocations: 0 / 1.138 GB, free: 2.77 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002955/0.9743, allocations: 71.91 kB / 1.138 GB, free: 2.699 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.503e-06/0.9743, allocations: 7.953 kB / 1.138 GB, free: 2.691 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000423/0.9748, allocations: 67.73 kB / 1.138 GB, free: 2.625 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.9748, allocations: 16 kB / 1.138 GB, free: 2.609 MB / 0.8887 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.0002989/0.9751, allocations: 285 kB / 1.138 GB, free: 2.32 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.71e-05/0.9752, allocations: 63.23 kB / 1.138 GB, free: 2.258 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009646/0.9762, allocations: 431.2 kB / 1.139 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.9762, allocations: 4 kB / 1.139 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-06/0.9762, allocations: 3.953 kB / 1.139 GB, free: 1.816 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006384/0.9768, allocations: 448.2 kB / 1.139 GB, free: 1.348 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001999/0.9789, allocations: 1.184 MB / 1.14 GB, free: 92 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.9789, allocations: 0 / 1.14 GB, free: 92 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004483/0.9793, allocations: 83.89 kB / 1.14 GB, free: 8 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.855e-06/0.9793, allocations: 4 kB / 1.14 GB, free: 4 kB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.69e-05/0.9794, allocations: 12.05 kB / 1.14 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.249e-06/0.9794, allocations: 7.938 kB / 1.14 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.9794, allocations: 4 kB / 1.14 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001131/0.9806, allocations: 0.7228 MB / 1.141 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002402/0.9808, allocations: 180.3 kB / 1.141 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.993e-05/0.9809, allocations: 8 kB / 1.141 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005038/0.9814, allocations: 51.8 kB / 1.141 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.748e-05/0.9815, allocations: 27.91 kB / 1.141 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.011e-05/0.9815, allocations: 23.98 kB / 1.141 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0004594/0.982, allocations: 358.8 kB / 1.142 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2e-07/0.982, allocations: 0 / 1.142 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0008536/0.9829, allocations: 323.3 kB / 1.142 GB, free: 14.25 MB / 0.9044 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.001654/0.9845, allocations: 1.347 MB / 1.143 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001069/0.9856, allocations: 0.5231 MB / 1.144 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.9856, allocations: 0 / 1.144 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0003195/0.986, allocations: 180 kB / 1.144 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002024/0.988, allocations: 377.4 kB / 1.144 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005764/0.9938, allocations: 3.581 MB / 1.148 GB, free: 8.152 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005491/0.9944, allocations: 0.9256 MB / 1.149 GB, free: 7.199 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0008252/0.9952, allocations: 180.8 kB / 1.149 GB, free: 7.023 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003252/0.9955, allocations: 219.4 kB / 1.149 GB, free: 6.809 MB / 0.9044 GB Notification: Performance of SimCode: time 9.22e-07/0.9955, allocations: 0 / 1.149 GB, free: 6.809 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03161/1.027, allocations: 16.67 MB / 1.165 GB, free: 6.434 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000174/1.027, allocations: 218.8 kB / 1.166 GB, free: 6.18 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.202/3.229, allocations: 0 / 1.166 GB, free: 6.18 MB / 0.92 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