Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Delays.Examples.Delay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Delays.Examples.Delay") translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Delays.Examples.Delay") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5007/0.5007, allocations: 94.74 MB / 102 MB, free: 10.38 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001214/0.001214, allocations: 182.7 kB / 125.3 MB, free: 12.01 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.408/1.408, allocations: 170.5 MB / 319 MB, free: 9.543 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001766/0.001766, allocations: 103.7 kB / 381 MB, free: 18.14 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.416e-06/8.425e-06, allocations: 0 / 448.6 MB, free: 2.156 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1542, allocations: 61.51 MB / 0.4981 GB, free: 4.551 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.897/10.05, allocations: 5.298 GB / 5.796 GB, free: 173 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000295/10.05, allocations: 81.56 kB / 5.796 GB, free: 173 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.246/11.3, allocations: 417.2 MB / 6.203 GB, free: 100.8 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.694e-05/11.3, allocations: 20.67 kB / 6.203 GB, free: 100.8 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.002281/11.3, allocations: 1.085 MB / 6.204 GB, free: 100.4 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/11.3, allocations: 13.12 kB / 6.204 GB, free: 100.4 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004336/11.3, allocations: 104 kB / 6.204 GB, free: 100.3 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1183/11.42, allocations: 40.56 MB / 6.244 GB, free: 97.25 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.029e-05/11.42, allocations: 21.09 kB / 6.244 GB, free: 97.25 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.07e-05/11.42, allocations: 36.19 kB / 6.244 GB, free: 97.25 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001221/11.42, allocations: 0.6574 MB / 6.245 GB, free: 97.25 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001047/11.42, allocations: 0.5596 MB / 6.245 GB, free: 97.2 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/11.42, allocations: 0 / 6.245 GB, free: 97.2 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.669e-05/11.42, allocations: 5.312 kB / 6.245 GB, free: 97.2 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.845e-05/11.42, allocations: 17 kB / 6.245 GB, free: 97.2 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003887/11.42, allocations: 2.209 MB / 6.247 GB, free: 96.38 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004308/11.43, allocations: 276.7 kB / 6.248 GB, free: 96.36 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000352/11.43, allocations: 243.8 kB / 6.248 GB, free: 96.34 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001687/11.43, allocations: 187.6 kB / 6.248 GB, free: 96.16 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/11.43, allocations: 44.88 kB / 6.248 GB, free: 96.12 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=48): time 2.224e-06/11.43, allocations: 0.875 kB / 6.248 GB, free: 96.12 MB / 0.5261 GB Notification: Performance of matching and sorting (n=54): time 0.005536/11.43, allocations: 1.892 MB / 6.25 GB, free: 95.7 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.635e-05/11.43, allocations: 57.56 kB / 6.25 GB, free: 95.64 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005621/11.43, allocations: 445.8 kB / 6.25 GB, free: 95.52 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.176e-05/11.43, allocations: 26.89 kB / 6.25 GB, free: 95.49 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/11.43, allocations: 278.9 kB / 6.251 GB, free: 95.32 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001296/11.43, allocations: 178.1 kB / 6.251 GB, free: 95.2 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.837e-05/11.43, allocations: 0 / 6.251 GB, free: 95.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.736e-05/11.43, allocations: 374.9 kB / 6.251 GB, free: 94.89 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003192/11.43, allocations: 209.8 kB / 6.251 GB, free: 94.89 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003858/11.43, allocations: 320.9 kB / 6.252 GB, free: 94.77 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001171/11.43, allocations: 422.5 kB / 6.252 GB, free: 94.76 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/11.43, allocations: 5.031 kB / 6.252 GB, free: 94.76 MB / 0.5261 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001741/11.44, allocations: 0.7825 MB / 6.253 GB, free: 94.68 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001563/11.44, allocations: 0.794 MB / 6.254 GB, free: 93.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/11.44, allocations: 6.125 kB / 6.254 GB, free: 93.86 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.361e-05/11.44, allocations: 8.156 kB / 6.254 GB, free: 93.86 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007906/11.44, allocations: 147.9 kB / 6.254 GB, free: 93.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/11.44, allocations: 4.344 kB / 6.254 GB, free: 93.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005908/11.44, allocations: 61.97 kB / 6.254 GB, free: 93.85 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-05/11.44, allocations: 19.97 kB / 6.254 GB, free: 93.85 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.097e-06/11.44, allocations: 7.062 kB / 6.254 GB, free: 93.85 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001381/11.44, allocations: 0.6552 MB / 6.255 GB, free: 93.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/11.44, allocations: 2.125 kB / 6.255 GB, free: 93.82 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.516e-06/11.44, allocations: 4.438 kB / 6.255 GB, free: 93.82 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007559/11.44, allocations: 147.2 kB / 6.255 GB, free: 93.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/11.44, allocations: 4.781 kB / 6.255 GB, free: 93.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005262/11.44, allocations: 55.62 kB / 6.255 GB, free: 93.81 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.584e-05/11.44, allocations: 26.69 kB / 6.255 GB, free: 93.81 MB / 0.5261 GB Warning: Assuming fixed start value for the following 3 variables: del.dynBal.medium.T:VARIABLE(min = max(1.0, 1.0) max = min(10000.0, 10000.0) start = del.dynBal.T_start unit = "K" nominal = 293.15 stateSelect=StateSelect.prefer protected = true ) "Temperature of medium" type: Real del.dynBal.medium.Xi[1]:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))))))))) max = min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, 1.0))))))))))) start = del.dynBal.X_start[1] unit = "1" nominal = 0.1 stateSelect=StateSelect.prefer protected = true ) "Structurally independent mass fractions" type: Real [1] del.dynBal.medium.p:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))))) max = min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, 100000000.0)))))) start = 101325.0 unit = "Pa" nominal = 101325.0 stateSelect=StateSelect.prefer protected = true ) "Absolute pressure of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 68 * 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.0003387/11.44, allocations: 207.6 kB / 6.255 GB, free: 93.68 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001408/11.44, allocations: 70.25 kB / 6.255 GB, free: 93.64 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002032/11.44, allocations: 0.7757 MB / 6.256 GB, free: 93.58 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/11.44, allocations: 9.406 kB / 6.256 GB, free: 93.58 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/11.44, allocations: 3.141 kB / 6.256 GB, free: 93.58 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/11.44, allocations: 0 / 6.256 GB, free: 93.58 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003221/11.45, allocations: 1.604 MB / 6.257 GB, free: 93.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/11.45, allocations: 8.125 kB / 6.257 GB, free: 93.21 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007658/11.45, allocations: 134.1 kB / 6.258 GB, free: 93.21 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.868e-06/11.45, allocations: 5.156 kB / 6.258 GB, free: 93.21 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.474e-05/11.45, allocations: 11.09 kB / 6.258 GB, free: 93.21 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.665e-06/11.45, allocations: 12.34 kB / 6.258 GB, free: 93.21 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/11.45, allocations: 6.656 kB / 6.258 GB, free: 93.2 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002079/11.45, allocations: 1.196 MB / 6.259 GB, free: 92.83 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003726/11.45, allocations: 221.5 kB / 6.259 GB, free: 92.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/11.45, allocations: 9.625 kB / 6.259 GB, free: 92.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006368/11.45, allocations: 50.58 kB / 6.259 GB, free: 92.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.661e-05/11.45, allocations: 38.05 kB / 6.259 GB, free: 92.69 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.431e-05/11.45, allocations: 32.52 kB / 6.259 GB, free: 92.69 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0004546/11.45, allocations: 357.7 kB / 6.259 GB, free: 92.6 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002076/11.45, allocations: 0.5836 MB / 6.26 GB, free: 92.52 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 3 (del.dynBal.medium.p,del.dynBal.medium.Xi[1],del.dynBal.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 58 * 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.002329/11.46, allocations: 1.415 MB / 6.261 GB, free: 92.27 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001439/11.46, allocations: 0.8523 MB / 6.262 GB, free: 92.23 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/11.46, allocations: 1.094 kB / 6.262 GB, free: 92.23 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004559/11.46, allocations: 284.5 kB / 6.262 GB, free: 92.21 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001781/11.46, allocations: 355 kB / 6.263 GB, free: 92.2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002994/11.46, allocations: 1.279 MB / 6.264 GB, free: 91.85 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007902/11.46, allocations: 1.091 MB / 6.265 GB, free: 91.14 MB / 0.5261 GB Notification: Performance of SimCode: time 9.62e-07/11.46, allocations: 1.312 kB / 6.265 GB, free: 91.14 MB / 0.5261 GB Notification: Performance of Templates: time 0.0426/11.51, allocations: 25.96 MB / 6.29 GB, free: 89.45 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Delays.Examples.Delay.makefile (rm -f Buildings_1.6_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Delays.Examples.Delay.sim & ./Buildings_1.6_Buildings.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1)