Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.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.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin") translateModel(IDEAS.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7208/0.7208, allocations: 130.6 MB / 143.8 MB, free: 13.57 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.706/1.706, allocations: 221.3 MB / 396.8 MB, free: 9.145 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.0008702/0.0008703, allocations: 90.78 kB / 479 MB, free: 10.33 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.271e-05/5.273e-05, allocations: 7.5 kB / 0.5551 GB, free: 86.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1803/0.1803, allocations: 81.59 MB / 0.6348 GB, free: 12.01 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5742/0.7546, allocations: 111.2 MB / 0.7433 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002083/0.7549, allocations: 73.55 kB / 0.7434 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.003688/0.7586, allocations: 1.163 MB / 0.7445 GB, free: 27.97 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7586, allocations: 0 / 0.7445 GB, free: 27.97 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.163e-06/0.7587, allocations: 0 / 0.7445 GB, free: 27.97 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003556/0.759, allocations: 352.9 kB / 0.7449 GB, free: 27.62 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.7591, allocations: 7.531 kB / 0.7449 GB, free: 27.62 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000798/0.7599, allocations: 190.3 kB / 0.7451 GB, free: 27.61 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001415/0.76, allocations: 172 kB / 0.7452 GB, free: 27.41 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.7601, allocations: 7.938 kB / 0.7452 GB, free: 27.4 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.662e-05/0.7601, allocations: 0 / 0.7452 GB, free: 27.4 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002127/0.7603, allocations: 111.3 kB / 0.7454 GB, free: 27.37 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.7603, allocations: 0 / 0.7454 GB, free: 27.37 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.7603, allocations: 3.844 kB / 0.7454 GB, free: 27.37 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.7604, allocations: 0 / 0.7454 GB, free: 27.37 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000156/0.7605, allocations: 116.3 kB / 0.7455 GB, free: 27.37 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008558/0.7614, allocations: 458.9 kB / 0.7459 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003489/0.7617, allocations: 160.6 kB / 0.7461 GB, free: 27.06 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.095e-05/0.7618, allocations: 47.61 kB / 0.7461 GB, free: 27.05 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.7618, allocations: 3.875 kB / 0.7461 GB, free: 27.05 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.7619, allocations: 45.09 kB / 0.7461 GB, free: 27.01 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 2.355e-06/0.7619, allocations: 4 kB / 0.7462 GB, free: 27 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0002937/0.7622, allocations: 106 kB / 0.7463 GB, free: 26.97 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.632e-05/0.7622, allocations: 55.28 kB / 0.7463 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.123e-05/0.7623, allocations: 107.6 kB / 0.7464 GB, free: 26.81 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.7624, allocations: 25.7 kB / 0.7464 GB, free: 26.78 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.57e-05/0.7624, allocations: 94.48 kB / 0.7465 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.774e-05/0.7624, allocations: 7.812 kB / 0.7465 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.226e-06/0.7624, allocations: 3.844 kB / 0.7465 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.7626, allocations: 318.7 kB / 0.7468 GB, free: 26.37 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.885e-05/0.7626, allocations: 43.48 kB / 0.7469 GB, free: 26.37 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.304e-05/0.7627, allocations: 43.84 kB / 0.7469 GB, free: 26.37 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.866e-05/0.7627, allocations: 32.27 kB / 0.747 GB, free: 26.37 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.7627, allocations: 0 / 0.747 GB, free: 26.37 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001616/0.7629, allocations: 112.5 kB / 0.7471 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.7629, allocations: 3.875 kB / 0.7471 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.7629, allocations: 0 / 0.7471 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.763, allocations: 7.984 kB / 0.7471 GB, free: 26.33 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002428/0.7632, allocations: 44.95 kB / 0.7471 GB, free: 26.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.7632, allocations: 0 / 0.7471 GB, free: 26.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001831/0.7634, allocations: 43.88 kB / 0.7472 GB, free: 26.32 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.7634, allocations: 7.938 kB / 0.7472 GB, free: 26.31 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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 6.589e-05/0.7635, allocations: 104.8 kB / 0.7473 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.649e-05/0.7635, allocations: 0 / 0.7473 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.27e-05/0.7636, allocations: 14.58 kB / 0.7473 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-06/0.7636, allocations: 3.953 kB / 0.7473 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.7636, allocations: 0 / 0.7473 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.7636, allocations: 3.906 kB / 0.7473 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001793/0.7638, allocations: 207.1 kB / 0.7475 GB, free: 26 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.7638, allocations: 0.875 kB / 0.7475 GB, free: 26 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002121/0.764, allocations: 45.88 kB / 0.7475 GB, free: 26 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.764, allocations: 0 / 0.7475 GB, free: 26 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.7641, allocations: 0 / 0.7475 GB, free: 26 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.7641, allocations: 3.953 kB / 0.7475 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.7641, allocations: 2.297 kB / 0.7475 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002131/0.7643, allocations: 221.3 kB / 0.7477 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.198e-05/0.7643, allocations: 77.11 kB / 0.7478 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.993e-05/0.7644, allocations: 1.875 kB / 0.7478 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002148/0.7646, allocations: 34.59 kB / 0.7479 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.228e-05/0.7646, allocations: 6.297 kB / 0.7479 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.7646, allocations: 11.81 kB / 0.7479 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.762e-05/0.7647, allocations: 101.1 kB / 0.748 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7647, allocations: 0 / 0.748 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002005/0.7649, allocations: 11.81 kB / 0.748 GB, free: 25.66 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 (3): * Single equations (assignments): 3 * 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.0001234/0.765, allocations: 93.14 kB / 0.7481 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001743/0.7652, allocations: 92.09 kB / 0.7482 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.7652, allocations: 0 / 0.7482 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 7.446e-05/0.7653, allocations: 45.16 kB / 0.7482 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001668/0.7655, allocations: 11.75 kB / 0.7482 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007292/0.7662, allocations: 178.8 kB / 0.7484 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002565/0.7665, allocations: 0.6963 MB / 0.7491 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 8.347e-05/0.7666, allocations: 18.28 kB / 0.7491 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.245e-05/0.7667, allocations: 13.55 kB / 0.7491 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of SimCode: time 3.4e-07/0.7667, allocations: 0 / 0.7491 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of Templates: time 0.002395/0.7691, allocations: 0.8057 MB / 0.7499 GB, free: 24.74 MB / 0.5105 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.pipe 2>&1)