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.8298/0.8298, allocations: 143.4 MB / 158.3 MB, free: 5.793 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 181 kB / 191.5 MB, free: 5.75 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.403/1.403, allocations: 223.2 MB / 447.7 MB, free: 4.793 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.0009599/0.0009602, allocations: 88.33 kB / 0.5187 GB, free: 1.152 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001811/0.001811, allocations: 280.2 kB / 0.6005 GB, free: 48.71 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004726/0.0004729, allocations: 13.41 kB / 0.6929 GB, free: 59.64 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1697, allocations: 82.79 MB / 0.7738 GB, free: 13.72 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.157/5.327, allocations: 1.883 GB / 2.657 GB, free: 144.5 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002819/5.327, allocations: 94.95 kB / 2.657 GB, free: 144.4 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.084/7.412, allocations: 489 MB / 3.134 GB, free: 156.4 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.275e-06/7.412, allocations: 3.906 kB / 3.134 GB, free: 156.4 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.129e-05/7.412, allocations: 18.09 kB / 3.134 GB, free: 156.4 MB / 0.7136 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.002467/7.414, allocations: 1.085 MB / 3.136 GB, free: 155.9 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.276e-05/7.414, allocations: 11.22 kB / 3.136 GB, free: 155.9 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001186/7.415, allocations: 90.05 kB / 3.136 GB, free: 155.9 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001315/7.416, allocations: 211.3 kB / 3.136 GB, free: 155.9 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00128/7.417, allocations: 0.622 MB / 3.136 GB, free: 155.6 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.478e-05/7.417, allocations: 35.66 kB / 3.136 GB, free: 155.6 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.89e-05/7.417, allocations: 49.22 kB / 3.137 GB, free: 155.6 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009467/7.418, allocations: 483.1 kB / 3.137 GB, free: 155.6 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.391e-05/7.418, allocations: 0 / 3.137 GB, free: 155.6 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.492e-05/7.418, allocations: 24.55 kB / 3.137 GB, free: 155.6 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.513e-05/7.418, allocations: 17.25 kB / 3.137 GB, free: 155.6 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007544/7.419, allocations: 425 kB / 3.137 GB, free: 155.6 MB / 0.7136 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.00281/7.422, allocations: 2.006 MB / 3.139 GB, free: 154.6 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005545/7.423, allocations: 341.3 kB / 3.14 GB, free: 154.6 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003044/7.423, allocations: 192.1 kB / 3.14 GB, free: 154.4 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/7.423, allocations: 34.03 kB / 3.14 GB, free: 154.3 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=33): time 2.716e-06/7.423, allocations: 3.25 kB / 3.14 GB, free: 154.3 MB / 0.7136 GB Notification: Performance of matching and sorting (n=33): time 0.001274/7.424, allocations: 0.5396 MB / 3.14 GB, free: 154.3 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.905e-05/7.424, allocations: 58.62 kB / 3.141 GB, free: 154.2 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005116/7.425, allocations: 444.4 kB / 3.141 GB, free: 154.1 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.106e-05/7.425, allocations: 36.42 kB / 3.141 GB, free: 154.1 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002206/7.425, allocations: 304.6 kB / 3.141 GB, free: 154 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000117/7.425, allocations: 123.1 kB / 3.141 GB, free: 153.9 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.848e-05/7.425, allocations: 3.5 kB / 3.141 GB, free: 153.9 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001397/7.425, allocations: 365.9 kB / 3.142 GB, free: 153.6 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002472/7.426, allocations: 137.9 kB / 3.142 GB, free: 153.6 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003357/7.426, allocations: 227.4 kB / 3.142 GB, free: 153.5 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003284/7.426, allocations: 166.2 kB / 3.142 GB, free: 153.5 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/7.426, allocations: 0 / 3.142 GB, free: 153.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000693/7.427, allocations: 431.2 kB / 3.143 GB, free: 153.4 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001425/7.427, allocations: 363.9 kB / 3.143 GB, free: 153.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/7.427, allocations: 0 / 3.143 GB, free: 153.1 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.222e-05/7.427, allocations: 3.938 kB / 3.143 GB, free: 153.1 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003656/7.428, allocations: 73.34 kB / 3.143 GB, free: 153.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.622e-05/7.428, allocations: 10.47 kB / 3.143 GB, free: 153.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006382/7.428, allocations: 66.56 kB / 3.143 GB, free: 153 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.49e-05/7.428, allocations: 9.188 kB / 3.143 GB, free: 153 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.777e-06/7.428, allocations: 3.938 kB / 3.143 GB, free: 153 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005823/7.429, allocations: 348.7 kB / 3.143 GB, free: 153 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/7.429, allocations: 3.906 kB / 3.144 GB, free: 153 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.795e-06/7.429, allocations: 0 / 3.144 GB, free: 153 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003013/7.429, allocations: 74.25 kB / 3.144 GB, free: 153 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/7.429, allocations: 6.797 kB / 3.144 GB, free: 153 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004838/7.43, allocations: 62.5 kB / 3.144 GB, free: 153 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.846e-05/7.43, allocations: 18.83 kB / 3.144 GB, free: 153 MB / 0.7136 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.0003451/7.43, allocations: 294.4 kB / 3.144 GB, free: 152.8 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/7.43, allocations: 55.69 kB / 3.144 GB, free: 152.8 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007395/7.431, allocations: 433 kB / 3.144 GB, free: 152.8 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/7.431, allocations: 7.047 kB / 3.144 GB, free: 152.8 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/7.431, allocations: 0 / 3.144 GB, free: 152.8 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005433/7.432, allocations: 440.5 kB / 3.145 GB, free: 152.6 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001674/7.433, allocations: 1.178 MB / 3.146 GB, free: 152.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/7.433, allocations: 0 / 3.146 GB, free: 152.2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004161/7.434, allocations: 86.22 kB / 3.146 GB, free: 152.2 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/7.434, allocations: 6.812 kB / 3.146 GB, free: 152.2 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.916e-05/7.434, allocations: 11.33 kB / 3.146 GB, free: 152.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/7.434, allocations: 3.719 kB / 3.146 GB, free: 152.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/7.434, allocations: 3.75 kB / 3.146 GB, free: 152.2 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001028/7.435, allocations: 0.8033 MB / 3.147 GB, free: 151.9 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002398/7.435, allocations: 181.8 kB / 3.147 GB, free: 151.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.374e-05/7.435, allocations: 11.19 kB / 3.147 GB, free: 151.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00052/7.436, allocations: 49.28 kB / 3.147 GB, free: 151.8 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.746e-05/7.436, allocations: 31.61 kB / 3.147 GB, free: 151.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-05/7.436, allocations: 14.12 kB / 3.147 GB, free: 151.8 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0003922/7.436, allocations: 360.5 kB / 3.147 GB, free: 151.7 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.6e-07/7.436, allocations: 0 / 3.147 GB, free: 151.7 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001531/7.438, allocations: 446.3 kB / 3.148 GB, free: 151.7 MB / 0.7136 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 () * 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.003656/7.441, allocations: 2.922 MB / 3.151 GB, free: 150.2 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001041/7.443, allocations: 0.5104 MB / 3.151 GB, free: 150.2 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/7.443, allocations: 0 / 3.151 GB, free: 150.2 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002881/7.443, allocations: 186.9 kB / 3.151 GB, free: 150.2 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001773/7.445, allocations: 362.4 kB / 3.152 GB, free: 150.2 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006201/7.451, allocations: 3.955 MB / 3.156 GB, free: 148.6 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005347/7.451, allocations: 0.9433 MB / 3.157 GB, free: 147.9 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0008174/7.452, allocations: 184.8 kB / 3.157 GB, free: 147.9 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003539/7.453, allocations: 219.2 kB / 3.157 GB, free: 147.9 MB / 0.7136 GB Notification: Performance of SimCode: time 1.684e-06/7.453, allocations: 2.297 kB / 3.157 GB, free: 147.9 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07188/7.525, allocations: 35.88 MB / 3.192 GB, free: 146.9 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001969/7.525, allocations: 210.4 kB / 3.192 GB, free: 146.7 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.348/10.87, allocations: 0 / 3.192 GB, free: 146.7 MB / 0.7136 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)