Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks") translateModel(IDEAS.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001883/0.001883, allocations: 184.2 kB / 7.462 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6024/0.6024, allocations: 133.5 MB / 141.4 MB, free: 15.66 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.113/1.113, allocations: 221.3 MB / 395 MB, free: 10.16 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.0008173/0.0008173, allocations: 95.44 kB / 477.8 MB, free: 10.77 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.392e-06/6.502e-06, allocations: 2.969 kB / 0.5528 GB, free: 89.26 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.103, allocations: 82.31 MB / 0.6332 GB, free: 14.07 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3166/0.4196, allocations: 112.3 MB / 0.7429 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001622/0.4198, allocations: 73.53 kB / 0.743 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.01279/0.4326, allocations: 4.745 MB / 0.7476 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.4326, allocations: 3.812 kB / 0.7476 GB, free: 10.19 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.0004339/0.4331, allocations: 417.4 kB / 0.748 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 2.914e-05/0.4331, allocations: 8.406 kB / 0.748 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006827/0.4338, allocations: 129.1 kB / 0.7481 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.4339, allocations: 187.1 kB / 0.7483 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.343e-05/0.434, allocations: 64.77 kB / 0.7484 GB, free: 25.51 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.4341, allocations: 3.812 kB / 0.7484 GB, free: 25.51 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001475/0.4342, allocations: 75.02 kB / 0.7485 GB, free: 25.51 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.4344, allocations: 99.81 kB / 0.7486 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.4344, allocations: 7.719 kB / 0.7486 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.997e-05/0.4344, allocations: 0 / 0.7486 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.4344, allocations: 3.938 kB / 0.7486 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009597/0.4354, allocations: 481.6 kB / 0.749 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/0.4355, allocations: 85.81 kB / 0.7491 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.502e-05/0.4356, allocations: 42.14 kB / 0.7491 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/0.4356, allocations: 4.422 kB / 0.7491 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/0.4356, allocations: 34.92 kB / 0.7492 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.4357, allocations: 0 / 0.7492 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6): time 0.0002469/0.4359, allocations: 99.95 kB / 0.7493 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.206e-05/0.4359, allocations: 51.41 kB / 0.7493 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.822e-05/0.436, allocations: 132.8 kB / 0.7495 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.029e-05/0.4361, allocations: 25.7 kB / 0.7495 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.688e-05/0.4361, allocations: 107.2 kB / 0.7496 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.914e-05/0.4361, allocations: 16.97 kB / 0.7496 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.947e-06/0.4361, allocations: 0.75 kB / 0.7496 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.867e-05/0.4362, allocations: 321 kB / 0.7499 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.194e-05/0.4363, allocations: 33.62 kB / 0.7499 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.667e-05/0.4363, allocations: 48.52 kB / 0.75 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.093e-05/0.4364, allocations: 33.83 kB / 0.75 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.4364, allocations: 0 / 0.75 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001699/0.4366, allocations: 119.6 kB / 0.7501 GB, free: 24.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.618e-06/0.4366, allocations: 10.7 kB / 0.7501 GB, free: 24.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.4366, allocations: 3.938 kB / 0.7501 GB, free: 24.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.4366, allocations: 0 / 0.7501 GB, free: 24.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002762/0.4369, allocations: 50.77 kB / 0.7502 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.908e-06/0.4369, allocations: 0.75 kB / 0.7502 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002017/0.4371, allocations: 36.11 kB / 0.7502 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.538e-05/0.4372, allocations: 5.062 kB / 0.7502 GB, free: 24.39 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 7.937e-05/0.4372, allocations: 113.4 kB / 0.7503 GB, free: 24.27 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.981e-05/0.4373, allocations: 11.38 kB / 0.7503 GB, free: 24.27 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002274/0.4375, allocations: 119.3 kB / 0.7505 GB, free: 24.23 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.4375, allocations: 0 / 0.7505 GB, free: 24.23 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.4375, allocations: 0.9375 kB / 0.7505 GB, free: 24.23 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.4375, allocations: 7.906 kB / 0.7505 GB, free: 24.23 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001907/0.4377, allocations: 220.3 kB / 0.7507 GB, free: 24.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.4377, allocations: 0 / 0.7507 GB, free: 24.05 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002407/0.438, allocations: 47.33 kB / 0.7507 GB, free: 24.05 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.438, allocations: 0 / 0.7507 GB, free: 24.05 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.438, allocations: 4.469 kB / 0.7507 GB, free: 24.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.438, allocations: 3.844 kB / 0.7507 GB, free: 24.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.438, allocations: 4.688 kB / 0.7507 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001886/0.4382, allocations: 195 kB / 0.7509 GB, free: 23.91 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.34e-05/0.4383, allocations: 88.19 kB / 0.751 GB, free: 23.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.387e-05/0.4383, allocations: 4 kB / 0.751 GB, free: 23.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003227/0.4386, allocations: 47.19 kB / 0.7511 GB, free: 23.8 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.313e-05/0.4387, allocations: 6.469 kB / 0.7511 GB, free: 23.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.115e-05/0.4387, allocations: 7.125 kB / 0.7511 GB, free: 23.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.189e-05/0.4387, allocations: 99.41 kB / 0.7512 GB, free: 23.73 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002331/0.439, allocations: 27 kB / 0.7512 GB, free: 23.72 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.0001015/0.4391, allocations: 103.9 kB / 0.7513 GB, free: 23.62 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001613/0.4393, allocations: 80.27 kB / 0.7514 GB, free: 23.62 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.4393, allocations: 0 / 0.7514 GB, free: 23.62 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 6.3e-05/0.4393, allocations: 39.89 kB / 0.7514 GB, free: 23.62 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000165/0.4395, allocations: 7.859 kB / 0.7514 GB, free: 23.62 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003123/0.4398, allocations: 140 kB / 0.7515 GB, free: 23.54 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003005/0.4401, allocations: 0.7258 MB / 0.7523 GB, free: 22.83 MB / 0.5105 GB Notification: Performance of SimCode: time 2.51e-07/0.4401, allocations: 0 / 0.7523 GB, free: 22.83 MB / 0.5105 GB Notification: Performance of Templates: time 0.003367/0.4435, allocations: 1.688 MB / 0.7539 GB, free: 22.73 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)