Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") [: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.002416/0.002416, allocations: 184.9 kB / 7.459 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.6789/0.6789, allocations: 130.6 MB / 138.5 MB, free: 2.121 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.525/1.525, allocations: 221.4 MB / 391.4 MB, free: 13.04 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.0009686/0.0009682, allocations: 93.72 kB / 473.4 MB, free: 14.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 9.258e-06/9.297e-06, allocations: 3.531 kB / 0.5479 GB, free: 89.02 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1496, allocations: 81.59 MB / 0.6276 GB, free: 18.16 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5502/0.6999, allocations: 110.2 MB / 0.7352 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002969/0.7002, allocations: 74.05 kB / 0.7352 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.002783/0.703, allocations: 0.5487 MB / 0.7358 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.506e-06/0.703, allocations: 3.812 kB / 0.7358 GB, free: 11.43 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003217/0.7034, allocations: 320.1 kB / 0.7361 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.7034, allocations: 7.625 kB / 0.7361 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.125e-05/0.7035, allocations: 3.906 kB / 0.7361 GB, free: 27.08 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.7036, allocations: 164.4 kB / 0.7362 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.7036, allocations: 6.516 kB / 0.7363 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.295e-05/0.7037, allocations: 0 / 0.7363 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.431e-05/0.7037, allocations: 8.375 kB / 0.7363 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.288e-05/0.7038, allocations: 34.25 kB / 0.7363 GB, free: 26.85 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.7038, allocations: 0 / 0.7363 GB, free: 26.85 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.7039, allocations: 4.688 kB / 0.7363 GB, free: 26.84 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.7039, allocations: 3.906 kB / 0.7363 GB, free: 26.84 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001662/0.704, allocations: 127.6 kB / 0.7364 GB, free: 26.68 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000162/0.7042, allocations: 31.34 kB / 0.7365 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.15e-05/0.7042, allocations: 8.859 kB / 0.7365 GB, free: 26.65 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001932/0.7044, allocations: 87.27 kB / 0.7365 GB, free: 26.56 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.7045, allocations: 34.81 kB / 0.7366 GB, free: 26.52 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 2.255e-06/0.7045, allocations: 3.812 kB / 0.7366 GB, free: 26.52 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5): time 0.003657/0.7082, allocations: 368.7 kB / 0.7369 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/0.7082, allocations: 56.11 kB / 0.737 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.775e-05/0.7083, allocations: 85 kB / 0.7371 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.942e-05/0.7083, allocations: 25.7 kB / 0.7371 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.59e-05/0.7084, allocations: 80.14 kB / 0.7372 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.507e-05/0.7084, allocations: 12.97 kB / 0.7372 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.574e-05/0.7085, allocations: 0 / 0.7372 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.7086, allocations: 315.3 kB / 0.7375 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.172e-05/0.7087, allocations: 4.578 kB / 0.7375 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.916e-05/0.7088, allocations: 30.89 kB / 0.7375 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001526/0.7089, allocations: 21.8 kB / 0.7375 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.7089, allocations: 0 / 0.7375 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003031/0.7092, allocations: 69.69 kB / 0.7376 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.7093, allocations: 7.922 kB / 0.7376 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.7093, allocations: 0 / 0.7376 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.7093, allocations: 96 / 0.7376 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005745/0.7099, allocations: 54.19 kB / 0.7377 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.7099, allocations: 0 / 0.7377 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004733/0.7104, allocations: 44.69 kB / 0.7377 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.326e-05/0.7104, allocations: 3.938 kB / 0.7377 GB, free: 25.79 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001066/0.7105, allocations: 109.6 kB / 0.7378 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.424e-05/0.7106, allocations: 8.078 kB / 0.7378 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000614/0.7112, allocations: 100.7 kB / 0.7379 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.7112, allocations: 0 / 0.7379 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.7112, allocations: 0.9844 kB / 0.7379 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.7112, allocations: 0 / 0.7379 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005879/0.7118, allocations: 291.4 kB / 0.7382 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.7119, allocations: 0 / 0.7382 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005485/0.7124, allocations: 50.05 kB / 0.7382 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.7124, allocations: 0.6094 kB / 0.7382 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.379e-05/0.7125, allocations: 2.094 kB / 0.7382 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.7125, allocations: 3.844 kB / 0.7383 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/0.7125, allocations: 4.656 kB / 0.7383 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003213/0.7128, allocations: 159.2 kB / 0.7384 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.459e-05/0.7129, allocations: 81.81 kB / 0.7385 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.31e-05/0.7129, allocations: 4.422 kB / 0.7385 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005332/0.7135, allocations: 44.42 kB / 0.7385 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.194e-05/0.7135, allocations: 1.844 kB / 0.7385 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.173e-05/0.7135, allocations: 8.359 kB / 0.7385 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.815e-05/0.7136, allocations: 75.28 kB / 0.7386 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004101/0.714, allocations: 8.297 kB / 0.7386 GB, free: 25.02 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.0001932/0.7142, allocations: 104 kB / 0.7387 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001729/0.7144, allocations: 25.25 kB / 0.7387 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.7144, allocations: 192 / 0.7387 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 7.223e-05/0.7145, allocations: 21.09 kB / 0.7388 GB, free: 24.92 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002059/0.7147, allocations: 0 / 0.7388 GB, free: 24.92 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008447/0.7156, allocations: 102.2 kB / 0.7389 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000451/0.716, allocations: 0.6926 MB / 0.7395 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of SimCode: time 3.4e-07/0.716, allocations: 0 / 0.7395 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of Templates: time 0.004474/0.7205, allocations: 1.331 MB / 0.7408 GB, free: 24.05 MB / 0.5105 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)