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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0012/0.0012, allocations: 176.1 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8003/0.8003, allocations: 130.7 MB / 138.7 MB, free: 3.551 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.47/1.47, allocations: 221.5 MB / 391.8 MB, free: 14.22 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008119/0.0008118, allocations: 103.8 kB / 473.9 MB, free: 4.473 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.106e-05/2.11e-05, allocations: 8 kB / 0.5485 GB, free: 13.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5282/0.5282, allocations: 81.56 MB / 0.6282 GB, free: 42.89 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1776/0.7059, allocations: 112.2 MB / 0.7377 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002996/0.7063, allocations: 75.95 kB / 0.7378 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.0203/0.7266, allocations: 5.092 MB / 0.7427 GB, free: 9.414 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.493e-06/0.7266, allocations: 6.25 kB / 0.7427 GB, free: 9.41 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.123e-05/0.7267, allocations: 0 / 0.7427 GB, free: 9.41 MB / 0.5261 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.0006636/0.7273, allocations: 410.1 kB / 0.7431 GB, free: 8.965 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/0.7274, allocations: 8.031 kB / 0.7431 GB, free: 8.957 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009513/0.7284, allocations: 111.7 kB / 0.7432 GB, free: 8.848 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001791/0.7286, allocations: 190.8 kB / 0.7434 GB, free: 8.621 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001235/0.7287, allocations: 63.41 kB / 0.7435 GB, free: 8.547 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.303e-05/0.7287, allocations: 4 kB / 0.7435 GB, free: 8.543 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002511/0.729, allocations: 75.98 kB / 0.7436 GB, free: 8.469 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002695/0.7293, allocations: 99.2 kB / 0.7437 GB, free: 8.367 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.7293, allocations: 4 kB / 0.7437 GB, free: 8.363 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.938e-05/0.7293, allocations: 0 / 0.7437 GB, free: 8.363 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.7294, allocations: 7.953 kB / 0.7437 GB, free: 8.355 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001403/0.7308, allocations: 473.8 kB / 0.7441 GB, free: 7.859 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007714/0.7316, allocations: 166.4 kB / 0.7443 GB, free: 7.688 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.7317, allocations: 36.98 kB / 0.7443 GB, free: 7.648 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 4.357e-05/0.7317, allocations: 11.98 kB / 0.7443 GB, free: 7.637 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.997e-05/0.7318, allocations: 38.5 kB / 0.7444 GB, free: 7.59 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=6): time 1.633e-06/0.7318, allocations: 0 / 0.7444 GB, free: 7.59 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6): time 0.0003572/0.7322, allocations: 97.73 kB / 0.7445 GB, free: 7.488 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/0.7322, allocations: 55.41 kB / 0.7445 GB, free: 7.422 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.7324, allocations: 119.2 kB / 0.7446 GB, free: 7.301 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.734e-05/0.7324, allocations: 29.7 kB / 0.7447 GB, free: 7.266 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.686e-05/0.7325, allocations: 108.1 kB / 0.7448 GB, free: 7.152 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.369e-05/0.7326, allocations: 28.59 kB / 0.7448 GB, free: 7.125 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.179e-05/0.7326, allocations: 0 / 0.7448 GB, free: 7.125 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.7328, allocations: 322.8 kB / 0.7451 GB, free: 6.801 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.966e-05/0.7329, allocations: 31.94 kB / 0.7451 GB, free: 6.77 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001051/0.733, allocations: 54.56 kB / 0.7452 GB, free: 6.707 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.91e-05/0.7331, allocations: 27.98 kB / 0.7452 GB, free: 6.68 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.7331, allocations: 0 / 0.7452 GB, free: 6.68 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002671/0.7333, allocations: 121.5 kB / 0.7453 GB, free: 6.555 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.7334, allocations: 4 kB / 0.7453 GB, free: 6.551 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.7334, allocations: 0 / 0.7453 GB, free: 6.551 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.7334, allocations: 7.938 kB / 0.7453 GB, free: 6.543 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003532/0.7338, allocations: 39.95 kB / 0.7454 GB, free: 6.504 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/0.7338, allocations: 4.062 kB / 0.7454 GB, free: 6.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002627/0.7341, allocations: 31.95 kB / 0.7454 GB, free: 6.469 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.564e-05/0.7341, allocations: 8 kB / 0.7454 GB, free: 6.461 MB / 0.5261 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 0.0001142/0.7342, allocations: 108.9 kB / 0.7455 GB, free: 6.348 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.832e-05/0.7343, allocations: 11.84 kB / 0.7455 GB, free: 6.336 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003335/0.7346, allocations: 114.3 kB / 0.7456 GB, free: 6.215 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.7347, allocations: 4 kB / 0.7456 GB, free: 6.211 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.7347, allocations: 0 / 0.7456 GB, free: 6.211 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.7347, allocations: 3.984 kB / 0.7456 GB, free: 6.207 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003371/0.735, allocations: 214.8 kB / 0.7458 GB, free: 5.961 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.175e-06/0.735, allocations: 0 / 0.7458 GB, free: 5.961 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003058/0.7354, allocations: 44.14 kB / 0.7459 GB, free: 5.918 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.7354, allocations: 0 / 0.7459 GB, free: 5.918 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.186e-05/0.7354, allocations: 4 kB / 0.7459 GB, free: 5.914 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.7354, allocations: 0 / 0.7459 GB, free: 5.914 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.471e-06/0.7354, allocations: 7.938 kB / 0.7459 GB, free: 5.906 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003529/0.7358, allocations: 207.3 kB / 0.7461 GB, free: 5.688 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.303e-05/0.7359, allocations: 85 kB / 0.7462 GB, free: 5.586 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.022e-05/0.7359, allocations: 8 kB / 0.7462 GB, free: 5.578 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003991/0.7363, allocations: 39.95 kB / 0.7462 GB, free: 5.539 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.878e-05/0.7364, allocations: 0 / 0.7462 GB, free: 5.539 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.18e-05/0.7364, allocations: 11.97 kB / 0.7462 GB, free: 5.527 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 8.468e-05/0.7365, allocations: 109.3 kB / 0.7463 GB, free: 5.422 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7365, allocations: 0 / 0.7463 GB, free: 5.422 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000381/0.7369, allocations: 16 kB / 0.7464 GB, free: 5.406 MB / 0.5261 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.0001629/0.7371, allocations: 96.89 kB / 0.7464 GB, free: 5.305 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002377/0.7373, allocations: 79.92 kB / 0.7465 GB, free: 5.227 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.7373, allocations: 0 / 0.7465 GB, free: 5.227 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 9.9e-05/0.7374, allocations: 43.98 kB / 0.7466 GB, free: 5.184 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002932/0.7377, allocations: 16.59 kB / 0.7466 GB, free: 5.172 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004587/0.7382, allocations: 136.5 kB / 0.7467 GB, free: 5.016 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003436/0.7386, allocations: 0.7041 MB / 0.7474 GB, free: 4.285 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001426/0.7387, allocations: 12.19 kB / 0.7474 GB, free: 4.27 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.623e-05/0.7388, allocations: 15.42 kB / 0.7474 GB, free: 4.254 MB / 0.5261 GB Notification: Performance of SimCode: time 4.21e-07/0.7388, allocations: 3.938 kB / 0.7474 GB, free: 4.25 MB / 0.5261 GB Notification: Performance of Templates: time 0.004458/0.7433, allocations: 1.247 MB / 0.7486 GB, free: 3.012 MB / 0.5261 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)