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: "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothMin,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothMin,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006902/0.006903, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001311/0.001311, allocations: 198.7 kB / 16.67 MB, free: 5.934 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.508/1.508, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.786/0.786, allocations: 132.2 MB / 422.7 MB, free: 1.676 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001766/0.001766, allocations: 63.89 kB / 0.5809 GB, free: 8.051 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4034/0.4052, allocations: 80.21 MB / 0.6592 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.002422/0.4077, allocations: 1.463 MB / 0.6606 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000392/0.4081, allocations: 147.3 kB / 0.6608 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.553e-05/0.4081, allocations: 0 / 0.6608 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.596e-05/0.4082, allocations: 4.641 kB / 0.6608 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.297e-05/0.4083, allocations: 9.906 kB / 0.6608 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002495/0.4085, allocations: 28.66 kB / 0.6608 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.4086, allocations: 46.78 kB / 0.6608 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/0.4088, allocations: 25.47 kB / 0.6609 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.621e-05/0.4088, allocations: 17.52 kB / 0.6609 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.79e-05/0.4089, allocations: 18.72 kB / 0.6609 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.583e-05/0.4089, allocations: 2.969 kB / 0.6609 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.566e-05/0.409, allocations: 33.58 kB / 0.6609 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.849e-05/0.409, allocations: 11.22 kB / 0.661 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.994e-05/0.4091, allocations: 21.89 kB / 0.661 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001568/0.4092, allocations: 61.47 kB / 0.661 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.4092, allocations: 1.375 kB / 0.661 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.644e-06/0.4093, allocations: 3.938 kB / 0.661 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.69e-06/0.4093, allocations: 0 / 0.661 GB, free: 8.605 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.0004205/0.4097, allocations: 366.8 kB / 0.6614 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.4097, allocations: 8.688 kB / 0.6614 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.696e-05/0.4098, allocations: 37.55 kB / 0.6614 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001142/0.4109, allocations: 212.9 kB / 0.6616 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.676e-05/0.411, allocations: 172.5 kB / 0.6618 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.411, allocations: 1.812 kB / 0.6618 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.511e-05/0.4111, allocations: 3.906 kB / 0.6618 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006331/0.4117, allocations: 191.1 kB / 0.662 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.4117, allocations: 3.938 kB / 0.662 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.873e-05/0.4117, allocations: 2.047 kB / 0.662 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.4118, allocations: 4 kB / 0.662 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009589/0.4127, allocations: 281.9 kB / 0.6623 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001015/0.4137, allocations: 441.8 kB / 0.6627 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001116/0.4149, allocations: 288.4 kB / 0.663 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003698/0.4153, allocations: 97.39 kB / 0.6631 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.848e-05/0.4153, allocations: 1.188 kB / 0.6631 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.965e-05/0.4153, allocations: 34.56 kB / 0.6631 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.4153, allocations: 5.062 kB / 0.6631 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.001193/0.4165, allocations: 305.9 kB / 0.6634 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.895e-05/0.4166, allocations: 60.45 kB / 0.6634 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.862e-05/0.4167, allocations: 124.4 kB / 0.6636 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.4167, allocations: 27.23 kB / 0.6636 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.862e-05/0.4167, allocations: 93.45 kB / 0.6637 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.765e-05/0.4168, allocations: 13.22 kB / 0.6637 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.09e-05/0.4168, allocations: 18.38 kB / 0.6637 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.489e-05/0.4169, allocations: 316.8 kB / 0.664 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003529/0.4172, allocations: 103.2 kB / 0.6641 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003244/0.4176, allocations: 91.03 kB / 0.6642 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006333/0.4182, allocations: 172.4 kB / 0.6644 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4182, allocations: 0 / 0.6644 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007115/0.4189, allocations: 211.6 kB / 0.6646 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/0.419, allocations: 11.03 kB / 0.6646 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.419, allocations: 0 / 0.6646 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.419, allocations: 1.484 kB / 0.6646 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000262/0.4193, allocations: 42.47 kB / 0.6646 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.4193, allocations: 0 / 0.6646 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001857/0.4195, allocations: 27.77 kB / 0.6646 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.4195, allocations: 1.188 kB / 0.6646 GB, free: 6.059 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 8.04e-05/0.4196, allocations: 126.2 kB / 0.6648 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.797e-05/0.4197, allocations: 10.81 kB / 0.6648 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.363e-05/0.4197, allocations: 6.031 kB / 0.6648 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.4197, allocations: 1.156 kB / 0.6648 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.4197, allocations: 0 / 0.6648 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.4197, allocations: 0 / 0.6648 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001998/0.4199, allocations: 213.6 kB / 0.665 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.42, allocations: 0 / 0.665 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002262/0.4202, allocations: 38.91 kB / 0.665 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.4202, allocations: 0 / 0.665 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.4202, allocations: 5.125 kB / 0.665 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.4202, allocations: 1.281 kB / 0.665 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4202, allocations: 0 / 0.665 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007437/0.421, allocations: 318.7 kB / 0.6653 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.769e-05/0.421, allocations: 85.94 kB / 0.6654 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.285e-05/0.421, allocations: 1.406 kB / 0.6654 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002161/0.4213, allocations: 30.86 kB / 0.6654 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.843e-05/0.4213, allocations: 1.219 kB / 0.6654 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.4213, allocations: 5.359 kB / 0.6654 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.001e-05/0.4214, allocations: 97.16 kB / 0.6655 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4214, allocations: 0 / 0.6655 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002393/0.4216, allocations: 24.83 kB / 0.6656 GB, free: 5.195 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.0009462/0.4226, allocations: 0.8391 MB / 0.6664 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007714/0.4234, allocations: 199.1 kB / 0.6666 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.4234, allocations: 0 / 0.6666 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003855/0.4238, allocations: 98.72 kB / 0.6667 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002589/0.424, allocations: 5.219 kB / 0.6667 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003325/0.4274, allocations: 1.841 MB / 0.6685 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001389/0.4275, allocations: 0.692 MB / 0.6691 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.524e-05/0.4276, allocations: 19.92 kB / 0.6692 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.234e-05/0.4277, allocations: 14.94 kB / 0.6692 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of SimCode: time 2.01e-07/0.4277, allocations: 0 / 0.6692 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01726/0.445, allocations: 1.936 MB / 0.6711 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.437/7.882, allocations: 13.06 kB / 0.6711 GB, free: 0.9883 MB / 0.4981 GB (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Utilities_Math_Examples_SmoothMin.fmu > IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.pipe 2>&1)