Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.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.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks") translateModel(IDEAS.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks") [: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.003721/0.003721, allocations: 186.6 kB / 7.455 MB, free: 2.52 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7061/0.7061, allocations: 130.6 MB / 138.5 MB, free: 2.137 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.449/1.449, allocations: 221.3 MB / 391.4 MB, free: 13.02 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.0009022/0.0009021, allocations: 96.66 kB / 473.4 MB, free: 14.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 9.398e-06/9.418e-06, allocations: 2.656 kB / 0.5479 GB, free: 89.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.168, allocations: 81.58 MB / 0.6276 GB, free: 18.21 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5557/0.7238, allocations: 112.1 MB / 0.737 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002668/0.7241, allocations: 77.06 kB / 0.7371 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.01438/0.7385, allocations: 4.741 MB / 0.7417 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.063e-05/0.7386, allocations: 7.875 kB / 0.7417 GB, free: 11.25 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006005/0.7392, allocations: 409.6 kB / 0.7421 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.7393, allocations: 7.688 kB / 0.7421 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007567/0.74, allocations: 132.6 kB / 0.7423 GB, free: 26.86 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001525/0.7402, allocations: 183.7 kB / 0.7424 GB, free: 26.65 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001128/0.7403, allocations: 72.98 kB / 0.7425 GB, free: 26.58 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.041e-05/0.7403, allocations: 7.906 kB / 0.7425 GB, free: 26.58 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001742/0.7405, allocations: 71.78 kB / 0.7426 GB, free: 26.58 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002045/0.7407, allocations: 102.2 kB / 0.7427 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.7407, allocations: 3.984 kB / 0.7427 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.34e-05/0.7408, allocations: 0 / 0.7427 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.7408, allocations: 4.625 kB / 0.7427 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001143/0.7419, allocations: 484.6 kB / 0.7431 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001394/0.7421, allocations: 87.42 kB / 0.7432 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.406e-05/0.7422, allocations: 35.5 kB / 0.7433 GB, free: 26.24 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.992e-05/0.7422, allocations: 12.38 kB / 0.7433 GB, free: 26.23 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.7422, allocations: 35.36 kB / 0.7433 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.7422, allocations: 0 / 0.7433 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6): time 0.0002833/0.7425, allocations: 100.5 kB / 0.7434 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.873e-05/0.7426, allocations: 56.03 kB / 0.7435 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.7427, allocations: 118.9 kB / 0.7436 GB, free: 26 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.978e-05/0.7427, allocations: 25.7 kB / 0.7436 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.463e-05/0.7428, allocations: 104.3 kB / 0.7437 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.647e-05/0.7428, allocations: 28.34 kB / 0.7437 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.739e-06/0.7428, allocations: 0 / 0.7437 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.743, allocations: 317.7 kB / 0.744 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.822e-05/0.743, allocations: 36.77 kB / 0.7441 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.911e-05/0.7431, allocations: 53.83 kB / 0.7441 GB, free: 25.51 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001151/0.7432, allocations: 32.77 kB / 0.7441 GB, free: 25.51 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.7432, allocations: 0 / 0.7441 GB, free: 25.51 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001956/0.7434, allocations: 121.3 kB / 0.7443 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.7435, allocations: 3.844 kB / 0.7443 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.7435, allocations: 0 / 0.7443 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.7435, allocations: 4.641 kB / 0.7443 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003118/0.7438, allocations: 47.25 kB / 0.7443 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.7438, allocations: 3.938 kB / 0.7443 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002154/0.744, allocations: 36.56 kB / 0.7443 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.95e-05/0.7441, allocations: 8.453 kB / 0.7444 GB, free: 25.45 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 (8): * Single equations (assignments): 8 * 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 9.739e-05/0.7442, allocations: 108.2 kB / 0.7445 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.208e-05/0.7442, allocations: 12.34 kB / 0.7445 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002764/0.7445, allocations: 126.6 kB / 0.7446 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.7445, allocations: 0 / 0.7446 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.7445, allocations: 3.844 kB / 0.7446 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.7445, allocations: 0.7031 kB / 0.7446 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002396/0.7448, allocations: 208.7 kB / 0.7448 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.7448, allocations: 0.7031 kB / 0.7448 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002608/0.7451, allocations: 46.84 kB / 0.7448 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.7451, allocations: 0.7969 kB / 0.7448 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.636e-05/0.7451, allocations: 0.75 kB / 0.7448 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.7451, allocations: 4.656 kB / 0.7448 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.7451, allocations: 3.75 kB / 0.7448 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000218/0.7453, allocations: 202.1 kB / 0.745 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.469e-05/0.7454, allocations: 85.48 kB / 0.7451 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.051e-05/0.7454, allocations: 0.5625 kB / 0.7451 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003499/0.7458, allocations: 47.5 kB / 0.7452 GB, free: 24.87 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.177e-05/0.7458, allocations: 9.703 kB / 0.7452 GB, free: 24.87 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.56e-05/0.7459, allocations: 11.3 kB / 0.7452 GB, free: 24.87 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.38e-05/0.7459, allocations: 97.48 kB / 0.7453 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002545/0.7462, allocations: 23.25 kB / 0.7453 GB, free: 24.79 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 (6): * Single equations (assignments): 6 * 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.0001546/0.7464, allocations: 97.42 kB / 0.7454 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001826/0.7465, allocations: 81.2 kB / 0.7455 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.7466, allocations: 0 / 0.7455 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 6.73e-05/0.7466, allocations: 43.14 kB / 0.7455 GB, free: 24.69 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002127/0.7468, allocations: 14.53 kB / 0.7455 GB, free: 24.69 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004545/0.7473, allocations: 142.7 kB / 0.7457 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000394/0.7477, allocations: 0.7224 MB / 0.7464 GB, free: 23.9 MB / 0.5105 GB Notification: Performance of SimCode: time 2.71e-07/0.7477, allocations: 7.781 kB / 0.7464 GB, free: 23.9 MB / 0.5105 GB Notification: Performance of Templates: time 0.00429/0.752, allocations: 1.689 MB / 0.748 GB, free: 23.79 MB / 0.5105 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)