Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Delays.Examples.Delay,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Delays.Examples.Delay,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.699/0.699, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 185.6 kB / 187.3 MB, free: 11.9 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.232/1.232, allocations: 221.3 MB / 441.4 MB, free: 4.605 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008956/0.0008956, allocations: 107 kB / 0.5124 GB, free: 24.26 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001828/0.001828, allocations: 281.5 kB / 0.5939 GB, free: 7.98 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.717e-05/3.727e-05, allocations: 7.984 kB / 0.6835 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3438/0.3439, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.657/4.001, allocations: 1.883 GB / 2.647 GB, free: 164.4 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002459/4.002, allocations: 87.89 kB / 2.647 GB, free: 164.4 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.634/5.636, allocations: 488.6 MB / 3.125 GB, free: 156.2 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.173e-06/5.636, allocations: 0 / 3.125 GB, free: 156.2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.835e-05/5.636, allocations: 24.08 kB / 3.125 GB, free: 156.2 MB / 0.698 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.002108/5.638, allocations: 0.9707 MB / 3.126 GB, free: 155.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/5.638, allocations: 7.156 kB / 3.126 GB, free: 155.7 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001969/5.638, allocations: 84.48 kB / 3.126 GB, free: 155.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001353/5.639, allocations: 209.9 kB / 3.126 GB, free: 155.6 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001322/5.641, allocations: 0.6198 MB / 3.126 GB, free: 155.4 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.768e-05/5.641, allocations: 41.16 kB / 3.126 GB, free: 155.4 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000106/5.641, allocations: 47.62 kB / 3.127 GB, free: 155.4 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007682/5.642, allocations: 456.3 kB / 3.127 GB, free: 155.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.957e-05/5.642, allocations: 0 / 3.127 GB, free: 155.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.002e-05/5.642, allocations: 24.47 kB / 3.127 GB, free: 155.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.344e-05/5.642, allocations: 19.06 kB / 3.127 GB, free: 155.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006498/5.642, allocations: 383.6 kB / 3.127 GB, free: 155.3 MB / 0.698 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.002549/5.645, allocations: 2 MB / 3.129 GB, free: 154.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004115/5.645, allocations: 317.3 kB / 3.13 GB, free: 154.3 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002212/5.646, allocations: 187.3 kB / 3.13 GB, free: 154.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002606/5.646, allocations: 190.9 kB / 3.13 GB, free: 154.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/5.646, allocations: 42.44 kB / 3.13 GB, free: 154.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=33): time 1.593e-06/5.646, allocations: 0 / 3.13 GB, free: 154.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=33): time 0.0007998/5.647, allocations: 387.5 kB / 3.13 GB, free: 154 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.887e-05/5.647, allocations: 54.62 kB / 3.13 GB, free: 154 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004438/5.647, allocations: 436.2 kB / 3.131 GB, free: 153.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.151e-05/5.647, allocations: 35.45 kB / 3.131 GB, free: 153.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001571/5.647, allocations: 301.6 kB / 3.131 GB, free: 153.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.598e-05/5.648, allocations: 118.3 kB / 3.131 GB, free: 153.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.583e-05/5.648, allocations: 9.25 kB / 3.131 GB, free: 153.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.052e-05/5.648, allocations: 362.8 kB / 3.132 GB, free: 153.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001688/5.648, allocations: 120.2 kB / 3.132 GB, free: 153.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002184/5.648, allocations: 206.7 kB / 3.132 GB, free: 153.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00021/5.648, allocations: 147.3 kB / 3.132 GB, free: 153.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/5.648, allocations: 3.062 kB / 3.132 GB, free: 153.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005131/5.649, allocations: 395.2 kB / 3.132 GB, free: 153.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.601e-05/5.649, allocations: 361.3 kB / 3.133 GB, free: 152.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/5.649, allocations: 5.844 kB / 3.133 GB, free: 152.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/5.649, allocations: 7.797 kB / 3.133 GB, free: 152.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003361/5.649, allocations: 67.73 kB / 3.133 GB, free: 152.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/5.649, allocations: 7.828 kB / 3.133 GB, free: 152.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005836/5.65, allocations: 60.56 kB / 3.133 GB, free: 152.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.351e-05/5.65, allocations: 18.95 kB / 3.133 GB, free: 152.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.758e-06/5.65, allocations: 3.875 kB / 3.133 GB, free: 152.8 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000417/5.65, allocations: 308.4 kB / 3.133 GB, free: 152.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.076e-06/5.65, allocations: 3.781 kB / 3.133 GB, free: 152.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.779e-06/5.65, allocations: 0 / 3.133 GB, free: 152.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002872/5.651, allocations: 76.88 kB / 3.133 GB, free: 152.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/5.651, allocations: 6.781 kB / 3.133 GB, free: 152.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005436/5.651, allocations: 61.7 kB / 3.133 GB, free: 152.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.017e-05/5.651, allocations: 13.47 kB / 3.133 GB, free: 152.8 MB / 0.698 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.0001025/5.651, allocations: 133.4 kB / 3.134 GB, free: 152.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.614e-05/5.652, allocations: 65.97 kB / 3.134 GB, free: 152.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005612/5.652, allocations: 382.6 kB / 3.134 GB, free: 152.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/5.652, allocations: 3.938 kB / 3.134 GB, free: 152.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/5.652, allocations: 0 / 3.134 GB, free: 152.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003647/5.652, allocations: 400.3 kB / 3.134 GB, free: 152.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00149/5.654, allocations: 1.134 MB / 3.135 GB, free: 152.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/5.654, allocations: 3.906 kB / 3.135 GB, free: 152.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000393/5.654, allocations: 87.91 kB / 3.136 GB, free: 152.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.406e-06/5.654, allocations: 5.344 kB / 3.136 GB, free: 152.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.794e-05/5.654, allocations: 10.98 kB / 3.136 GB, free: 152.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/5.654, allocations: 7.688 kB / 3.136 GB, free: 152.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/5.654, allocations: 8.188 kB / 3.136 GB, free: 152.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007345/5.655, allocations: 0.7396 MB / 3.136 GB, free: 151.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002569/5.655, allocations: 183.1 kB / 3.136 GB, free: 151.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.7e-05/5.656, allocations: 7.625 kB / 3.136 GB, free: 151.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005127/5.656, allocations: 47.56 kB / 3.137 GB, free: 151.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.817e-05/5.656, allocations: 35.94 kB / 3.137 GB, free: 151.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.717e-05/5.656, allocations: 12.53 kB / 3.137 GB, free: 151.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003395/5.657, allocations: 347.8 kB / 3.137 GB, free: 151.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.71e-07/5.657, allocations: 2.312 kB / 3.137 GB, free: 151.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001247/5.658, allocations: 450.3 kB / 3.137 GB, free: 151.5 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (del.dynBal.U,del.dynBal.m,del.dynBal.mXi[1]) * 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.002575/5.66, allocations: 2.872 MB / 3.14 GB, free: 150 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007159/5.661, allocations: 486.2 kB / 3.141 GB, free: 150 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/5.661, allocations: 0 / 3.141 GB, free: 150 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001982/5.661, allocations: 170.5 kB / 3.141 GB, free: 150 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001682/5.663, allocations: 365.3 kB / 3.141 GB, free: 150 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001999/5.665, allocations: 1.137 MB / 3.142 GB, free: 149.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003416/5.665, allocations: 0.9461 MB / 3.143 GB, free: 149 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0008527/5.666, allocations: 232.3 kB / 3.143 GB, free: 149 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002587/5.667, allocations: 206.8 kB / 3.144 GB, free: 149 MB / 0.698 GB Notification: Performance of SimCode: time 8.92e-07/5.667, allocations: 2.781 kB / 3.144 GB, free: 149 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05908/5.726, allocations: 40.12 MB / 3.183 GB, free: 143.8 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001601/5.726, allocations: 184.6 kB / 3.183 GB, free: 143.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.219/8.945, allocations: 4 kB / 3.183 GB, free: 143.5 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Delays_Examples_Delay_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Delays_Examples_Delay.fmu > BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.pipe 2>&1)