Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothMin,fileNamePrefix="IDEAS_dev_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.001475/0.001475, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001834/0.001835, allocations: 177.3 kB / 15.94 MB, free: 228 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.078/2.078, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9501/0.9501, allocations: 135.2 MB / 426.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003451/0.0003456, allocations: 12.66 kB / 0.5069 GB, free: 5.125 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2281/0.2285, allocations: 82.31 MB / 0.5873 GB, free: 2.992 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.00273/0.2312, allocations: 1.167 MB / 0.5884 GB, free: 1.812 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005673/0.2319, allocations: 136.5 kB / 0.5885 GB, free: 1.676 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.067e-05/0.2319, allocations: 4 kB / 0.5886 GB, free: 1.672 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.484e-05/0.232, allocations: 0 / 0.5886 GB, free: 1.672 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.244e-05/0.2321, allocations: 11.91 kB / 0.5886 GB, free: 1.66 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002753/0.2324, allocations: 23.98 kB / 0.5886 GB, free: 1.637 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001258/0.2326, allocations: 23.97 kB / 0.5886 GB, free: 1.613 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001599/0.2327, allocations: 11.98 kB / 0.5886 GB, free: 1.602 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.931e-05/0.2328, allocations: 11.94 kB / 0.5886 GB, free: 1.59 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.466e-05/0.2329, allocations: 19.91 kB / 0.5886 GB, free: 1.57 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.141e-05/0.2329, allocations: 8 kB / 0.5887 GB, free: 1.562 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001274/0.2331, allocations: 23.97 kB / 0.5887 GB, free: 1.539 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.644e-05/0.2331, allocations: 7.875 kB / 0.5887 GB, free: 1.531 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.318e-05/0.2332, allocations: 33.7 kB / 0.5887 GB, free: 1.492 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001562/0.2333, allocations: 39.88 kB / 0.5888 GB, free: 1.453 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.2334, allocations: 0 / 0.5888 GB, free: 1.453 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.2334, allocations: 0 / 0.5888 GB, free: 1.453 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.79e-06/0.2334, allocations: 0 / 0.5888 GB, free: 1.453 MB / 494.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.0006702/0.2341, allocations: 363.5 kB / 0.5891 GB, free: 1.051 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/0.2341, allocations: 12.03 kB / 0.5891 GB, free: 1.039 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.06e-05/0.2342, allocations: 34.56 kB / 0.5891 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00226/0.2365, allocations: 243.5 kB / 0.5894 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001765/0.2367, allocations: 175 kB / 0.5895 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.2367, allocations: 15.94 kB / 0.5896 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.015e-05/0.2368, allocations: 0 / 0.5896 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001146/0.2379, allocations: 213.4 kB / 0.5898 GB, free: 324 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.238, allocations: 0 / 0.5898 GB, free: 324 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.848e-05/0.238, allocations: 4 kB / 0.5898 GB, free: 320 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.238, allocations: 0 / 0.5898 GB, free: 320 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001894/0.2399, allocations: 315.6 kB / 0.5901 GB, free: 4 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001692/0.2417, allocations: 457.3 kB / 0.5905 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002304/0.244, allocations: 338.2 kB / 0.5908 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.208e-05/0.2441, allocations: 0 / 0.5908 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.657e-05/0.2441, allocations: 34.56 kB / 0.5909 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 2.455e-06/0.2441, allocations: 4 kB / 0.5909 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.002478/0.2466, allocations: 369.3 kB / 0.5912 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.511e-05/0.2467, allocations: 55.41 kB / 0.5913 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001654/0.2469, allocations: 118 kB / 0.5914 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.77e-05/0.247, allocations: 29.7 kB / 0.5914 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.942e-05/0.2471, allocations: 92.14 kB / 0.5915 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.369e-05/0.2471, allocations: 11.91 kB / 0.5915 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.77e-05/0.2472, allocations: 0 / 0.5915 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001841/0.2474, allocations: 326.8 kB / 0.5918 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007989/0.2482, allocations: 111.9 kB / 0.5919 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007744/0.249, allocations: 116.2 kB / 0.592 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007277/0.2497, allocations: 95.89 kB / 0.5921 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.2497, allocations: 0 / 0.5921 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.001693/0.2514, allocations: 257.3 kB / 0.5924 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/0.2515, allocations: 11.94 kB / 0.5924 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.2515, allocations: 4 kB / 0.5924 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.251e-05/0.2516, allocations: 3.953 kB / 0.5924 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005173/0.2521, allocations: 43.94 kB / 0.5924 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.2521, allocations: 0 / 0.5924 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003685/0.2525, allocations: 39.95 kB / 0.5925 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.073e-05/0.2525, allocations: 336 / 0.5925 GB, free: 13.41 MB / 0.4981 GB 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.0001591/0.2527, allocations: 117.8 kB / 0.5926 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.501e-05/0.2528, allocations: 7.906 kB / 0.5926 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.381e-05/0.2529, allocations: 7.906 kB / 0.5926 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/0.2529, allocations: 7.984 kB / 0.5926 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.2529, allocations: 7.953 kB / 0.5926 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.2529, allocations: 0 / 0.5926 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004316/0.2534, allocations: 205.6 kB / 0.5928 GB, free: 13 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.2534, allocations: 0 / 0.5928 GB, free: 13 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004745/0.2539, allocations: 39.94 kB / 0.5929 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.2539, allocations: 4 kB / 0.5929 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.794e-05/0.2539, allocations: 4 kB / 0.5929 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.2539, allocations: 0 / 0.5929 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.568e-06/0.254, allocations: 3.953 kB / 0.5929 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001765/0.2557, allocations: 351.2 kB / 0.5932 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.052e-05/0.2558, allocations: 85.02 kB / 0.5933 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.538e-05/0.2559, allocations: 0 / 0.5933 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004796/0.2564, allocations: 39.95 kB / 0.5933 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.459e-05/0.2564, allocations: 7.938 kB / 0.5933 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.096e-05/0.2565, allocations: 8 kB / 0.5933 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001076/0.2566, allocations: 95.27 kB / 0.5934 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.146e-06/0.2566, allocations: 0 / 0.5934 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004698/0.2571, allocations: 15.94 kB / 0.5934 GB, free: 12.32 MB / 0.4981 GB 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.002039/0.2592, allocations: 0.8762 MB / 0.5943 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001494/0.2607, allocations: 235.7 kB / 0.5945 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.2607, allocations: 288 / 0.5945 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008264/0.2615, allocations: 115.9 kB / 0.5946 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003145/0.2619, allocations: 11.94 kB / 0.5946 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004884/0.2668, allocations: 0.9044 MB / 0.5955 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003734/0.2672, allocations: 0.69 MB / 0.5962 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001848/0.2674, allocations: 23.98 kB / 0.5962 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.2675, allocations: 19.42 kB / 0.5962 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of SimCode: time 1.032e-06/0.2676, allocations: 4 kB / 0.5962 GB, free: 9.348 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0185/0.2861, allocations: 1.616 MB / 0.5978 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000363/0.2865, allocations: 163.6 kB / 0.598 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.614/1.901, allocations: 4 kB / 0.598 GB, free: 7.621 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothMin.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.pipe 2>&1) Environment - environmentSimulation: