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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00634/0.00634, allocations: 99.39 kB / 15.73 MB, free: 6.496 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.001143/0.001143, allocations: 199 kB / 16.68 MB, free: 6.375 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.472/1.472, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7793/0.7793, allocations: 132.2 MB / 422.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 75.88 kB / 0.5814 GB, free: 7.523 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5037/0.5049, allocations: 80.2 MB / 0.6597 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.002638/0.5076, allocations: 1.458 MB / 0.6611 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004083/0.508, allocations: 142.2 kB / 0.6612 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.485e-05/0.5081, allocations: 1.438 kB / 0.6612 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.339e-05/0.5081, allocations: 4.641 kB / 0.6612 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.301e-05/0.5082, allocations: 9.906 kB / 0.6613 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002394/0.5084, allocations: 32.2 kB / 0.6613 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001124/0.5086, allocations: 43.31 kB / 0.6613 GB, free: 9.438 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001477/0.5087, allocations: 21.28 kB / 0.6613 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.207e-05/0.5088, allocations: 21.31 kB / 0.6614 GB, free: 9.418 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.167e-05/0.5088, allocations: 21.44 kB / 0.6614 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.5088, allocations: 3.844 kB / 0.6614 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.53e-05/0.5089, allocations: 32.97 kB / 0.6614 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.093e-05/0.509, allocations: 7.938 kB / 0.6614 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.281e-05/0.509, allocations: 17.2 kB / 0.6614 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001477/0.5092, allocations: 66.48 kB / 0.6615 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.5092, allocations: 1.438 kB / 0.6615 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.362e-06/0.5092, allocations: 0 / 0.6615 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.5092, allocations: 4 kB / 0.6615 GB, free: 9.352 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.0004096/0.5096, allocations: 359.3 kB / 0.6619 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.5097, allocations: 11.34 kB / 0.6619 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001097/0.5108, allocations: 214.6 kB / 0.6621 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.5109, allocations: 170.9 kB / 0.6622 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.5109, allocations: 9.453 kB / 0.6622 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/0.5109, allocations: 2.875 kB / 0.6622 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005263/0.5114, allocations: 191.7 kB / 0.6624 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/0.5115, allocations: 192 / 0.6624 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.884e-05/0.5115, allocations: 9.375 kB / 0.6624 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.5115, allocations: 0 / 0.6624 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007355/0.5122, allocations: 284.5 kB / 0.6627 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008385/0.5131, allocations: 451.6 kB / 0.6631 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001019/0.5141, allocations: 284.1 kB / 0.6634 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004162/0.5145, allocations: 97.64 kB / 0.6635 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.478e-05/0.5146, allocations: 5.219 kB / 0.6635 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.864e-05/0.5146, allocations: 30.56 kB / 0.6635 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.303e-06/0.5146, allocations: 1.094 kB / 0.6635 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.001336/0.516, allocations: 314.6 kB / 0.6638 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/0.516, allocations: 55.41 kB / 0.6639 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.512e-05/0.5161, allocations: 121.5 kB / 0.664 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.5161, allocations: 25.7 kB / 0.664 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.915e-05/0.5162, allocations: 87.17 kB / 0.6641 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.931e-05/0.5162, allocations: 9.156 kB / 0.6641 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.669e-05/0.5163, allocations: 25.55 kB / 0.6641 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.106e-05/0.5164, allocations: 315.9 kB / 0.6644 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004183/0.5168, allocations: 100.2 kB / 0.6645 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004115/0.5172, allocations: 94.89 kB / 0.6646 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007979/0.518, allocations: 175.3 kB / 0.6648 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.518, allocations: 1.094 kB / 0.6648 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0008699/0.5189, allocations: 208.3 kB / 0.665 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/0.5189, allocations: 11.94 kB / 0.665 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.519, allocations: 0 / 0.665 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.519, allocations: 0 / 0.665 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002883/0.5193, allocations: 39.44 kB / 0.6651 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.5193, allocations: 0 / 0.6651 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002128/0.5195, allocations: 27.27 kB / 0.6651 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.5195, allocations: 1.562 kB / 0.6651 GB, free: 6.645 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 0.0001011/0.5196, allocations: 126.1 kB / 0.6652 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.098e-05/0.5197, allocations: 5.125 kB / 0.6652 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6e-05/0.5198, allocations: 6.906 kB / 0.6652 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.5198, allocations: 1.562 kB / 0.6652 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.904e-06/0.5198, allocations: 336 / 0.6652 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.5198, allocations: 3.938 kB / 0.6652 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002582/0.5201, allocations: 213.3 kB / 0.6654 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.5201, allocations: 3.938 kB / 0.6654 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002518/0.5203, allocations: 38.25 kB / 0.6655 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.5203, allocations: 5.141 kB / 0.6655 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/0.5204, allocations: 5.062 kB / 0.6655 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.5204, allocations: 0 / 0.6655 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.5204, allocations: 0 / 0.6655 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008992/0.5213, allocations: 315.2 kB / 0.6658 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.169e-05/0.5213, allocations: 82.19 kB / 0.6658 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.5214, allocations: 4.844 kB / 0.6659 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002598/0.5216, allocations: 26.98 kB / 0.6659 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.425e-05/0.5217, allocations: 1.531 kB / 0.6659 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.956e-05/0.5217, allocations: 1.156 kB / 0.6659 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.539e-05/0.5218, allocations: 105.4 kB / 0.666 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.91e-07/0.5218, allocations: 3.938 kB / 0.666 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003693/0.5222, allocations: 13.06 kB / 0.666 GB, free: 5.785 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.0001507/0.5223, allocations: 101.5 kB / 0.6661 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008936/0.5232, allocations: 193.9 kB / 0.6663 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5232, allocations: 0 / 0.6663 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004297/0.5237, allocations: 102.8 kB / 0.6664 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000352/0.524, allocations: 2.938 kB / 0.6664 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001063/0.5251, allocations: 269.2 kB / 0.6666 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001577/0.5253, allocations: 0.6878 MB / 0.6673 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001091/0.5254, allocations: 21.77 kB / 0.6673 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.193e-05/0.5255, allocations: 9.188 kB / 0.6673 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of SimCode: time 3.11e-07/0.5255, allocations: 0 / 0.6673 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of Templates: time 0.004233/0.5297, allocations: 0.9302 MB / 0.6682 GB, free: 4.148 MB / 0.4981 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)