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.005623/0.005622, allocations: 101.1 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.001271/0.001271, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.385/1.385, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9715/0.9715, allocations: 135.1 MB / 425.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 60.14 kB / 0.5856 GB, free: 3.359 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4318/0.4331, allocations: 80.92 MB / 0.6647 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.002363/0.4355, allocations: 1.451 MB / 0.6661 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003305/0.4359, allocations: 148 kB / 0.6662 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.942e-05/0.4359, allocations: 5.188 kB / 0.6662 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.922e-05/0.436, allocations: 0 / 0.6662 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.13e-05/0.436, allocations: 5.125 kB / 0.6662 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002271/0.4363, allocations: 32.36 kB / 0.6663 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.356e-05/0.4364, allocations: 44.22 kB / 0.6663 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.4365, allocations: 23 kB / 0.6663 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.599e-05/0.4366, allocations: 18.58 kB / 0.6663 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.413e-05/0.4366, allocations: 17.61 kB / 0.6664 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.436e-05/0.4366, allocations: 4.062 kB / 0.6664 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.333e-05/0.4367, allocations: 38.58 kB / 0.6664 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.492e-05/0.4368, allocations: 4.812 kB / 0.6664 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.701e-05/0.4368, allocations: 21.36 kB / 0.6664 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001243/0.4369, allocations: 67.77 kB / 0.6665 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.4369, allocations: 4 kB / 0.6665 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.684e-06/0.4369, allocations: 0 / 0.6665 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.4369, allocations: 0 / 0.6665 GB, free: 6.18 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.0003987/0.4373, allocations: 363.4 kB / 0.6668 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.4374, allocations: 10.41 kB / 0.6668 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009818/0.4384, allocations: 209.4 kB / 0.667 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/0.4385, allocations: 172.6 kB / 0.6672 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.4385, allocations: 2.875 kB / 0.6672 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.161e-05/0.4385, allocations: 2.531 kB / 0.6672 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005392/0.4391, allocations: 195.3 kB / 0.6674 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.4391, allocations: 192 / 0.6674 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.4391, allocations: 9.25 kB / 0.6674 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.4391, allocations: 3.938 kB / 0.6674 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007811/0.4399, allocations: 281 kB / 0.6677 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008796/0.4408, allocations: 447 kB / 0.6681 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/0.4418, allocations: 289.2 kB / 0.6684 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003206/0.4422, allocations: 104.8 kB / 0.6685 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.907e-05/0.4422, allocations: 0 / 0.6685 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/0.4422, allocations: 36 kB / 0.6685 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.483e-06/0.4422, allocations: 0 / 0.6685 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.001097/0.4433, allocations: 310.8 kB / 0.6688 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.399e-05/0.4434, allocations: 51.41 kB / 0.6689 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.051e-05/0.4435, allocations: 125 kB / 0.669 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.4435, allocations: 27.08 kB / 0.669 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.931e-05/0.4435, allocations: 89.47 kB / 0.6691 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.395e-05/0.4436, allocations: 6.844 kB / 0.6691 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.134e-05/0.4436, allocations: 21.89 kB / 0.6691 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.391e-05/0.4437, allocations: 316.1 kB / 0.6694 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003116/0.444, allocations: 98.91 kB / 0.6695 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002854/0.4443, allocations: 90.97 kB / 0.6696 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005438/0.4449, allocations: 180.4 kB / 0.6698 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.4449, allocations: 0 / 0.6698 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006165/0.4455, allocations: 219.9 kB / 0.67 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.4455, allocations: 5.344 kB / 0.67 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.4455, allocations: 1.656 kB / 0.67 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.4456, allocations: 3.938 kB / 0.67 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002253/0.4458, allocations: 29.7 kB / 0.67 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.4458, allocations: 5.078 kB / 0.67 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001624/0.446, allocations: 30.56 kB / 0.6701 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.446, allocations: 5.344 kB / 0.6701 GB, free: 3.387 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.082e-05/0.446, allocations: 117.9 kB / 0.6702 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.013e-05/0.4461, allocations: 6.656 kB / 0.6702 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.232e-05/0.4461, allocations: 10.61 kB / 0.6702 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.4461, allocations: 0 / 0.6702 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.4461, allocations: 1.406 kB / 0.6702 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.4462, allocations: 0 / 0.6702 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000166/0.4463, allocations: 213.3 kB / 0.6704 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.4463, allocations: 4 kB / 0.6704 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001967/0.4465, allocations: 35.69 kB / 0.6704 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.4465, allocations: 3.984 kB / 0.6704 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.4466, allocations: 0.875 kB / 0.6704 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.4466, allocations: 0 / 0.6704 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4466, allocations: 5.094 kB / 0.6704 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006365/0.4472, allocations: 318.2 kB / 0.6707 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.899e-05/0.4472, allocations: 82.3 kB / 0.6708 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.851e-05/0.4473, allocations: 1.031 kB / 0.6708 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001916/0.4475, allocations: 35.12 kB / 0.6709 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.586e-05/0.4475, allocations: 5.375 kB / 0.6709 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.247e-06/0.4475, allocations: 1.062 kB / 0.6709 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.754e-05/0.4476, allocations: 97.23 kB / 0.671 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4476, allocations: 0 / 0.671 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002306/0.4478, allocations: 12.19 kB / 0.671 GB, free: 2.547 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 0.0001013/0.4479, allocations: 99.52 kB / 0.6711 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006277/0.4485, allocations: 207.2 kB / 0.6713 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.4485, allocations: 0 / 0.6713 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002964/0.4489, allocations: 99.19 kB / 0.6714 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002381/0.4491, allocations: 7.344 kB / 0.6714 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007687/0.4499, allocations: 267.1 kB / 0.6716 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001061/0.45, allocations: 0.6871 MB / 0.6723 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.084e-05/0.4501, allocations: 20.39 kB / 0.6723 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.158e-05/0.4501, allocations: 14.53 kB / 0.6723 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.4501, allocations: 0 / 0.6723 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of Templates: time 0.002874/0.453, allocations: 0.9329 MB / 0.6732 GB, free: 0.9023 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)