Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Delays.Examples.Delay") translateModel(IDEAS.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.002595/0.002595, allocations: 179.3 kB / 7.455 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6934/0.6934, allocations: 130.6 MB / 138.5 MB, free: 2.195 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.604/1.604, allocations: 221.3 MB / 391.4 MB, free: 13.13 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 90.06 kB / 473.4 MB, free: 14.45 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 7.965e-06/7.975e-06, allocations: 1 kB / 0.5479 GB, free: 89.12 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1855/0.1855, allocations: 81.59 MB / 0.6276 GB, free: 18.27 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.55/4.735, allocations: 1.885 GB / 2.512 GB, free: 246 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002182/4.736, allocations: 86.55 kB / 2.512 GB, free: 246 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.339/6.074, allocations: 488.6 MB / 2.989 GB, free: 11.33 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001003/6.075, allocations: 20 kB / 2.99 GB, free: 11.31 MB / 0.6667 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.002566/6.077, allocations: 0.9694 MB / 2.99 GB, free: 10.29 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/6.077, allocations: 8.031 kB / 2.99 GB, free: 10.28 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001678/6.079, allocations: 226.8 kB / 2.991 GB, free: 10.06 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001613/6.081, allocations: 0.6398 MB / 2.991 GB, free: 9.379 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.855e-05/6.081, allocations: 15.98 kB / 2.991 GB, free: 9.363 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/6.081, allocations: 32 kB / 2.991 GB, free: 9.332 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007261/6.081, allocations: 365.9 kB / 2.992 GB, free: 8.977 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007854/6.082, allocations: 412.4 kB / 2.992 GB, free: 8.566 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.564e-05/6.082, allocations: 0 / 2.992 GB, free: 8.566 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.206e-05/6.082, allocations: 0 / 2.992 GB, free: 8.566 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.25e-05/6.082, allocations: 17 kB / 2.992 GB, free: 8.551 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003188/6.086, allocations: 2.025 MB / 2.994 GB, free: 6.383 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004594/6.086, allocations: 307.4 kB / 2.994 GB, free: 6.074 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002272/6.086, allocations: 186 kB / 2.995 GB, free: 5.891 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002943/6.087, allocations: 190.5 kB / 2.995 GB, free: 5.668 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/6.087, allocations: 42.78 kB / 2.995 GB, free: 5.617 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=33): time 3.006e-06/6.087, allocations: 4 kB / 2.995 GB, free: 5.613 MB / 0.6667 GB Notification: Performance of matching and sorting (n=33): time 0.0009975/6.088, allocations: 383.3 kB / 2.995 GB, free: 5.234 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.415e-05/6.088, allocations: 55.41 kB / 2.995 GB, free: 5.168 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004121/6.088, allocations: 374.2 kB / 2.996 GB, free: 4.797 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 4.065e-05/6.088, allocations: 29.7 kB / 2.996 GB, free: 4.762 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000131/6.088, allocations: 236.6 kB / 2.996 GB, free: 4.523 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 9.492e-05/6.088, allocations: 118.3 kB / 2.996 GB, free: 4.406 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.643e-05/6.088, allocations: 0 / 2.996 GB, free: 4.406 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001221/6.089, allocations: 358.8 kB / 2.996 GB, free: 4.047 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001959/6.089, allocations: 120.6 kB / 2.996 GB, free: 3.926 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002406/6.089, allocations: 206.2 kB / 2.997 GB, free: 3.691 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002272/6.089, allocations: 143.8 kB / 2.997 GB, free: 3.551 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/6.089, allocations: 0 / 2.997 GB, free: 3.551 MB / 0.6667 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006332/6.09, allocations: 377.2 kB / 2.997 GB, free: 3.176 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002354/6.09, allocations: 368 kB / 2.997 GB, free: 2.789 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/6.09, allocations: 0 / 2.997 GB, free: 2.789 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.713e-05/6.09, allocations: 4 kB / 2.997 GB, free: 2.785 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00041/6.091, allocations: 75.91 kB / 2.997 GB, free: 2.711 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.945e-05/6.091, allocations: 4 kB / 2.998 GB, free: 2.707 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006992/6.091, allocations: 59.64 kB / 2.998 GB, free: 2.648 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-05/6.091, allocations: 12 kB / 2.998 GB, free: 2.637 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/6.091, allocations: 4 kB / 2.998 GB, free: 2.633 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004836/6.092, allocations: 291.8 kB / 2.998 GB, free: 2.348 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-06/6.092, allocations: 0 / 2.998 GB, free: 2.348 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.964e-06/6.092, allocations: 4.094 kB / 2.998 GB, free: 2.344 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003373/6.092, allocations: 71.91 kB / 2.998 GB, free: 2.273 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/6.092, allocations: 0 / 2.998 GB, free: 2.273 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000639/6.093, allocations: 59.64 kB / 2.998 GB, free: 2.215 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.828e-05/6.093, allocations: 12 kB / 2.998 GB, free: 2.203 MB / 0.6667 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.0001531/6.093, allocations: 108.9 kB / 2.998 GB, free: 2.09 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001336/6.093, allocations: 55.34 kB / 2.998 GB, free: 2.035 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006478/6.094, allocations: 362.7 kB / 2.998 GB, free: 1.676 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-05/6.094, allocations: 11.84 kB / 2.999 GB, free: 1.664 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/6.094, allocations: 0 / 2.999 GB, free: 1.664 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004488/6.095, allocations: 392.8 kB / 2.999 GB, free: 1.25 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001755/6.096, allocations: 1.046 MB / 3 GB, free: 144 kB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/6.096, allocations: 3.938 kB / 3 GB, free: 140 kB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004686/6.097, allocations: 95.88 kB / 3 GB, free: 44 kB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.188e-06/6.097, allocations: 7.906 kB / 3 GB, free: 36 kB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.306e-05/6.097, allocations: 192 / 3 GB, free: 36 kB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/6.097, allocations: 8 kB / 3 GB, free: 28 kB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.852e-06/6.097, allocations: 7.938 kB / 3 GB, free: 20 kB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.3614/6.458, allocations: 0.7299 MB / 3.001 GB, free: 190 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004671/6.459, allocations: 172.7 kB / 3.001 GB, free: 189.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.895e-05/6.459, allocations: 7.156 kB / 3.001 GB, free: 189.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000643/6.46, allocations: 49.33 kB / 3.001 GB, free: 189.9 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.29e-05/6.46, allocations: 26.77 kB / 3.001 GB, free: 189.9 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.069e-05/6.46, allocations: 15.34 kB / 3.001 GB, free: 189.9 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.000411/6.46, allocations: 296.7 kB / 3.001 GB, free: 189.8 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001306/6.461, allocations: 410.2 kB / 3.002 GB, free: 189.8 MB / 0.6667 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.002153/6.464, allocations: 1.436 MB / 3.003 GB, free: 189.5 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0008049/6.464, allocations: 476.2 kB / 3.004 GB, free: 189.5 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/6.464, allocations: 3.469 kB / 3.004 GB, free: 189.5 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002058/6.465, allocations: 166.4 kB / 3.004 GB, free: 189.5 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001588/6.466, allocations: 321.8 kB / 3.004 GB, free: 189.5 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001841/6.468, allocations: 0.9654 MB / 3.005 GB, free: 189.2 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000527/6.469, allocations: 1.002 MB / 3.006 GB, free: 188.5 MB / 0.6667 GB Notification: Performance of SimCode: time 9.42e-07/6.469, allocations: 0 / 3.006 GB, free: 188.5 MB / 0.6667 GB Notification: Performance of Templates: time 0.03055/6.499, allocations: 19.13 MB / 3.025 GB, free: 188.2 MB / 0.6667 GB make -j1 -f IDEAS_IDEAS.Fluid.Delays.Examples.Delay.makefile (rm -f IDEAS_IDEAS.Fluid.Delays.Examples.Delay.pipe ; mkfifo IDEAS_IDEAS.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Delays.Examples.Delay.pipe >> ../files/IDEAS_IDEAS.Fluid.Delays.Examples.Delay.sim & ./IDEAS_IDEAS.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Delays.Examples.Delay.pipe 2>&1)