Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_dev_IDEAS.Utilities.Math.Examples.SmoothMin") translateModel(IDEAS.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006558/0.006558, allocations: 98.97 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 199 kB / 16.68 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9444/0.9444, allocations: 135.1 MB / 425.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 59.91 kB / 0.5856 GB, free: 3.309 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.443/0.4444, allocations: 80.92 MB / 0.6646 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.002325/0.4468, allocations: 1.464 MB / 0.6661 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003871/0.4472, allocations: 139.9 kB / 0.6662 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.679e-05/0.4472, allocations: 0 / 0.6662 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.735e-05/0.4473, allocations: 9.016 kB / 0.6662 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.878e-05/0.4474, allocations: 8.984 kB / 0.6662 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002462/0.4476, allocations: 29 kB / 0.6663 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.933e-05/0.4477, allocations: 40.11 kB / 0.6663 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001408/0.4479, allocations: 22.7 kB / 0.6663 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.714e-05/0.4479, allocations: 22.62 kB / 0.6663 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.768e-05/0.448, allocations: 21.2 kB / 0.6664 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.752e-05/0.448, allocations: 4.25 kB / 0.6664 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.67e-05/0.4481, allocations: 33.16 kB / 0.6664 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.612e-05/0.4481, allocations: 10.19 kB / 0.6664 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.188e-05/0.4482, allocations: 16.81 kB / 0.6664 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001363/0.4483, allocations: 66.61 kB / 0.6665 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.4483, allocations: 1.156 kB / 0.6665 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4483, allocations: 0 / 0.6665 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.66e-06/0.4483, allocations: 0 / 0.6665 GB, free: 6.141 MB / 0.4981 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.000357/0.4487, allocations: 366.2 kB / 0.6668 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.4487, allocations: 9.281 kB / 0.6668 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001006/0.4498, allocations: 213.6 kB / 0.667 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.06e-05/0.4498, allocations: 174.7 kB / 0.6672 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.4499, allocations: 2.562 kB / 0.6672 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.685e-05/0.4499, allocations: 3 kB / 0.6672 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005211/0.4504, allocations: 195 kB / 0.6674 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.4504, allocations: 192 / 0.6674 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.4504, allocations: 5.156 kB / 0.6674 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.4505, allocations: 1.312 kB / 0.6674 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007819/0.4512, allocations: 283.9 kB / 0.6677 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007952/0.452, allocations: 442.4 kB / 0.6681 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/0.4531, allocations: 285.2 kB / 0.6684 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003347/0.4534, allocations: 108.5 kB / 0.6685 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.127e-05/0.4535, allocations: 1.531 kB / 0.6685 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.351e-05/0.4535, allocations: 39.94 kB / 0.6685 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.4535, allocations: 0 / 0.6685 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.001099/0.4546, allocations: 309.7 kB / 0.6688 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.131e-05/0.4546, allocations: 52.78 kB / 0.6689 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.976e-05/0.4547, allocations: 116.3 kB / 0.669 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.227e-05/0.4547, allocations: 26.77 kB / 0.669 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.876e-05/0.4547, allocations: 94.94 kB / 0.6691 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.915e-05/0.4548, allocations: 12.64 kB / 0.6691 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.589e-05/0.4548, allocations: 17.5 kB / 0.6691 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.146e-05/0.4549, allocations: 321.5 kB / 0.6694 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003377/0.4552, allocations: 98.09 kB / 0.6695 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003198/0.4555, allocations: 96.53 kB / 0.6696 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006161/0.4562, allocations: 171.6 kB / 0.6698 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.4562, allocations: 0 / 0.6698 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006793/0.4569, allocations: 220.4 kB / 0.67 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.4569, allocations: 5.188 kB / 0.67 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-06/0.4569, allocations: 0 / 0.67 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.4569, allocations: 1.062 kB / 0.67 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002333/0.4571, allocations: 34.36 kB / 0.67 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.4572, allocations: 5.25 kB / 0.67 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00018/0.4573, allocations: 29.78 kB / 0.6701 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.4574, allocations: 5.594 kB / 0.6701 GB, free: 3.34 MB / 0.4981 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.274e-05/0.4574, allocations: 118.6 kB / 0.6702 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.074e-05/0.4575, allocations: 5.234 kB / 0.6702 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.327e-05/0.4575, allocations: 10.61 kB / 0.6702 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.4575, allocations: 5.062 kB / 0.6702 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.4575, allocations: 1.125 kB / 0.6702 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.4575, allocations: 0 / 0.6702 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001702/0.4577, allocations: 216.7 kB / 0.6704 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.4577, allocations: 0 / 0.6704 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002096/0.4579, allocations: 31.2 kB / 0.6704 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.4579, allocations: 1.156 kB / 0.6704 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.458, allocations: 3.984 kB / 0.6704 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.458, allocations: 1.5 kB / 0.6704 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.458, allocations: 7.938 kB / 0.6704 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007084/0.4587, allocations: 311 kB / 0.6707 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.085e-05/0.4587, allocations: 86.53 kB / 0.6708 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/0.4587, allocations: 4 kB / 0.6708 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002121/0.459, allocations: 26.36 kB / 0.6709 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.738e-05/0.459, allocations: 6.641 kB / 0.6709 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/0.459, allocations: 5.281 kB / 0.6709 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.808e-05/0.4591, allocations: 96.27 kB / 0.671 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4591, allocations: 1.062 kB / 0.671 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002383/0.4593, allocations: 12.34 kB / 0.671 GB, free: 2.5 MB / 0.4981 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.987e-05/0.4594, allocations: 102.4 kB / 0.6711 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007329/0.4601, allocations: 195.5 kB / 0.6713 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.4602, allocations: 0 / 0.6713 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003418/0.4605, allocations: 107.1 kB / 0.6714 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002407/0.4608, allocations: 1.562 kB / 0.6714 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008099/0.4616, allocations: 263.1 kB / 0.6716 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001007/0.4617, allocations: 0.6922 MB / 0.6723 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.958e-05/0.4618, allocations: 13.25 kB / 0.6723 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.301e-05/0.4618, allocations: 18.17 kB / 0.6723 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of SimCode: time 3e-07/0.4618, allocations: 0 / 0.6723 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of Templates: time 0.00277/0.4646, allocations: 0.9411 MB / 0.6732 GB, free: 0.8555 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.pipe 2>&1)