Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.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.SmoothLimit,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothLimit",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.0008281/0.0008282, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.004922/0.004922, allocations: 169.7 kB / 16.27 MB, free: 6.359 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.375/1.375, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7245/0.7245, allocations: 132.3 MB / 423.8 MB, free: 1.977 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003676/0.0003676, allocations: 12 kB / 0.5041 GB, free: 3.797 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3803/0.3807, allocations: 81.57 MB / 0.5837 GB, free: 4.066 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.001302/0.382, allocations: 1.182 MB / 0.5849 GB, free: 3.203 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007482/0.3828, allocations: 0.566 MB / 0.5855 GB, free: 2.801 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.993e-05/0.3828, allocations: 0 / 0.5855 GB, free: 2.801 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.634e-05/0.3828, allocations: 0.6562 kB / 0.5855 GB, free: 2.801 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.771e-05/0.3829, allocations: 5 kB / 0.5855 GB, free: 2.797 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000203/0.3831, allocations: 39.67 kB / 0.5855 GB, free: 2.777 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.424e-05/0.3831, allocations: 25.66 kB / 0.5855 GB, free: 2.766 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.254e-05/0.3832, allocations: 8.469 kB / 0.5855 GB, free: 2.762 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.043e-05/0.3833, allocations: 14.41 kB / 0.5855 GB, free: 2.754 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.696e-05/0.3833, allocations: 14.83 kB / 0.5856 GB, free: 2.746 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.078e-05/0.3834, allocations: 1.469 kB / 0.5856 GB, free: 2.746 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001085/0.3835, allocations: 55.44 kB / 0.5856 GB, free: 2.727 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.204e-05/0.3835, allocations: 3.031 kB / 0.5856 GB, free: 2.727 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.601e-05/0.3835, allocations: 41.39 kB / 0.5857 GB, free: 2.684 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001259/0.3837, allocations: 62.19 kB / 0.5857 GB, free: 2.66 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3837, allocations: 1.969 kB / 0.5857 GB, free: 2.66 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3837, allocations: 0 / 0.5857 GB, free: 2.66 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.366e-06/0.3837, allocations: 0 / 0.5857 GB, free: 2.66 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.0003134/0.384, allocations: 352.1 kB / 0.5861 GB, free: 2.289 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.384, allocations: 9.531 kB / 0.5861 GB, free: 2.289 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.317e-05/0.3841, allocations: 32.12 kB / 0.5861 GB, free: 2.25 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.046e-05/0.3841, allocations: 7.594 kB / 0.5861 GB, free: 2.246 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.598e-05/0.3842, allocations: 164.4 kB / 0.5863 GB, free: 2.051 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.374e-06/0.3842, allocations: 5.625 kB / 0.5863 GB, free: 2.047 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.089e-05/0.3842, allocations: 1.469 kB / 0.5863 GB, free: 2.047 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.3843, allocations: 48.05 kB / 0.5863 GB, free: 2.008 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.3843, allocations: 5.5 kB / 0.5863 GB, free: 2.004 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.083e-06/0.3843, allocations: 0 / 0.5863 GB, free: 2.004 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.3844, allocations: 0 / 0.5863 GB, free: 2.004 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.974e-05/0.3844, allocations: 28.33 kB / 0.5863 GB, free: 1.996 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002309/0.3847, allocations: 253.8 kB / 0.5866 GB, free: 1.719 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.94e-05/0.3848, allocations: 36.67 kB / 0.5866 GB, free: 1.688 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.639e-05/0.3848, allocations: 19.33 kB / 0.5866 GB, free: 1.676 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006982/0.3855, allocations: 0.4903 MB / 0.5871 GB, free: 1.199 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.58e-05/0.3856, allocations: 31.53 kB / 0.5871 GB, free: 1.16 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.3856, allocations: 4 kB / 0.5871 GB, free: 1.156 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002326/0.3858, allocations: 72.09 kB / 0.5872 GB, free: 1.113 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.934e-05/0.3858, allocations: 52.5 kB / 0.5873 GB, free: 1.051 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.199e-05/0.3859, allocations: 110.9 kB / 0.5874 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.083e-06/0.3859, allocations: 26.64 kB / 0.5874 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.344e-05/0.3859, allocations: 86.58 kB / 0.5875 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.407e-05/0.386, allocations: 9.219 kB / 0.5875 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.909e-05/0.386, allocations: 11.42 kB / 0.5875 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.868e-05/0.386, allocations: 321 kB / 0.5878 GB, free: 496 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.256e-05/0.3861, allocations: 9.5 kB / 0.5878 GB, free: 496 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.61e-05/0.3861, allocations: 17.61 kB / 0.5878 GB, free: 488 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.982e-05/0.3862, allocations: 37.42 kB / 0.5879 GB, free: 468 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3862, allocations: 0 / 0.5879 GB, free: 468 kB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001126/0.3863, allocations: 59.81 kB / 0.5879 GB, free: 428 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.3864, allocations: 10.91 kB / 0.5879 GB, free: 424 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.828e-06/0.3864, allocations: 0.7031 kB / 0.5879 GB, free: 424 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.3864, allocations: 0.9688 kB / 0.5879 GB, free: 424 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.557e-05/0.3865, allocations: 7.266 kB / 0.5879 GB, free: 424 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.3865, allocations: 4.031 kB / 0.5879 GB, free: 420 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.353e-05/0.3865, allocations: 11.98 kB / 0.588 GB, free: 412 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.3865, allocations: 0.7812 kB / 0.588 GB, free: 412 kB / 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.769e-05/0.3866, allocations: 118.2 kB / 0.5881 GB, free: 288 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.361e-05/0.3866, allocations: 2.141 kB / 0.5881 GB, free: 288 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001502/0.3868, allocations: 76.69 kB / 0.5881 GB, free: 232 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.3868, allocations: 1.203 kB / 0.5881 GB, free: 232 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3868, allocations: 0.9375 kB / 0.5881 GB, free: 232 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.3868, allocations: 0 / 0.5881 GB, free: 232 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001081/0.3869, allocations: 162 kB / 0.5883 GB, free: 32 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3869, allocations: 2.672 kB / 0.5883 GB, free: 32 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.178e-05/0.387, allocations: 6.203 kB / 0.5883 GB, free: 32 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.387, allocations: 0 / 0.5883 GB, free: 32 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.387, allocations: 0.5156 kB / 0.5883 GB, free: 32 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.387, allocations: 1.516 kB / 0.5883 GB, free: 32 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.387, allocations: 4.031 kB / 0.5883 GB, free: 28 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001887/0.3872, allocations: 163.3 kB / 0.5885 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.934e-05/0.3872, allocations: 78.78 kB / 0.5885 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.3872, allocations: 1.328 kB / 0.5886 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.126e-05/0.3873, allocations: 3.375 kB / 0.5886 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.861e-05/0.3874, allocations: 6.484 kB / 0.5886 GB, free: 15.78 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.3874, allocations: 1.516 kB / 0.5886 GB, free: 15.78 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.305e-05/0.3874, allocations: 87.89 kB / 0.5886 GB, free: 15.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3874, allocations: 0 / 0.5886 GB, free: 15.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002373/0.3877, allocations: 13.45 kB / 0.5887 GB, free: 15.7 MB / 446.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 (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.0004765/0.3881, allocations: 0.7034 MB / 0.5893 GB, free: 15.02 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001281/0.3883, allocations: 29.88 kB / 0.5894 GB, free: 15.02 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3883, allocations: 0.9062 kB / 0.5894 GB, free: 15.02 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.043e-05/0.3883, allocations: 16.58 kB / 0.5894 GB, free: 15.01 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002002/0.3886, allocations: 5.156 kB / 0.5894 GB, free: 15.01 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004059/0.389, allocations: 174.6 kB / 0.5896 GB, free: 14.84 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001978/0.3892, allocations: 0.6778 MB / 0.5902 GB, free: 14.15 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.284e-05/0.3892, allocations: 3.406 kB / 0.5902 GB, free: 14.15 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.893e-05/0.3892, allocations: 13.38 kB / 0.5902 GB, free: 14.14 MB / 446.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3893, allocations: 7.938 kB / 0.5902 GB, free: 14.13 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04967/0.4389, allocations: 1.368 MB / 0.5916 GB, free: 13.95 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000175/0.4391, allocations: 178.2 kB / 0.5918 GB, free: 13.7 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.686/2.125, allocations: 0 / 0.5918 GB, free: 13.7 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_SmoothLimit_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_SmoothLimit.fmu > IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)