Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Delays.Examples.Delay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Delays.Examples.Delay") translateModel(Annex60.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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/Annex60 1.0.0/package.mo): time 0.2755/0.2755, allocations: 54.4 MB / 61.68 MB, free: 11.15 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00116/0.00116, allocations: 183.8 kB / 75.37 MB, free: 1.48 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.526/1.526, allocations: 194.2 MB / 283.2 MB, free: 3.461 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001848/0.001848, allocations: 107.1 kB / 341.3 MB, free: 9.359 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.622e-06/6.903e-06, allocations: 0 / 404.9 MB, free: 27.68 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1381, allocations: 57.65 MB / 462.6 MB, free: 1.957 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.526/4.664, allocations: 2.134 GB / 2.585 GB, free: 54.89 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002203/4.665, allocations: 87.95 kB / 2.585 GB, free: 54.8 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.408/6.073, allocations: 423.4 MB / 2.999 GB, free: 28.52 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.737e-05/6.073, allocations: 20 kB / 2.999 GB, free: 28.5 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.001941/6.075, allocations: 1.044 MB / 3 GB, free: 27.41 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/6.075, allocations: 11.97 kB / 3 GB, free: 27.4 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001217/6.076, allocations: 206.8 kB / 3 GB, free: 27.2 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001106/6.077, allocations: 0.6945 MB / 3.001 GB, free: 26.46 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.176e-05/6.077, allocations: 20 kB / 3.001 GB, free: 26.44 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.684e-05/6.077, allocations: 32 kB / 3.001 GB, free: 26.41 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007307/6.078, allocations: 482.5 kB / 3.001 GB, free: 25.94 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007489/6.079, allocations: 0.4998 MB / 3.002 GB, free: 25.43 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/6.079, allocations: 3.938 kB / 3.002 GB, free: 25.43 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.729e-05/6.079, allocations: 0 / 3.002 GB, free: 25.43 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.868e-05/6.079, allocations: 21.31 kB / 3.002 GB, free: 25.41 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002793/6.082, allocations: 2.338 MB / 3.004 GB, free: 22.89 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004981/6.082, allocations: 331.7 kB / 3.004 GB, free: 22.55 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002078/6.082, allocations: 179.7 kB / 3.005 GB, free: 22.38 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.944e-05/6.082, allocations: 7.984 kB / 3.005 GB, free: 22.37 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/6.082, allocations: 42.47 kB / 3.005 GB, free: 22.32 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=35): time 1.764e-06/6.082, allocations: 0 / 3.005 GB, free: 22.32 MB / 0.4948 GB Notification: Performance of matching and sorting (n=35): time 0.001392/6.084, allocations: 494 kB / 3.005 GB, free: 21.83 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.25e-05/6.084, allocations: 55.41 kB / 3.005 GB, free: 21.76 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003637/6.084, allocations: 398.2 kB / 3.006 GB, free: 21.37 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.438e-05/6.084, allocations: 29.7 kB / 3.006 GB, free: 21.33 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/6.084, allocations: 279.9 kB / 3.006 GB, free: 21.05 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.842e-05/6.084, allocations: 126.2 kB / 3.006 GB, free: 20.93 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.201e-05/6.084, allocations: 0 / 3.006 GB, free: 20.93 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.656e-05/6.085, allocations: 374.7 kB / 3.006 GB, free: 20.55 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001898/6.085, allocations: 132.8 kB / 3.006 GB, free: 20.42 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002337/6.085, allocations: 233.8 kB / 3.007 GB, free: 20.15 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002459/6.085, allocations: 171.8 kB / 3.007 GB, free: 19.98 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/6.085, allocations: 0 / 3.007 GB, free: 19.98 MB / 0.4948 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005703/6.086, allocations: 452.1 kB / 3.007 GB, free: 19.54 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001253/6.086, allocations: 0.6085 MB / 3.008 GB, free: 18.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/6.086, allocations: 7.984 kB / 3.008 GB, free: 18.87 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/6.086, allocations: 4 kB / 3.008 GB, free: 18.87 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005752/6.087, allocations: 119.9 kB / 3.008 GB, free: 18.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.291e-05/6.087, allocations: 11.84 kB / 3.008 GB, free: 18.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007326/6.087, allocations: 91.61 kB / 3.008 GB, free: 18.65 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.675e-05/6.087, allocations: 19.94 kB / 3.008 GB, free: 18.63 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.223e-06/6.087, allocations: 4 kB / 3.008 GB, free: 18.62 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004466/6.088, allocations: 339.6 kB / 3.008 GB, free: 18.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.334e-06/6.088, allocations: 0 / 3.008 GB, free: 18.29 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.351e-06/6.088, allocations: 4.062 kB / 3.008 GB, free: 18.29 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003717/6.088, allocations: 95.89 kB / 3.008 GB, free: 18.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.536e-06/6.088, allocations: 4.188 kB / 3.008 GB, free: 18.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004899/6.089, allocations: 63.64 kB / 3.009 GB, free: 18.13 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.794e-05/6.089, allocations: 12 kB / 3.009 GB, free: 18.12 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 48 * 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.0001386/6.089, allocations: 116.8 kB / 3.009 GB, free: 18 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/6.089, allocations: 59.34 kB / 3.009 GB, free: 17.94 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000136/6.089, allocations: 61.38 kB / 3.009 GB, free: 17.88 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/6.089, allocations: 4 kB / 3.009 GB, free: 17.88 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.999e-06/6.089, allocations: 0 / 3.009 GB, free: 17.88 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004719/6.09, allocations: 412.2 kB / 3.009 GB, free: 17.44 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001315/6.091, allocations: 1.086 MB / 3.01 GB, free: 16.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/6.091, allocations: 4 kB / 3.01 GB, free: 16.29 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006236/6.092, allocations: 132 kB / 3.01 GB, free: 16.16 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.87e-06/6.092, allocations: 4 kB / 3.01 GB, free: 16.16 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.546e-05/6.092, allocations: 7.984 kB / 3.01 GB, free: 16.15 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/6.092, allocations: 8 kB / 3.01 GB, free: 16.14 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/6.092, allocations: 7.844 kB / 3.01 GB, free: 16.13 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008899/6.093, allocations: 0.7801 MB / 3.011 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000267/6.093, allocations: 200.2 kB / 3.011 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001552/6.093, allocations: 8 kB / 3.011 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007744/6.094, allocations: 83.77 kB / 3.011 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.271e-05/6.094, allocations: 23.95 kB / 3.011 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.866e-05/6.094, allocations: 23.92 kB / 3.011 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0002698/6.094, allocations: 322.9 kB / 3.012 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001093/6.095, allocations: 458.8 kB / 3.012 GB, free: 14.16 MB / 0.4948 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 (35): * Single equations (assignments): 35 * 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.001533/6.097, allocations: 1.423 MB / 3.014 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0007175/6.098, allocations: 0.5496 MB / 3.014 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/6.098, allocations: 8.25 kB / 3.014 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002085/6.098, allocations: 171.8 kB / 3.014 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001526/6.099, allocations: 346.3 kB / 3.015 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001872/6.101, allocations: 1.059 MB / 3.016 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005622/6.102, allocations: 1.039 MB / 3.017 GB, free: 9.469 MB / 0.4948 GB Notification: Performance of SimCode: time 7.32e-07/6.102, allocations: 0 / 3.017 GB, free: 9.469 MB / 0.4948 GB Notification: Performance of Templates: time 0.2511/6.353, allocations: 21.06 MB / 3.037 GB, free: 124.7 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Delays.Examples.Delay.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Delays.Examples.Delay.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Delays.Examples.Delay.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Delays.Examples.Delay.sim & ./Annex60_1.0.0_Annex60.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Delays.Examples.Delay.pipe 2>&1)