Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay") translateModel(IBPSA.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_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/Complex 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 182.1 kB / 7.802 MB, free: 2.145 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4462/0.4462, allocations: 90.85 MB / 99.08 MB, free: 14.92 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 221.4 MB / 342.8 MB, free: 5.18 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009303/0.0009301, allocations: 91.38 kB / 415.5 MB, free: 6.422 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 1.017e-05/1.019e-05, allocations: 4 kB / 493.9 MB, free: 8.059 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3581/0.3581, allocations: 72.29 MB / 0.5529 GB, free: 73.42 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.715/4.074, allocations: 1.875 GB / 2.428 GB, free: 202.4 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002336/4.074, allocations: 91.5 kB / 2.428 GB, free: 202.4 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.595/5.669, allocations: 490.2 MB / 2.907 GB, free: 119.3 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.00011/5.669, allocations: 21.97 kB / 2.907 GB, free: 119.3 MB / 0.6042 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.002971/5.672, allocations: 0.9692 MB / 2.908 GB, free: 118.8 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/5.672, allocations: 8.406 kB / 2.908 GB, free: 118.8 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001882/5.674, allocations: 215.2 kB / 2.908 GB, free: 118.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001813/5.676, allocations: 0.6398 MB / 2.909 GB, free: 118.5 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.784e-05/5.676, allocations: 14.44 kB / 2.909 GB, free: 118.5 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001511/5.676, allocations: 36.81 kB / 2.909 GB, free: 118.5 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008415/5.677, allocations: 374.1 kB / 2.909 GB, free: 118.5 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007978/5.678, allocations: 399.2 kB / 2.91 GB, free: 118.5 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.241e-05/5.678, allocations: 3.75 kB / 2.91 GB, free: 118.5 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.314e-05/5.678, allocations: 0 / 2.91 GB, free: 118.5 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.894e-05/5.678, allocations: 22.81 kB / 2.91 GB, free: 118.5 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003445/5.681, allocations: 2.082 MB / 2.912 GB, free: 117.5 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004514/5.682, allocations: 297 kB / 2.912 GB, free: 117.5 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002435/5.682, allocations: 190.3 kB / 2.912 GB, free: 117.5 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003116/5.682, allocations: 192.1 kB / 2.912 GB, free: 117.3 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.928e-05/5.682, allocations: 43.92 kB / 2.913 GB, free: 117.2 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=33): time 2.866e-06/5.682, allocations: 3.625 kB / 2.913 GB, free: 117.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33): time 0.001215/5.684, allocations: 384.5 kB / 2.913 GB, free: 117.2 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.005e-05/5.684, allocations: 55.28 kB / 2.913 GB, free: 117.1 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005064/5.684, allocations: 383.9 kB / 2.913 GB, free: 117 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.313e-05/5.684, allocations: 29.2 kB / 2.913 GB, free: 117 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/5.684, allocations: 228.4 kB / 2.914 GB, free: 116.8 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/5.685, allocations: 111.4 kB / 2.914 GB, free: 116.8 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.756e-05/5.685, allocations: 0 / 2.914 GB, free: 116.8 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.542e-05/5.685, allocations: 363.5 kB / 2.914 GB, free: 116.5 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001736/5.685, allocations: 115.9 kB / 2.914 GB, free: 116.5 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002198/5.685, allocations: 199.4 kB / 2.914 GB, free: 116.4 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000208/5.685, allocations: 150.5 kB / 2.914 GB, free: 116.4 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/5.685, allocations: 0 / 2.914 GB, free: 116.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005619/5.686, allocations: 375.7 kB / 2.915 GB, free: 116.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.988e-05/5.686, allocations: 362.2 kB / 2.915 GB, free: 116 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.353e-06/5.686, allocations: 0 / 2.915 GB, free: 116 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.337e-05/5.686, allocations: 3.844 kB / 2.915 GB, free: 116 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003927/5.686, allocations: 78.55 kB / 2.915 GB, free: 116 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/5.686, allocations: 3.391 kB / 2.915 GB, free: 116 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007095/5.687, allocations: 62.64 kB / 2.915 GB, free: 115.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.351e-05/5.687, allocations: 13.69 kB / 2.915 GB, free: 115.9 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.578e-06/5.687, allocations: 3.688 kB / 2.915 GB, free: 115.9 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004384/5.688, allocations: 297.2 kB / 2.916 GB, free: 115.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/5.688, allocations: 4.859 kB / 2.916 GB, free: 115.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.44e-06/5.688, allocations: 0 / 2.916 GB, free: 115.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003224/5.688, allocations: 73.36 kB / 2.916 GB, free: 115.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/5.688, allocations: 3 kB / 2.916 GB, free: 115.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006159/5.689, allocations: 65.02 kB / 2.916 GB, free: 115.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.384e-05/5.689, allocations: 10.56 kB / 2.916 GB, free: 115.9 MB / 0.6042 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.0001189/5.689, allocations: 109.7 kB / 2.916 GB, free: 115.8 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/5.689, allocations: 59.84 kB / 2.916 GB, free: 115.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005881/5.69, allocations: 367 kB / 2.916 GB, free: 115.8 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/5.69, allocations: 3.344 kB / 2.916 GB, free: 115.8 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/5.69, allocations: 0 / 2.916 GB, free: 115.8 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000382/5.69, allocations: 391.1 kB / 2.917 GB, free: 115.6 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001643/5.692, allocations: 1.057 MB / 2.918 GB, free: 115.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/5.692, allocations: 6.875 kB / 2.918 GB, free: 115.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004405/5.692, allocations: 82.11 kB / 2.918 GB, free: 115.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.007e-06/5.692, allocations: 3.531 kB / 2.918 GB, free: 115.3 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.189e-05/5.692, allocations: 6.594 kB / 2.918 GB, free: 115.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/5.692, allocations: 12.72 kB / 2.918 GB, free: 115.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/5.692, allocations: 3.5 kB / 2.918 GB, free: 115.3 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007744/5.693, allocations: 0.7068 MB / 2.918 GB, free: 114.9 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002988/5.693, allocations: 176.3 kB / 2.919 GB, free: 114.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/5.693, allocations: 3.75 kB / 2.919 GB, free: 114.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005988/5.694, allocations: 52.23 kB / 2.919 GB, free: 114.8 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.292e-05/5.694, allocations: 19.11 kB / 2.919 GB, free: 114.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.298e-05/5.694, allocations: 19.39 kB / 2.919 GB, free: 114.8 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0003147/5.694, allocations: 295.8 kB / 2.919 GB, free: 114.7 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001375/5.696, allocations: 414.8 kB / 2.919 GB, free: 114.7 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (del.dynBal.medium.Xi[1],del.dynBal.U,del.dynBal.m) * 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.002224/5.698, allocations: 1.423 MB / 2.921 GB, free: 114.4 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008482/5.699, allocations: 477.9 kB / 2.921 GB, free: 114.4 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/5.699, allocations: 0 / 2.921 GB, free: 114.4 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002236/5.699, allocations: 161.9 kB / 2.921 GB, free: 114.4 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001725/5.701, allocations: 328.7 kB / 2.922 GB, free: 114.4 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002122/5.703, allocations: 0.9727 MB / 2.923 GB, free: 114.1 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005909/5.704, allocations: 1.004 MB / 2.924 GB, free: 113.4 MB / 0.6042 GB Notification: Performance of SimCode: time 6.92e-07/5.704, allocations: 0 / 2.924 GB, free: 113.4 MB / 0.6042 GB Notification: Performance of Templates: time 0.03305/5.737, allocations: 19.15 MB / 2.942 GB, free: 112.9 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.sim & ./IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.pipe 2>&1)