Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.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.SmoothExponential,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothExponential",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.001195/0.001195, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001854/0.001855, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.074/2.074, allocations: 223.2 MB / 239.9 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.124/1.124, allocations: 132.2 MB / 423.2 MB, free: 2.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005345/0.0005346, allocations: 13.31 kB / 0.5033 GB, free: 4.172 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6841/0.6846, allocations: 81.57 MB / 0.583 GB, free: 3.863 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothExponential): time 0.002798/0.6875, allocations: 1.15 MB / 0.5841 GB, free: 3.023 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006317/0.6882, allocations: 182.7 kB / 0.5843 GB, free: 2.898 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.312e-05/0.6883, allocations: 2.375 kB / 0.5843 GB, free: 2.898 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.32e-05/0.6883, allocations: 4.547 kB / 0.5843 GB, free: 2.895 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.266e-05/0.6884, allocations: 5.422 kB / 0.5843 GB, free: 2.891 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003133/0.6887, allocations: 25.09 kB / 0.5843 GB, free: 2.883 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 9.48e-05/0.6888, allocations: 10.23 kB / 0.5843 GB, free: 2.879 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.689, allocations: 13.88 kB / 0.5843 GB, free: 2.871 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.484e-05/0.689, allocations: 10.09 kB / 0.5843 GB, free: 2.867 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.692e-05/0.6891, allocations: 5.172 kB / 0.5843 GB, free: 2.867 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.6891, allocations: 1.344 kB / 0.5843 GB, free: 2.867 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001344/0.6893, allocations: 30.19 kB / 0.5844 GB, free: 2.859 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.54e-05/0.6893, allocations: 5.484 kB / 0.5844 GB, free: 2.855 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.126e-05/0.6894, allocations: 36.14 kB / 0.5844 GB, free: 2.816 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001291/0.6895, allocations: 29.23 kB / 0.5844 GB, free: 2.805 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.6895, allocations: 3.938 kB / 0.5844 GB, free: 2.801 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.6895, allocations: 1.094 kB / 0.5844 GB, free: 2.801 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.765e-05/0.6896, allocations: 0 / 0.5844 GB, free: 2.801 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005623/0.6902, allocations: 349.6 kB / 0.5848 GB, free: 2.441 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.947e-05/0.6902, allocations: 9.844 kB / 0.5848 GB, free: 2.441 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.01e-05/0.6903, allocations: 35.12 kB / 0.5848 GB, free: 2.398 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.974e-05/0.6903, allocations: 6.062 kB / 0.5848 GB, free: 2.395 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.6905, allocations: 169.2 kB / 0.585 GB, free: 2.191 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.6905, allocations: 2.172 kB / 0.585 GB, free: 2.191 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.927e-05/0.6905, allocations: 5.031 kB / 0.585 GB, free: 2.188 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002849/0.6908, allocations: 53.86 kB / 0.585 GB, free: 2.152 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.986e-06/0.6909, allocations: 0 / 0.585 GB, free: 2.152 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.6909, allocations: 4 kB / 0.585 GB, free: 2.148 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.6909, allocations: 4.656 kB / 0.585 GB, free: 2.145 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003207/0.6912, allocations: 43.62 kB / 0.5851 GB, free: 2.141 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004173/0.6917, allocations: 251.1 kB / 0.5853 GB, free: 1.863 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002211/0.6919, allocations: 49.5 kB / 0.5854 GB, free: 1.828 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001122/0.692, allocations: 81.11 kB / 0.5854 GB, free: 1.734 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.6921, allocations: 31.83 kB / 0.5855 GB, free: 1.695 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.613e-06/0.6921, allocations: 0 / 0.5855 GB, free: 1.695 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0005958/0.6927, allocations: 99.66 kB / 0.5856 GB, free: 1.652 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/0.6928, allocations: 51.41 kB / 0.5856 GB, free: 1.59 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.37e-05/0.6929, allocations: 107.4 kB / 0.5857 GB, free: 1.484 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.6929, allocations: 29.83 kB / 0.5858 GB, free: 1.449 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.116e-05/0.6929, allocations: 81.92 kB / 0.5858 GB, free: 1.367 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.512e-05/0.693, allocations: 9.891 kB / 0.5858 GB, free: 1.359 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.039e-06/0.693, allocations: 0 / 0.5858 GB, free: 1.359 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.01e-05/0.6931, allocations: 313.3 kB / 0.5861 GB, free: 1.047 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.6932, allocations: 27.5 kB / 0.5862 GB, free: 1.039 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.6934, allocations: 22.91 kB / 0.5862 GB, free: 1.035 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001515/0.6935, allocations: 23.55 kB / 0.5862 GB, free: 1.031 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.816e-05/0.6936, allocations: 0 / 0.5862 GB, free: 1.031 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003645/0.694, allocations: 80.67 kB / 0.5863 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.825e-05/0.694, allocations: 7.719 kB / 0.5863 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.694, allocations: 0 / 0.5863 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.694, allocations: 0.9375 kB / 0.5863 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001464/0.6942, allocations: 11.62 kB / 0.5863 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.6942, allocations: 1.156 kB / 0.5863 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.591e-05/0.6943, allocations: 11.8 kB / 0.5863 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/0.6943, allocations: 5.25 kB / 0.5863 GB, free: 0.9805 MB / 430.1 MB 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.111e-05/0.6944, allocations: 112.3 kB / 0.5864 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.535e-05/0.6945, allocations: 5.906 kB / 0.5864 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003592/0.6948, allocations: 90.03 kB / 0.5865 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.6949, allocations: 0 / 0.5865 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.6949, allocations: 1.062 kB / 0.5865 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.6949, allocations: 0.6562 kB / 0.5865 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001905/0.6951, allocations: 164.3 kB / 0.5867 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.6951, allocations: 0.8438 kB / 0.5867 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.706e-05/0.6952, allocations: 10.78 kB / 0.5867 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.6952, allocations: 1.281 kB / 0.5867 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.6952, allocations: 4.75 kB / 0.5867 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.6953, allocations: 1.219 kB / 0.5867 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.6953, allocations: 4 kB / 0.5867 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003785/0.6957, allocations: 176.8 kB / 0.5869 GB, free: 468 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.946e-05/0.6957, allocations: 82.59 kB / 0.587 GB, free: 368 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.258e-05/0.6957, allocations: 5.344 kB / 0.587 GB, free: 364 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001481/0.6959, allocations: 8.516 kB / 0.587 GB, free: 364 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.91e-05/0.696, allocations: 2.688 kB / 0.587 GB, free: 364 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.099e-06/0.696, allocations: 0.7188 kB / 0.587 GB, free: 364 kB / 430.1 MB Notification: Performance of sorting global known variables: time 4.117e-05/0.696, allocations: 85.14 kB / 0.587 GB, free: 284 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6961, allocations: 32 / 0.587 GB, free: 284 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.000475/0.6965, allocations: 14.61 kB / 0.5871 GB, free: 280 kB / 430.1 MB 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008404/0.6974, allocations: 0.7201 MB / 0.5878 GB, free: 15.59 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003496/0.6978, allocations: 45.94 kB / 0.5878 GB, free: 15.59 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.6978, allocations: 0 / 0.5878 GB, free: 15.59 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001464/0.6979, allocations: 25.52 kB / 0.5878 GB, free: 15.59 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003254/0.6983, allocations: 5.375 kB / 0.5878 GB, free: 15.58 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006877/0.699, allocations: 146.3 kB / 0.588 GB, free: 15.42 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003929/0.6994, allocations: 0.6794 MB / 0.5886 GB, free: 14.73 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.176e-05/0.6995, allocations: 5.203 kB / 0.5886 GB, free: 14.72 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.506e-05/0.6995, allocations: 8.797 kB / 0.5887 GB, free: 14.71 MB / 446.1 MB Notification: Performance of SimCode: time 2.425e-06/0.6995, allocations: 0.5625 kB / 0.5887 GB, free: 14.71 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01897/0.7185, allocations: 1.159 MB / 0.5898 GB, free: 14.57 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003229/0.7189, allocations: 176.4 kB / 0.59 GB, free: 14.32 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.655/3.374, allocations: 0 / 0.59 GB, free: 14.32 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_SmoothExponential_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_SmoothExponential.fmu > IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) Environment - environmentSimulation: