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.009439/0.009439, allocations: 97.03 kB / 15.73 MB, free: 6.484 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.002011/0.002012, allocations: 192 kB / 16.67 MB, free: 6.391 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.569/1.569, 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.8442/0.8442, allocations: 132.2 MB / 422.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 67.91 kB / 0.5809 GB, free: 8.055 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4037/0.4057, allocations: 80.2 MB / 0.6592 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.002476/0.4082, allocations: 1.465 MB / 0.6606 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004556/0.4087, allocations: 142.5 kB / 0.6608 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.91e-05/0.4087, allocations: 0 / 0.6608 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.825e-05/0.4088, allocations: 1.828 kB / 0.6608 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.907e-05/0.4088, allocations: 5.797 kB / 0.6608 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002602/0.4091, allocations: 40.2 kB / 0.6608 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001156/0.4092, allocations: 44.23 kB / 0.6609 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001361/0.4094, allocations: 15.7 kB / 0.6609 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.879e-05/0.4094, allocations: 17.61 kB / 0.6609 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.401e-05/0.4095, allocations: 27.28 kB / 0.6609 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.06e-05/0.4095, allocations: 3.281 kB / 0.6609 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.4096, allocations: 33.16 kB / 0.6609 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.016e-05/0.4097, allocations: 10.64 kB / 0.661 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.179e-05/0.4097, allocations: 21.97 kB / 0.661 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001633/0.4099, allocations: 66.88 kB / 0.661 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.4099, allocations: 0 / 0.661 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.503e-06/0.4099, allocations: 0 / 0.661 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.287e-05/0.4099, allocations: 0 / 0.661 GB, free: 8.617 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.0004396/0.4103, allocations: 371.1 kB / 0.6614 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.4104, allocations: 10.16 kB / 0.6614 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.589e-05/0.4104, allocations: 32.97 kB / 0.6614 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001091/0.4115, allocations: 208.7 kB / 0.6616 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.618e-05/0.4116, allocations: 173.4 kB / 0.6618 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.4116, allocations: 5.906 kB / 0.6618 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.064e-05/0.4117, allocations: 5.922 kB / 0.6618 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006014/0.4123, allocations: 195.9 kB / 0.662 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.4123, allocations: 3.938 kB / 0.662 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.4123, allocations: 1.031 kB / 0.662 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/0.4123, allocations: 1.062 kB / 0.662 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009069/0.4132, allocations: 282.5 kB / 0.6623 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008561/0.4141, allocations: 436.7 kB / 0.6627 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001063/0.4152, allocations: 288 kB / 0.663 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000341/0.4155, allocations: 105.7 kB / 0.6631 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.985e-05/0.4156, allocations: 5.656 kB / 0.6631 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/0.4156, allocations: 34.55 kB / 0.6631 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.513e-06/0.4156, allocations: 0 / 0.6631 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.001147/0.4167, allocations: 314.7 kB / 0.6634 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.186e-05/0.4168, allocations: 56.53 kB / 0.6635 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.887e-05/0.4169, allocations: 116.2 kB / 0.6636 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.4169, allocations: 30.73 kB / 0.6636 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.853e-05/0.4169, allocations: 90.27 kB / 0.6637 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.072e-05/0.4169, allocations: 8.969 kB / 0.6637 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.625e-05/0.417, allocations: 18.16 kB / 0.6637 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.061e-05/0.417, allocations: 321.1 kB / 0.664 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003495/0.4174, allocations: 98.25 kB / 0.6641 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003343/0.4177, allocations: 91.78 kB / 0.6642 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006574/0.4184, allocations: 171.7 kB / 0.6644 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.4184, allocations: 1.406 kB / 0.6644 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007132/0.4191, allocations: 214.8 kB / 0.6646 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.4191, allocations: 6.156 kB / 0.6646 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.4192, allocations: 0 / 0.6646 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.4192, allocations: 4 kB / 0.6646 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002495/0.4194, allocations: 38.81 kB / 0.6646 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.4194, allocations: 1.062 kB / 0.6646 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001844/0.4196, allocations: 26.73 kB / 0.6646 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.4196, allocations: 1.188 kB / 0.6646 GB, free: 6.078 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.938e-05/0.4197, allocations: 122.6 kB / 0.6648 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.1e-05/0.4198, allocations: 10.27 kB / 0.6648 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.321e-05/0.4198, allocations: 10.41 kB / 0.6648 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.4198, allocations: 1.188 kB / 0.6648 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.4198, allocations: 4 kB / 0.6648 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.4198, allocations: 1.453 kB / 0.6648 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000178/0.42, allocations: 212.9 kB / 0.665 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.42, allocations: 0 / 0.665 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002219/0.4203, allocations: 39.16 kB / 0.665 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.4203, allocations: 4 kB / 0.665 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.4203, allocations: 5.359 kB / 0.665 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.4203, allocations: 0 / 0.665 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4203, allocations: 3.938 kB / 0.665 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007329/0.421, allocations: 316.2 kB / 0.6653 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.253e-05/0.4211, allocations: 85 kB / 0.6654 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.989e-05/0.4211, allocations: 1.375 kB / 0.6654 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002207/0.4213, allocations: 26.33 kB / 0.6654 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.831e-05/0.4214, allocations: 2.219 kB / 0.6654 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.689e-06/0.4214, allocations: 5.109 kB / 0.6655 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.128e-05/0.4214, allocations: 97.48 kB / 0.6655 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4214, allocations: 4 kB / 0.6655 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002352/0.4217, allocations: 16.25 kB / 0.6656 GB, free: 5.215 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.0009388/0.4226, allocations: 0.8394 MB / 0.6664 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007464/0.4234, allocations: 194.9 kB / 0.6666 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4234, allocations: 4 kB / 0.6666 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003483/0.4237, allocations: 102.8 kB / 0.6667 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002379/0.424, allocations: 2.562 kB / 0.6667 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003057/0.427, allocations: 1.84 MB / 0.6685 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001129/0.4272, allocations: 0.688 MB / 0.6691 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.24e-05/0.4273, allocations: 21.3 kB / 0.6692 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.798e-05/0.4273, allocations: 13.66 kB / 0.6692 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of SimCode: time 3.01e-07/0.4273, allocations: 5 kB / 0.6692 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02256/0.4499, allocations: 1.936 MB / 0.6711 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.987/8.436, allocations: 10.09 kB / 0.6711 GB, free: 1.008 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)