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.001081/0.001085, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001291/0.001291, allocations: 193.3 kB / 16.14 MB, free: 6.66 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.289/1.289, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7039/0.7039, allocations: 132.2 MB / 422.1 MB, free: 2.035 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001105/0.001105, allocations: 59.31 kB / 0.5012 GB, free: 4.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.3147, allocations: 80.2 MB / 0.5795 GB, free: 4.551 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.001904/0.3166, allocations: 1.515 MB / 0.581 GB, free: 3.5 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.000652/0.3173, allocations: 0.5716 MB / 0.5815 GB, free: 3.098 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.018e-05/0.3173, allocations: 4.906 kB / 0.5815 GB, free: 3.094 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.405e-05/0.3174, allocations: 0 / 0.5815 GB, free: 3.094 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.653e-05/0.3174, allocations: 5.344 kB / 0.5815 GB, free: 3.09 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001829/0.3176, allocations: 39.09 kB / 0.5816 GB, free: 3.07 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.745e-05/0.3177, allocations: 25.16 kB / 0.5816 GB, free: 3.059 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.758e-05/0.3177, allocations: 12.61 kB / 0.5816 GB, free: 3.051 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.635e-05/0.3178, allocations: 11.3 kB / 0.5816 GB, free: 3.047 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.888e-05/0.3178, allocations: 15.09 kB / 0.5816 GB, free: 3.039 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.868e-06/0.3179, allocations: 0.875 kB / 0.5816 GB, free: 3.039 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.318, allocations: 52.98 kB / 0.5817 GB, free: 3.023 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.129e-05/0.318, allocations: 6.344 kB / 0.5817 GB, free: 3.02 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.112e-05/0.318, allocations: 20.06 kB / 0.5817 GB, free: 3.004 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001103/0.3181, allocations: 63.06 kB / 0.5818 GB, free: 2.98 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.3181, allocations: 0 / 0.5818 GB, free: 2.98 MB / 430.1 MB Notification: Performance of FrontEnd: time 6.22e-07/0.3181, allocations: 0 / 0.5818 GB, free: 2.98 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.936e-06/0.3181, allocations: 0 / 0.5818 GB, free: 2.98 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.0002702/0.3184, allocations: 354 kB / 0.5821 GB, free: 2.609 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.072e-05/0.3185, allocations: 9.719 kB / 0.5821 GB, free: 2.609 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.058e-05/0.3185, allocations: 36.59 kB / 0.5822 GB, free: 2.566 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.117e-05/0.3185, allocations: 2.312 kB / 0.5822 GB, free: 2.566 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.731e-05/0.3186, allocations: 172.1 kB / 0.5823 GB, free: 2.363 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.576e-06/0.3186, allocations: 1.938 kB / 0.5823 GB, free: 2.363 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.01e-05/0.3186, allocations: 5.25 kB / 0.5823 GB, free: 2.359 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.3187, allocations: 47.77 kB / 0.5824 GB, free: 2.32 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.001e-06/0.3187, allocations: 0 / 0.5824 GB, free: 2.32 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.752e-06/0.3187, allocations: 0 / 0.5824 GB, free: 2.32 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.3187, allocations: 0.9688 kB / 0.5824 GB, free: 2.32 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.583e-05/0.3188, allocations: 19.92 kB / 0.5824 GB, free: 2.316 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000207/0.319, allocations: 258.1 kB / 0.5827 GB, free: 2.035 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.12e-05/0.3191, allocations: 34.33 kB / 0.5827 GB, free: 2.004 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.089e-05/0.3192, allocations: 17.69 kB / 0.5827 GB, free: 1.992 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006427/0.3198, allocations: 475.5 kB / 0.5832 GB, free: 1.52 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.383e-05/0.3198, allocations: 31.44 kB / 0.5832 GB, free: 1.48 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.3198, allocations: 0 / 0.5832 GB, free: 1.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001982/0.32, allocations: 63.62 kB / 0.5832 GB, free: 1.441 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.432e-05/0.3201, allocations: 51.41 kB / 0.5833 GB, free: 1.379 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.104e-05/0.3201, allocations: 111.6 kB / 0.5834 GB, free: 1.273 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.633e-06/0.3201, allocations: 30.5 kB / 0.5834 GB, free: 1.238 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.176e-05/0.3202, allocations: 94.25 kB / 0.5835 GB, free: 1.145 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.225e-05/0.3202, allocations: 1.688 kB / 0.5835 GB, free: 1.145 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.546e-05/0.3202, allocations: 17.2 kB / 0.5835 GB, free: 1.125 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.201e-05/0.3202, allocations: 321.8 kB / 0.5838 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.808e-05/0.3203, allocations: 7.781 kB / 0.5839 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.17e-05/0.3203, allocations: 12.52 kB / 0.5839 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.602e-05/0.3204, allocations: 27.83 kB / 0.5839 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.3204, allocations: 1 kB / 0.5839 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.909e-05/0.3205, allocations: 55.05 kB / 0.5839 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.3205, allocations: 6.484 kB / 0.5839 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.3205, allocations: 0 / 0.5839 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.759e-06/0.3205, allocations: 0 / 0.5839 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.939e-05/0.3206, allocations: 11.73 kB / 0.584 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.137e-06/0.3206, allocations: 0 / 0.584 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.067e-05/0.3206, allocations: 11.33 kB / 0.584 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.3207, allocations: 0 / 0.584 GB, free: 0.7344 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 3.751e-05/0.3207, allocations: 118.7 kB / 0.5841 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.304e-05/0.3207, allocations: 1.984 kB / 0.5841 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001306/0.3209, allocations: 60.81 kB / 0.5841 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-06/0.3209, allocations: 0.9375 kB / 0.5841 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.3209, allocations: 0.9688 kB / 0.5841 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.3209, allocations: 4.641 kB / 0.5842 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.962e-05/0.321, allocations: 169.8 kB / 0.5843 GB, free: 372 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.321, allocations: 1.125 kB / 0.5843 GB, free: 372 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.114e-05/0.321, allocations: 5.703 kB / 0.5843 GB, free: 372 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.321, allocations: 5.719 kB / 0.5843 GB, free: 368 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.523e-06/0.3211, allocations: 4.656 kB / 0.5843 GB, free: 364 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3211, allocations: 0 / 0.5843 GB, free: 364 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3211, allocations: 1.156 kB / 0.5843 GB, free: 364 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001116/0.3212, allocations: 159.6 kB / 0.5845 GB, free: 212 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.286e-05/0.3212, allocations: 78.8 kB / 0.5846 GB, free: 116 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.184e-05/0.3212, allocations: 1.219 kB / 0.5846 GB, free: 116 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.521e-05/0.3213, allocations: 2.062 kB / 0.5846 GB, free: 116 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.552e-05/0.3213, allocations: 3.406 kB / 0.5846 GB, free: 116 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.3213, allocations: 0 / 0.5846 GB, free: 116 kB / 430.1 MB Notification: Performance of sorting global known variables: time 2.489e-05/0.3213, allocations: 93.09 kB / 0.5847 GB, free: 32 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3213, allocations: 0 / 0.5847 GB, free: 32 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.000212/0.3216, allocations: 17.22 kB / 0.5847 GB, free: 28 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.0003948/0.322, allocations: 0.7029 MB / 0.5854 GB, free: 15.34 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001054/0.3221, allocations: 23.33 kB / 0.5854 GB, free: 15.34 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.3221, allocations: 8.031 kB / 0.5854 GB, free: 15.33 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.224e-05/0.3221, allocations: 14.44 kB / 0.5854 GB, free: 15.33 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001855/0.3223, allocations: 4.547 kB / 0.5854 GB, free: 15.33 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003572/0.3227, allocations: 166.4 kB / 0.5856 GB, free: 15.16 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001645/0.3229, allocations: 0.6783 MB / 0.5862 GB, free: 14.46 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.04e-05/0.3229, allocations: 6 kB / 0.5862 GB, free: 14.46 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.555e-05/0.3229, allocations: 9.953 kB / 0.5862 GB, free: 14.45 MB / 446.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3229, allocations: 1.406 kB / 0.5862 GB, free: 14.45 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6155/0.9384, allocations: 1.429 MB / 0.5876 GB, free: 14.2 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002377/0.9387, allocations: 179.3 kB / 0.5878 GB, free: 13.95 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.42/3.359, allocations: 7.875 kB / 0.5878 GB, free: 13.94 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)