Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay") translateModel(BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0/package.mo): time 0.6944/0.6944, allocations: 127.4 MB / 134.6 MB, free: 4.082 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001148/0.001148, allocations: 177.3 kB / 164.4 MB, free: 6.887 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.823/1.823, allocations: 205.1 MB / 399.1 MB, free: 6.133 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001114/0.001114, allocations: 95.17 kB / 476.3 MB, free: 8.887 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.083e-05/2.086e-05, allocations: 0 / 0.546 GB, free: 42.75 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2284/0.2284, allocations: 76.75 MB / 0.6209 GB, free: 13.93 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.072/5.3, allocations: 2.153 GB / 2.774 GB, free: 14.15 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002392/5.301, allocations: 87.95 kB / 2.774 GB, free: 14.06 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.759/7.06, allocations: 480.5 MB / 3.243 GB, free: 32.7 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.000107/7.06, allocations: 19.98 kB / 3.243 GB, free: 32.68 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.001933/7.062, allocations: 0.9733 MB / 3.244 GB, free: 31.66 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/7.062, allocations: 11.97 kB / 3.244 GB, free: 31.65 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001399/7.063, allocations: 218.8 kB / 3.244 GB, free: 31.44 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001298/7.065, allocations: 0.6554 MB / 3.245 GB, free: 30.74 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.042e-05/7.065, allocations: 16 kB / 3.245 GB, free: 30.72 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.144e-05/7.065, allocations: 32 kB / 3.245 GB, free: 30.69 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000628/7.065, allocations: 373.9 kB / 3.245 GB, free: 30.33 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006051/7.066, allocations: 404.5 kB / 3.246 GB, free: 29.93 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/7.066, allocations: 4 kB / 3.246 GB, free: 29.92 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.317e-05/7.066, allocations: 0 / 3.246 GB, free: 29.92 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.903e-05/7.066, allocations: 20.91 kB / 3.246 GB, free: 29.9 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002408/7.069, allocations: 2.018 MB / 3.248 GB, free: 27.73 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000521/7.069, allocations: 323.6 kB / 3.248 GB, free: 27.4 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002128/7.069, allocations: 181.6 kB / 3.248 GB, free: 27.22 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002883/7.07, allocations: 186.5 kB / 3.248 GB, free: 27 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/7.07, allocations: 38.84 kB / 3.248 GB, free: 26.96 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=33): time 2.475e-06/7.07, allocations: 3.938 kB / 3.248 GB, free: 26.95 MB / 0.6511 GB Notification: Performance of matching and sorting (n=33): time 0.001526/7.071, allocations: 467.2 kB / 3.249 GB, free: 26.49 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.915e-05/7.071, allocations: 55.41 kB / 3.249 GB, free: 26.43 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003594/7.072, allocations: 365.4 kB / 3.249 GB, free: 26.06 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.88e-05/7.072, allocations: 29.7 kB / 3.249 GB, free: 26.03 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/7.072, allocations: 231.9 kB / 3.25 GB, free: 25.79 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 8.689e-05/7.072, allocations: 114.3 kB / 3.25 GB, free: 25.68 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.961e-05/7.072, allocations: 0 / 3.25 GB, free: 25.68 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001164/7.072, allocations: 366.8 kB / 3.25 GB, free: 25.31 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001716/7.072, allocations: 116.6 kB / 3.25 GB, free: 25.2 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002121/7.072, allocations: 214.2 kB / 3.25 GB, free: 24.95 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002044/7.073, allocations: 151.8 kB / 3.251 GB, free: 24.8 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/7.073, allocations: 4 kB / 3.251 GB, free: 24.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005223/7.073, allocations: 388.6 kB / 3.251 GB, free: 24.41 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.721e-05/7.073, allocations: 360 kB / 3.251 GB, free: 24.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/7.073, allocations: 0 / 3.251 GB, free: 24.04 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/7.073, allocations: 7.938 kB / 3.251 GB, free: 24.03 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004819/7.074, allocations: 99.88 kB / 3.251 GB, free: 23.93 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/7.074, allocations: 0 / 3.251 GB, free: 23.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007237/7.075, allocations: 67.7 kB / 3.251 GB, free: 23.86 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.934e-05/7.075, allocations: 15.98 kB / 3.251 GB, free: 23.85 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.576e-06/7.075, allocations: 8 kB / 3.251 GB, free: 23.84 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003873/7.075, allocations: 275.7 kB / 3.252 GB, free: 23.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.615e-06/7.075, allocations: 4 kB / 3.252 GB, free: 23.57 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.937e-06/7.075, allocations: 0 / 3.252 GB, free: 23.57 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003104/7.075, allocations: 75.89 kB / 3.252 GB, free: 23.49 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.424e-06/7.075, allocations: 0 / 3.252 GB, free: 23.49 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004758/7.076, allocations: 63.73 kB / 3.252 GB, free: 23.43 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.96e-05/7.076, allocations: 19.98 kB / 3.252 GB, free: 23.41 MB / 0.6511 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.0001422/7.076, allocations: 105 kB / 3.252 GB, free: 23.3 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.307e-05/7.076, allocations: 59.28 kB / 3.252 GB, free: 23.24 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001363/7.076, allocations: 61.08 kB / 3.252 GB, free: 23.18 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.303e-06/7.076, allocations: 4 kB / 3.252 GB, free: 23.18 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/7.076, allocations: 3.938 kB / 3.252 GB, free: 23.17 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004458/7.077, allocations: 408.2 kB / 3.252 GB, free: 22.74 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001509/7.078, allocations: 1.077 MB / 3.253 GB, free: 21.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/7.078, allocations: 0 / 3.253 GB, free: 21.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005685/7.079, allocations: 108 kB / 3.254 GB, free: 21.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/7.079, allocations: 4 kB / 3.254 GB, free: 21.49 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.26e-05/7.079, allocations: 8 kB / 3.254 GB, free: 21.48 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/7.079, allocations: 7.906 kB / 3.254 GB, free: 21.48 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/7.079, allocations: 0 / 3.254 GB, free: 21.48 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007963/7.08, allocations: 0.7684 MB / 3.254 GB, free: 20.64 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002315/7.08, allocations: 168.3 kB / 3.255 GB, free: 20.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.139e-05/7.08, allocations: 7.984 kB / 3.255 GB, free: 20.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000614/7.081, allocations: 59.86 kB / 3.255 GB, free: 20.39 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.321e-05/7.081, allocations: 24.05 kB / 3.255 GB, free: 20.36 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.349e-05/7.081, allocations: 19.98 kB / 3.255 GB, free: 20.34 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0002735/7.081, allocations: 286.9 kB / 3.255 GB, free: 20.07 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001194/7.082, allocations: 407 kB / 3.255 GB, free: 19.67 MB / 0.6511 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.001914/7.084, allocations: 1.447 MB / 3.257 GB, free: 18.18 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000743/7.085, allocations: 491.8 kB / 3.257 GB, free: 17.7 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/7.085, allocations: 384 / 3.257 GB, free: 17.7 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002103/7.085, allocations: 171.8 kB / 3.257 GB, free: 17.53 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0016/7.087, allocations: 325.2 kB / 3.258 GB, free: 17.21 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001923/7.089, allocations: 0.9867 MB / 3.259 GB, free: 16.18 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005428/7.089, allocations: 1.007 MB / 3.26 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of SimCode: time 1.012e-06/7.089, allocations: 3.938 kB / 3.26 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of Templates: time 0.03249/7.122, allocations: 19.71 MB / 3.279 GB, free: 11.5 MB / 0.6667 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay.pipe 2>&1)