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: translateModel(BuildingSystems.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay") translateModel(BuildingSystems.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8472/0.8472, allocations: 143.4 MB / 158.3 MB, free: 5.762 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.001033/0.001033, allocations: 165.1 kB / 191.5 MB, free: 5.762 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.374/1.374, allocations: 223.2 MB / 447.7 MB, free: 4.773 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.0009355/0.0009355, allocations: 95.59 kB / 0.5188 GB, free: 1.129 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001801/0.001801, allocations: 270.4 kB / 0.6005 GB, free: 48.76 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005298/0.0005302, allocations: 17.14 kB / 0.6929 GB, free: 59.63 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.204/0.2045, allocations: 82.79 MB / 0.7737 GB, free: 13.88 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.606/4.81, allocations: 1.883 GB / 2.657 GB, free: 195 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003858/4.811, allocations: 92.95 kB / 2.657 GB, free: 195 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.989/6.799, allocations: 489 MB / 3.134 GB, free: 153.8 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.793e-06/6.799, allocations: 4.062 kB / 3.134 GB, free: 153.8 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.367e-05/6.8, allocations: 27 kB / 3.134 GB, free: 153.8 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.002507/6.802, allocations: 1.077 MB / 3.135 GB, free: 153.3 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/6.802, allocations: 11 kB / 3.135 GB, free: 153.3 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001305/6.803, allocations: 202.5 kB / 3.136 GB, free: 153.3 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00133/6.805, allocations: 0.6232 MB / 3.136 GB, free: 153.1 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.839e-05/6.805, allocations: 39.61 kB / 3.136 GB, free: 153.1 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.626e-05/6.805, allocations: 53.09 kB / 3.136 GB, free: 153.1 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009026/6.806, allocations: 485.5 kB / 3.137 GB, free: 153 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/6.806, allocations: 0 / 3.137 GB, free: 153 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.511e-05/6.806, allocations: 21.02 kB / 3.137 GB, free: 153 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.736e-05/6.806, allocations: 19.45 kB / 3.137 GB, free: 153 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007004/6.807, allocations: 420 kB / 3.137 GB, free: 153 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.002516/6.809, allocations: 2.007 MB / 3.139 GB, free: 152 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005463/6.81, allocations: 335.1 kB / 3.14 GB, free: 152 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002773/6.81, allocations: 205.3 kB / 3.14 GB, free: 151.8 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/6.81, allocations: 37.31 kB / 3.14 GB, free: 151.8 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=33): time 1.713e-06/6.81, allocations: 0 / 3.14 GB, free: 151.8 MB / 0.7136 GB Notification: Performance of matching and sorting (n=33): time 0.001187/6.811, allocations: 0.5439 MB / 3.14 GB, free: 151.7 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.372e-05/6.811, allocations: 56.84 kB / 3.14 GB, free: 151.7 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005824/6.812, allocations: 445 kB / 3.141 GB, free: 151.5 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.236e-05/6.812, allocations: 35.89 kB / 3.141 GB, free: 151.5 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002378/6.812, allocations: 302.3 kB / 3.141 GB, free: 151.4 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001143/6.812, allocations: 120 kB / 3.141 GB, free: 151.3 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.649e-05/6.812, allocations: 3.562 kB / 3.141 GB, free: 151.3 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001699/6.813, allocations: 368.9 kB / 3.142 GB, free: 151 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003217/6.813, allocations: 134.3 kB / 3.142 GB, free: 151 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003878/6.813, allocations: 228.4 kB / 3.142 GB, free: 150.9 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003593/6.814, allocations: 164.6 kB / 3.142 GB, free: 150.9 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/6.814, allocations: 0.9688 kB / 3.142 GB, free: 150.9 MB / 0.7136 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008905/6.815, allocations: 435.9 kB / 3.143 GB, free: 150.9 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001233/6.815, allocations: 363.5 kB / 3.143 GB, free: 150.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/6.815, allocations: 1.188 kB / 3.143 GB, free: 150.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.263e-05/6.815, allocations: 2.844 kB / 3.143 GB, free: 150.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004091/6.815, allocations: 73.3 kB / 3.143 GB, free: 150.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/6.815, allocations: 2.625 kB / 3.143 GB, free: 150.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006743/6.816, allocations: 75.33 kB / 3.143 GB, free: 150.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.977e-05/6.816, allocations: 14.42 kB / 3.143 GB, free: 150.5 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/6.816, allocations: 4.125 kB / 3.143 GB, free: 150.5 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007315/6.817, allocations: 346 kB / 3.143 GB, free: 150.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/6.817, allocations: 1.062 kB / 3.143 GB, free: 150.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.123e-06/6.817, allocations: 3.031 kB / 3.143 GB, free: 150.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003632/6.817, allocations: 78.56 kB / 3.143 GB, free: 150.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.75e-06/6.817, allocations: 2.031 kB / 3.143 GB, free: 150.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005369/6.818, allocations: 60.34 kB / 3.143 GB, free: 150.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.312e-05/6.818, allocations: 20.47 kB / 3.144 GB, free: 150.5 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.0003921/6.818, allocations: 296.2 kB / 3.144 GB, free: 150.3 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/6.818, allocations: 60.02 kB / 3.144 GB, free: 150.2 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007862/6.819, allocations: 428 kB / 3.144 GB, free: 150.2 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.308e-06/6.819, allocations: 7.766 kB / 3.144 GB, free: 150.2 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/6.819, allocations: 0 / 3.144 GB, free: 150.2 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005958/6.82, allocations: 433.7 kB / 3.145 GB, free: 150 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002008/6.822, allocations: 1.174 MB / 3.146 GB, free: 149.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/6.822, allocations: 2.094 kB / 3.146 GB, free: 149.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004843/6.822, allocations: 90.61 kB / 3.146 GB, free: 149.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.658e-06/6.822, allocations: 3.188 kB / 3.146 GB, free: 149.7 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.647e-05/6.822, allocations: 16.27 kB / 3.146 GB, free: 149.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/6.822, allocations: 2.625 kB / 3.146 GB, free: 149.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/6.822, allocations: 1.375 kB / 3.146 GB, free: 149.7 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001119/6.823, allocations: 0.8099 MB / 3.147 GB, free: 149.4 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002768/6.824, allocations: 178.3 kB / 3.147 GB, free: 149.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.232e-05/6.824, allocations: 11.41 kB / 3.147 GB, free: 149.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005276/6.824, allocations: 48.14 kB / 3.147 GB, free: 149.2 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.067e-05/6.824, allocations: 29.2 kB / 3.147 GB, free: 149.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.302e-05/6.824, allocations: 13.66 kB / 3.147 GB, free: 149.2 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0004762/6.825, allocations: 358.9 kB / 3.147 GB, free: 149.1 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/6.825, allocations: 1.125 kB / 3.147 GB, free: 149.1 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001748/6.827, allocations: 441.6 kB / 3.148 GB, free: 149.1 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.002913/6.83, allocations: 1.269 MB / 3.149 GB, free: 148.8 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001505/6.831, allocations: 0.5171 MB / 3.149 GB, free: 148.8 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/6.831, allocations: 1.344 kB / 3.15 GB, free: 148.8 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004567/6.832, allocations: 184.4 kB / 3.15 GB, free: 148.8 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002241/6.834, allocations: 362.8 kB / 3.15 GB, free: 148.8 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002754/6.837, allocations: 1.543 MB / 3.152 GB, free: 148.1 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005075/6.837, allocations: 0.9392 MB / 3.152 GB, free: 147.4 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0007783/6.838, allocations: 187.8 kB / 3.153 GB, free: 147.4 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001571/6.838, allocations: 46.41 kB / 3.153 GB, free: 147.4 MB / 0.7136 GB Notification: Performance of SimCode: time 1.252e-06/6.838, allocations: 0 / 3.153 GB, free: 147.4 MB / 0.7136 GB Notification: Performance of Templates: time 0.03689/6.875, allocations: 26 MB / 3.178 GB, free: 147.1 MB / 0.7136 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.pipe 2>&1)