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.001931/0.001931, allocations: 102.5 kB / 15.06 MB, free: 1.098 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.002491/0.00249, allocations: 173.3 kB / 15.95 MB, free: 212 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.251/2.251, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.292/1.292, allocations: 132.3 MB / 423.2 MB, free: 2.203 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006017/0.0006019, allocations: 8 kB / 0.5033 GB, free: 4.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8099/0.8106, allocations: 81.57 MB / 0.583 GB, free: 4.02 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.002369/0.813, allocations: 1.168 MB / 0.5841 GB, free: 3.168 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.000474/0.8135, allocations: 142.8 kB / 0.5842 GB, free: 3.07 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.732e-05/0.8136, allocations: 0 / 0.5842 GB, free: 3.07 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 4.885e-05/0.8136, allocations: 2.266 kB / 0.5842 GB, free: 3.07 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.595e-05/0.8137, allocations: 5.953 kB / 0.5842 GB, free: 3.066 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002727/0.814, allocations: 29.17 kB / 0.5843 GB, free: 3.051 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001169/0.8141, allocations: 15.33 kB / 0.5843 GB, free: 3.047 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001694/0.8143, allocations: 22.02 kB / 0.5843 GB, free: 3.039 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.555e-05/0.8144, allocations: 15.58 kB / 0.5843 GB, free: 3.031 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.338e-05/0.8144, allocations: 16.53 kB / 0.5843 GB, free: 3.023 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.648e-05/0.8145, allocations: 1 kB / 0.5843 GB, free: 3.023 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001229/0.8146, allocations: 25.58 kB / 0.5844 GB, free: 3.02 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.565e-05/0.8146, allocations: 6.594 kB / 0.5844 GB, free: 3.016 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.308e-05/0.8146, allocations: 36.11 kB / 0.5844 GB, free: 2.977 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001633/0.8148, allocations: 47.47 kB / 0.5845 GB, free: 2.961 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.8148, allocations: 0 / 0.5845 GB, free: 2.961 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.524e-06/0.8148, allocations: 0.75 kB / 0.5845 GB, free: 2.961 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.633e-06/0.8149, allocations: 0 / 0.5845 GB, free: 2.961 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005943/0.8155, allocations: 358.5 kB / 0.5848 GB, free: 2.598 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.485e-05/0.8155, allocations: 12.78 kB / 0.5848 GB, free: 2.594 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.791e-05/0.8156, allocations: 32.52 kB / 0.5848 GB, free: 2.555 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001831/0.8174, allocations: 244.3 kB / 0.5851 GB, free: 2.543 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001531/0.8176, allocations: 166.3 kB / 0.5852 GB, free: 2.344 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.8176, allocations: 2.281 kB / 0.5852 GB, free: 2.344 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.135e-05/0.8177, allocations: 6.781 kB / 0.5852 GB, free: 2.34 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009759/0.8187, allocations: 211.1 kB / 0.5854 GB, free: 2.281 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.8187, allocations: 0.75 kB / 0.5854 GB, free: 2.281 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.714e-05/0.8187, allocations: 8.688 kB / 0.5855 GB, free: 2.273 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/0.8188, allocations: 0.875 kB / 0.5855 GB, free: 2.273 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001496/0.8203, allocations: 315.2 kB / 0.5858 GB, free: 2.234 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001559/0.8218, allocations: 466 kB / 0.5862 GB, free: 1.902 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001992/0.8238, allocations: 342.9 kB / 0.5865 GB, free: 1.828 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.854e-05/0.8239, allocations: 0.9688 kB / 0.5865 GB, free: 1.828 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.454e-05/0.824, allocations: 36.55 kB / 0.5866 GB, free: 1.785 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 2.515e-06/0.824, allocations: 0 / 0.5866 GB, free: 1.785 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.002109/0.8261, allocations: 368.9 kB / 0.5869 GB, free: 1.699 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.002e-05/0.8262, allocations: 55.95 kB / 0.587 GB, free: 1.633 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001685/0.8264, allocations: 123.2 kB / 0.5871 GB, free: 1.52 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/0.8264, allocations: 25.7 kB / 0.5871 GB, free: 1.488 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.922e-05/0.8265, allocations: 92.44 kB / 0.5872 GB, free: 1.398 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.451e-05/0.8265, allocations: 5.828 kB / 0.5872 GB, free: 1.395 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.297e-05/0.8265, allocations: 4 kB / 0.5872 GB, free: 1.391 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.568e-05/0.8266, allocations: 322.6 kB / 0.5875 GB, free: 1.07 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000614/0.8272, allocations: 112.2 kB / 0.5876 GB, free: 1.055 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005818/0.8278, allocations: 113.9 kB / 0.5877 GB, free: 1.039 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005738/0.8284, allocations: 98.47 kB / 0.5878 GB, free: 1.027 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.8285, allocations: 4.812 kB / 0.5878 GB, free: 1.023 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.001259/0.8297, allocations: 253 kB / 0.5881 GB, free: 0.957 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.896e-05/0.8298, allocations: 6.938 kB / 0.5881 GB, free: 0.957 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.736e-05/0.8298, allocations: 6.375 kB / 0.5881 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.117e-05/0.8298, allocations: 7.938 kB / 0.5881 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004109/0.8302, allocations: 41.55 kB / 0.5881 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.8303, allocations: 0 / 0.5881 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003109/0.8306, allocations: 39.55 kB / 0.5882 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.08e-05/0.8306, allocations: 6.141 kB / 0.5882 GB, free: 0.9375 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 (3): * Single equations (assignments): 3 * 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 0.0001188/0.8307, allocations: 117 kB / 0.5883 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.154e-05/0.8308, allocations: 6.188 kB / 0.5883 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.591e-05/0.8309, allocations: 11.31 kB / 0.5883 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.8309, allocations: 5.562 kB / 0.5883 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.8309, allocations: 0 / 0.5883 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.8309, allocations: 4.703 kB / 0.5883 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003845/0.8313, allocations: 213.6 kB / 0.5885 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.8313, allocations: 0 / 0.5885 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003485/0.8317, allocations: 41.22 kB / 0.5886 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.157e-06/0.8317, allocations: 1.094 kB / 0.5886 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.967e-05/0.8317, allocations: 2.219 kB / 0.5886 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.8317, allocations: 3.953 kB / 0.5886 GB, free: 0.582 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.8318, allocations: 4.797 kB / 0.5886 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001322/0.8331, allocations: 345.2 kB / 0.5889 GB, free: 424 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.082e-05/0.8331, allocations: 87.8 kB / 0.589 GB, free: 320 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.993e-05/0.8332, allocations: 0 / 0.589 GB, free: 320 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003566/0.8336, allocations: 35.92 kB / 0.589 GB, free: 320 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.415e-05/0.8336, allocations: 11.09 kB / 0.589 GB, free: 312 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/0.8336, allocations: 3.016 kB / 0.589 GB, free: 312 kB / 430.1 MB Notification: Performance of sorting global known variables: time 6.238e-05/0.8337, allocations: 99.91 kB / 0.5891 GB, free: 224 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.663e-06/0.8337, allocations: 0 / 0.5891 GB, free: 224 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004377/0.8342, allocations: 16.38 kB / 0.5891 GB, free: 220 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 (3): * Single equations (assignments): 3 * 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.001716/0.8359, allocations: 0.8788 MB / 0.59 GB, free: 15.51 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001291/0.8372, allocations: 234.8 kB / 0.5902 GB, free: 15.47 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.8372, allocations: 0 / 0.5902 GB, free: 15.47 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006264/0.8379, allocations: 120.9 kB / 0.5903 GB, free: 15.45 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002793/0.8382, allocations: 9.734 kB / 0.5903 GB, free: 15.45 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003935/0.8421, allocations: 0.8994 MB / 0.5912 GB, free: 15.02 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004748/0.8426, allocations: 0.6896 MB / 0.5919 GB, free: 14.33 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001565/0.8428, allocations: 20.81 kB / 0.5919 GB, free: 14.32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.8429, allocations: 16.44 kB / 0.5919 GB, free: 14.31 MB / 446.1 MB Notification: Performance of SimCode: time 1.192e-06/0.8429, allocations: 0 / 0.5919 GB, free: 14.31 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01837/0.8613, allocations: 1.619 MB / 0.5935 GB, free: 14.09 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002954/0.8616, allocations: 169.9 kB / 0.5937 GB, free: 13.85 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.87/3.732, allocations: 0 / 0.5937 GB, free: 13.85 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_SmoothMin.fmu > IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.pipe 2>&1) Environment - environmentSimulation: