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.001104/0.001104, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0009749/0.0009749, allocations: 191.4 kB / 16.14 MB, free: 6.707 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.221/1.221, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6824/0.6824, allocations: 132.2 MB / 422.1 MB, free: 2.012 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 69.19 kB / 0.5012 GB, free: 4.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3252/0.3267, allocations: 80.19 MB / 0.5795 GB, free: 4.555 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.002/0.3287, allocations: 1.519 MB / 0.581 GB, free: 3.496 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002927/0.329, allocations: 145.7 kB / 0.5811 GB, free: 3.398 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.344e-05/0.3291, allocations: 0.7812 kB / 0.5811 GB, free: 3.398 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.513e-05/0.3291, allocations: 4.703 kB / 0.5811 GB, free: 3.395 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.103e-05/0.3292, allocations: 5.406 kB / 0.5811 GB, free: 3.391 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001421/0.3293, allocations: 25.02 kB / 0.5812 GB, free: 3.379 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.448e-05/0.3294, allocations: 32.7 kB / 0.5812 GB, free: 3.367 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.541e-05/0.3295, allocations: 26.28 kB / 0.5812 GB, free: 3.355 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.031e-05/0.3295, allocations: 14.61 kB / 0.5812 GB, free: 3.348 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.357e-05/0.3296, allocations: 30.44 kB / 0.5813 GB, free: 3.328 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.206e-05/0.3296, allocations: 2 kB / 0.5813 GB, free: 3.328 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.239e-05/0.3297, allocations: 27.38 kB / 0.5813 GB, free: 3.324 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.328e-05/0.3297, allocations: 8.422 kB / 0.5813 GB, free: 3.32 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.267e-05/0.3297, allocations: 17.31 kB / 0.5813 GB, free: 3.309 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001024/0.3298, allocations: 61.48 kB / 0.5814 GB, free: 3.285 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.3298, allocations: 0 / 0.5814 GB, free: 3.285 MB / 430.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.3298, allocations: 4 kB / 0.5814 GB, free: 3.281 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.086e-06/0.3298, allocations: 0.9688 kB / 0.5814 GB, free: 3.281 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.0002945/0.3301, allocations: 367.7 kB / 0.5817 GB, free: 2.902 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.099e-05/0.3302, allocations: 10.22 kB / 0.5817 GB, free: 2.902 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.155e-05/0.3302, allocations: 36.25 kB / 0.5818 GB, free: 2.859 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009268/0.3311, allocations: 217.8 kB / 0.582 GB, free: 2.848 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.416e-05/0.3312, allocations: 168 kB / 0.5821 GB, free: 2.648 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.177e-06/0.3312, allocations: 1.75 kB / 0.5821 GB, free: 2.648 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.715e-05/0.3312, allocations: 7.125 kB / 0.5821 GB, free: 2.645 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004834/0.3317, allocations: 191.4 kB / 0.5823 GB, free: 2.59 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.3317, allocations: 5.312 kB / 0.5823 GB, free: 2.586 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.3318, allocations: 8.609 kB / 0.5823 GB, free: 2.578 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.3318, allocations: 1.375 kB / 0.5823 GB, free: 2.578 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007302/0.3325, allocations: 276.7 kB / 0.5826 GB, free: 2.543 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007142/0.3332, allocations: 448.2 kB / 0.583 GB, free: 2.211 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009377/0.3342, allocations: 285.5 kB / 0.5833 GB, free: 2.148 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003082/0.3345, allocations: 102 kB / 0.5834 GB, free: 2.125 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/0.3345, allocations: 0 / 0.5834 GB, free: 2.125 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.176e-05/0.3345, allocations: 40.8 kB / 0.5834 GB, free: 2.078 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 8.51e-07/0.3345, allocations: 0 / 0.5834 GB, free: 2.078 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0009894/0.3355, allocations: 307 kB / 0.5837 GB, free: 2.004 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.705e-05/0.3356, allocations: 52.02 kB / 0.5838 GB, free: 1.941 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.531e-05/0.3356, allocations: 118.8 kB / 0.5839 GB, free: 1.836 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.3356, allocations: 25.7 kB / 0.5839 GB, free: 1.805 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.661e-05/0.3357, allocations: 96.58 kB / 0.584 GB, free: 1.711 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.3357, allocations: 10.94 kB / 0.584 GB, free: 1.703 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.16e-05/0.3357, allocations: 15.34 kB / 0.584 GB, free: 1.688 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.438e-05/0.3358, allocations: 327.1 kB / 0.5843 GB, free: 1.363 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003186/0.3361, allocations: 91.39 kB / 0.5844 GB, free: 1.352 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002996/0.3364, allocations: 104.8 kB / 0.5845 GB, free: 1.328 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000564/0.337, allocations: 172.6 kB / 0.5847 GB, free: 1.293 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.337, allocations: 0 / 0.5847 GB, free: 1.293 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006543/0.3376, allocations: 219.8 kB / 0.5849 GB, free: 1.227 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.3377, allocations: 6.297 kB / 0.5849 GB, free: 1.227 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.3377, allocations: 0 / 0.5849 GB, free: 1.227 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.388e-06/0.3377, allocations: 0 / 0.5849 GB, free: 1.227 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002238/0.3379, allocations: 33.25 kB / 0.5849 GB, free: 1.227 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.3379, allocations: 1.219 kB / 0.5849 GB, free: 1.227 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001712/0.3381, allocations: 32.2 kB / 0.585 GB, free: 1.223 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.3381, allocations: 0.7031 kB / 0.585 GB, free: 1.223 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.391e-05/0.3382, allocations: 129.6 kB / 0.5851 GB, free: 1.094 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.033e-05/0.3382, allocations: 3.719 kB / 0.5851 GB, free: 1.094 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.417e-05/0.3383, allocations: 11.3 kB / 0.5851 GB, free: 1.082 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.3383, allocations: 1.094 kB / 0.5851 GB, free: 1.082 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.3383, allocations: 0 / 0.5851 GB, free: 1.082 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.3383, allocations: 0.7031 kB / 0.5851 GB, free: 1.082 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001595/0.3384, allocations: 220.3 kB / 0.5853 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.3384, allocations: 0.8438 kB / 0.5853 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002081/0.3387, allocations: 33.2 kB / 0.5854 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.3387, allocations: 0 / 0.5854 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.3387, allocations: 2.391 kB / 0.5854 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3387, allocations: 0.7188 kB / 0.5854 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3387, allocations: 4 kB / 0.5854 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006578/0.3394, allocations: 311.7 kB / 0.5857 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.553e-05/0.3394, allocations: 83.83 kB / 0.5857 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/0.3394, allocations: 2.141 kB / 0.5857 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002169/0.3396, allocations: 34.02 kB / 0.5858 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.631e-05/0.3397, allocations: 7.484 kB / 0.5858 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.3397, allocations: 2 kB / 0.5858 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.496e-05/0.3397, allocations: 93.09 kB / 0.5859 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3397, allocations: 0 / 0.5859 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002178/0.3399, allocations: 16.34 kB / 0.5859 GB, free: 0.5039 MB / 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 (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.0008174/0.3408, allocations: 0.8307 MB / 0.5867 GB, free: 15.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006751/0.3415, allocations: 205 kB / 0.5869 GB, free: 15.78 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3415, allocations: 0 / 0.5869 GB, free: 15.78 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003343/0.3418, allocations: 100.3 kB / 0.587 GB, free: 15.76 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002164/0.342, allocations: 7.234 kB / 0.587 GB, free: 15.76 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003046/0.3451, allocations: 1.85 MB / 0.5888 GB, free: 14.45 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001909/0.3453, allocations: 0.6947 MB / 0.5895 GB, free: 13.75 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.597e-05/0.3454, allocations: 24.64 kB / 0.5895 GB, free: 13.74 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.148e-05/0.3454, allocations: 21.06 kB / 0.5895 GB, free: 13.73 MB / 446.1 MB Notification: Performance of SimCode: time 1.91e-07/0.3454, allocations: 0 / 0.5895 GB, free: 13.73 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.275/1.621, allocations: 1.72 MB / 0.5912 GB, free: 13.39 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002001/1.621, allocations: 172.9 kB / 0.5914 GB, free: 13.14 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.808/3.429, allocations: 3.984 kB / 0.5914 GB, free: 13.14 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/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)