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.00153/0.00153, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001775/0.001775, allocations: 194.6 kB / 16.53 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.388/1.388, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7346/0.7346, allocations: 132.2 MB / 422.6 MB, free: 1.801 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 69.11 kB / 0.5019 GB, free: 3.781 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.399/0.4004, allocations: 80.19 MB / 0.5802 GB, free: 4.586 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.00252/0.403, allocations: 1.452 MB / 0.5816 GB, free: 3.57 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009378/0.4039, allocations: 0.5775 MB / 0.5822 GB, free: 3.16 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.755e-05/0.404, allocations: 0 / 0.5822 GB, free: 3.16 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.751e-05/0.404, allocations: 4.547 kB / 0.5822 GB, free: 3.156 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.163e-05/0.4041, allocations: 6.172 kB / 0.5822 GB, free: 3.152 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002972/0.4044, allocations: 45.52 kB / 0.5822 GB, free: 3.133 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.083e-05/0.4045, allocations: 29.38 kB / 0.5822 GB, free: 3.117 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.4046, allocations: 8.438 kB / 0.5823 GB, free: 3.113 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.745e-05/0.4047, allocations: 16.83 kB / 0.5823 GB, free: 3.105 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.727e-05/0.4047, allocations: 14.19 kB / 0.5823 GB, free: 3.098 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.576e-05/0.4048, allocations: 2.062 kB / 0.5823 GB, free: 3.098 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001353/0.4049, allocations: 58.36 kB / 0.5823 GB, free: 3.078 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.491e-05/0.4049, allocations: 5.406 kB / 0.5823 GB, free: 3.074 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.776e-05/0.4049, allocations: 21.39 kB / 0.5824 GB, free: 3.059 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001601/0.4051, allocations: 61.27 kB / 0.5824 GB, free: 3.035 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.4051, allocations: 4 kB / 0.5824 GB, free: 3.031 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.4051, allocations: 0.8125 kB / 0.5824 GB, free: 3.031 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.4051, allocations: 0 / 0.5824 GB, free: 3.031 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.0004002/0.4055, allocations: 353.7 kB / 0.5828 GB, free: 2.66 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.4056, allocations: 10.52 kB / 0.5828 GB, free: 2.66 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.452e-05/0.4056, allocations: 31.72 kB / 0.5828 GB, free: 2.621 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.811e-05/0.4057, allocations: 3.219 kB / 0.5828 GB, free: 2.621 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.352e-05/0.4058, allocations: 168 kB / 0.583 GB, free: 2.422 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.985e-06/0.4058, allocations: 1.281 kB / 0.583 GB, free: 2.422 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.125e-05/0.4058, allocations: 5.531 kB / 0.583 GB, free: 2.418 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/0.4059, allocations: 52.2 kB / 0.583 GB, free: 2.375 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.4059, allocations: 0 / 0.583 GB, free: 2.375 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.406, allocations: 0 / 0.583 GB, free: 2.375 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.406, allocations: 0 / 0.583 GB, free: 2.375 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.353e-05/0.4061, allocations: 24.58 kB / 0.5831 GB, free: 2.367 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002765/0.4063, allocations: 254.7 kB / 0.5833 GB, free: 2.09 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.426e-05/0.4064, allocations: 34.41 kB / 0.5833 GB, free: 2.059 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.654e-05/0.4065, allocations: 13.16 kB / 0.5833 GB, free: 2.051 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00072/0.4072, allocations: 475.1 kB / 0.5838 GB, free: 1.578 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.39e-05/0.4072, allocations: 35.91 kB / 0.5838 GB, free: 1.535 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.4072, allocations: 3.938 kB / 0.5838 GB, free: 1.531 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002127/0.4075, allocations: 62 kB / 0.5839 GB, free: 1.492 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.037e-05/0.4075, allocations: 52.89 kB / 0.5839 GB, free: 1.43 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.024e-05/0.4076, allocations: 107.8 kB / 0.584 GB, free: 1.328 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.003e-06/0.4076, allocations: 25.7 kB / 0.5841 GB, free: 1.297 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.689e-05/0.4076, allocations: 99.08 kB / 0.5842 GB, free: 1.199 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.448e-05/0.4076, allocations: 1.375 kB / 0.5842 GB, free: 1.199 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.723e-05/0.4076, allocations: 13.39 kB / 0.5842 GB, free: 1.184 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.891e-05/0.4077, allocations: 321.7 kB / 0.5845 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.165e-05/0.4077, allocations: 11.16 kB / 0.5845 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.495e-05/0.4078, allocations: 12.66 kB / 0.5845 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.374e-05/0.4079, allocations: 33.05 kB / 0.5845 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.4079, allocations: 0 / 0.5845 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001067/0.408, allocations: 55.52 kB / 0.5846 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.408, allocations: 5.594 kB / 0.5846 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.408, allocations: 4.516 kB / 0.5846 GB, free: 0.793 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.408, allocations: 1 kB / 0.5846 GB, free: 0.793 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.256e-05/0.4081, allocations: 6.531 kB / 0.5846 GB, free: 0.793 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.4081, allocations: 0 / 0.5846 GB, free: 0.793 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.363e-05/0.4082, allocations: 6.562 kB / 0.5846 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.4082, allocations: 6.203 kB / 0.5846 GB, free: 0.7852 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.049e-05/0.4082, allocations: 117.9 kB / 0.5847 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.385e-05/0.4083, allocations: 1.406 kB / 0.5847 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000165/0.4084, allocations: 65.36 kB / 0.5848 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.4085, allocations: 0.75 kB / 0.5848 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.4085, allocations: 0 / 0.5848 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.4085, allocations: 1.906 kB / 0.5848 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000127/0.4086, allocations: 161.3 kB / 0.585 GB, free: 432 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.4086, allocations: 5.25 kB / 0.585 GB, free: 428 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.357e-05/0.4087, allocations: 6.859 kB / 0.585 GB, free: 428 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.4087, allocations: 0 / 0.585 GB, free: 428 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.4087, allocations: 0.6562 kB / 0.585 GB, free: 428 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.4087, allocations: 1.344 kB / 0.585 GB, free: 428 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.4087, allocations: 0.7031 kB / 0.585 GB, free: 428 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001434/0.4088, allocations: 158.1 kB / 0.5851 GB, free: 276 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.109e-05/0.4089, allocations: 83.92 kB / 0.5852 GB, free: 176 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.4089, allocations: 0.5625 kB / 0.5852 GB, free: 176 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.922e-05/0.409, allocations: 2.516 kB / 0.5852 GB, free: 176 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.503e-05/0.409, allocations: 3.25 kB / 0.5852 GB, free: 176 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.409, allocations: 0 / 0.5852 GB, free: 176 kB / 430.1 MB Notification: Performance of sorting global known variables: time 3.606e-05/0.409, allocations: 92.22 kB / 0.5853 GB, free: 92 kB / 430.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4091, allocations: 0 / 0.5853 GB, free: 92 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002349/0.4093, allocations: 13.61 kB / 0.5853 GB, free: 92 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 (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.0005901/0.4099, allocations: 0.7035 MB / 0.586 GB, free: 15.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001517/0.41, allocations: 26.52 kB / 0.586 GB, free: 15.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.4101, allocations: 5.219 kB / 0.586 GB, free: 15.39 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.963e-05/0.4101, allocations: 17.67 kB / 0.586 GB, free: 15.39 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002052/0.4103, allocations: 1.406 kB / 0.586 GB, free: 15.39 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004414/0.4108, allocations: 155.7 kB / 0.5862 GB, free: 15.23 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002566/0.411, allocations: 0.6786 MB / 0.5869 GB, free: 14.54 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.345e-05/0.4111, allocations: 5.594 kB / 0.5869 GB, free: 14.53 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.126e-05/0.4111, allocations: 13.62 kB / 0.5869 GB, free: 14.52 MB / 446.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4111, allocations: 0 / 0.5869 GB, free: 14.52 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02896/0.4401, allocations: 1.572 MB / 0.5884 GB, free: 14.14 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.513/7.954, allocations: 11.47 kB / 0.5884 GB, free: 14.13 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)