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.0008161/0.0008161, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.0009045/0.0009047, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 223.3 MB / 240 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9686/0.9686, allocations: 135.3 MB / 426.4 MB, free: 14.14 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003072/0.0003073, allocations: 12 kB / 0.5071 GB, free: 4.996 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.1628, allocations: 82.31 MB / 0.5875 GB, free: 2.852 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.001683/0.1645, allocations: 1.161 MB / 0.5886 GB, free: 1.676 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003432/0.1649, allocations: 136.5 kB / 0.5887 GB, free: 1.539 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.151e-05/0.165, allocations: 0 / 0.5887 GB, free: 1.539 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.319e-05/0.165, allocations: 0 / 0.5887 GB, free: 1.539 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.785e-05/0.1651, allocations: 11.92 kB / 0.5888 GB, free: 1.527 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001888/0.1653, allocations: 23.92 kB / 0.5888 GB, free: 1.504 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.092e-05/0.1654, allocations: 39.91 kB / 0.5888 GB, free: 1.465 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.68e-05/0.1655, allocations: 15.98 kB / 0.5888 GB, free: 1.449 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.761e-05/0.1655, allocations: 11.92 kB / 0.5888 GB, free: 1.438 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.805e-05/0.1656, allocations: 19.92 kB / 0.5889 GB, free: 1.418 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.314e-05/0.1656, allocations: 4 kB / 0.5889 GB, free: 1.414 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.582e-05/0.1657, allocations: 23.92 kB / 0.5889 GB, free: 1.391 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.154e-05/0.1657, allocations: 11.98 kB / 0.5889 GB, free: 1.379 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.536e-05/0.1657, allocations: 29.64 kB / 0.5889 GB, free: 1.344 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.973e-05/0.1658, allocations: 43.92 kB / 0.589 GB, free: 1.301 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.1658, allocations: 4 kB / 0.589 GB, free: 1.297 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1658, allocations: 0 / 0.589 GB, free: 1.297 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.144e-06/0.1659, allocations: 4 kB / 0.589 GB, free: 1.293 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.0004044/0.1663, allocations: 351.5 kB / 0.5893 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.1663, allocations: 8.031 kB / 0.5893 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.559e-05/0.1664, allocations: 42.55 kB / 0.5894 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001082/0.1674, allocations: 239.5 kB / 0.5896 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.1676, allocations: 179 kB / 0.5898 GB, free: 404 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.1676, allocations: 0 / 0.5898 GB, free: 404 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.728e-05/0.1676, allocations: 7.938 kB / 0.5898 GB, free: 396 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000572/0.1682, allocations: 209.5 kB / 0.59 GB, free: 180 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.1682, allocations: 3.938 kB / 0.59 GB, free: 176 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.1682, allocations: 0 / 0.59 GB, free: 176 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.1683, allocations: 4 kB / 0.59 GB, free: 172 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008516/0.1691, allocations: 319.6 kB / 0.5903 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008653/0.17, allocations: 461.4 kB / 0.5907 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00104/0.171, allocations: 334.2 kB / 0.591 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004045/0.1715, allocations: 124.8 kB / 0.5912 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.1715, allocations: 0 / 0.5912 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.1715, allocations: 38.56 kB / 0.5912 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.1715, allocations: 0 / 0.5912 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.001131/0.1727, allocations: 369.2 kB / 0.5915 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/0.1727, allocations: 51.41 kB / 0.5916 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.1728, allocations: 125.9 kB / 0.5917 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.1729, allocations: 25.7 kB / 0.5917 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.704e-05/0.1729, allocations: 96.12 kB / 0.5918 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.172e-05/0.1729, allocations: 7.844 kB / 0.5918 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.077e-06/0.173, allocations: 0 / 0.5918 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.1731, allocations: 314.8 kB / 0.5921 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003497/0.1734, allocations: 115.9 kB / 0.5922 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003406/0.1738, allocations: 119.9 kB / 0.5924 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003194/0.1741, allocations: 99.89 kB / 0.5925 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1741, allocations: 0 / 0.5925 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007191/0.1748, allocations: 249.4 kB / 0.5927 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.1749, allocations: 12 kB / 0.5927 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.1749, allocations: 0 / 0.5927 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.1749, allocations: 3.953 kB / 0.5927 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002524/0.1752, allocations: 47.88 kB / 0.5928 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.1752, allocations: 0 / 0.5928 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001982/0.1754, allocations: 43.95 kB / 0.5928 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.1754, allocations: 0 / 0.5928 GB, free: 13.14 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 8.416e-05/0.1755, allocations: 114.2 kB / 0.5929 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.163e-05/0.1755, allocations: 7.906 kB / 0.5929 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.881e-05/0.1756, allocations: 8.234 kB / 0.5929 GB, free: 13 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.1756, allocations: 4 kB / 0.5929 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/0.1756, allocations: 11.89 kB / 0.5929 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.1756, allocations: 7.984 kB / 0.5929 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002307/0.1758, allocations: 201.6 kB / 0.5931 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1758, allocations: 0 / 0.5931 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002242/0.1761, allocations: 43.94 kB / 0.5932 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.1761, allocations: 4 kB / 0.5932 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.1761, allocations: 4 kB / 0.5932 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1761, allocations: 0 / 0.5932 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.1761, allocations: 3.953 kB / 0.5932 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007552/0.1769, allocations: 347.2 kB / 0.5935 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.663e-05/0.1769, allocations: 89 kB / 0.5936 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.232e-05/0.177, allocations: 0 / 0.5936 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002152/0.1772, allocations: 39.89 kB / 0.5936 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.48e-05/0.1772, allocations: 11.95 kB / 0.5937 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.166e-06/0.1773, allocations: 0 / 0.5937 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.879e-05/0.1773, allocations: 95.27 kB / 0.5937 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1773, allocations: 0 / 0.5937 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002385/0.1776, allocations: 12 kB / 0.5938 GB, free: 12.05 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.001019/0.1786, allocations: 0.8763 MB / 0.5946 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007261/0.1793, allocations: 239.7 kB / 0.5948 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1793, allocations: 0 / 0.5948 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003492/0.1797, allocations: 115.9 kB / 0.595 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002371/0.1799, allocations: 4 kB / 0.595 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00222/0.1822, allocations: 0.9084 MB / 0.5958 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000253/0.1824, allocations: 0.6887 MB / 0.5965 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.195e-05/0.1825, allocations: 27.89 kB / 0.5965 GB, free: 9.102 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.251e-05/0.1826, allocations: 11.44 kB / 0.5966 GB, free: 9.09 MB / 0.4981 GB Notification: Performance of SimCode: time 2.7e-07/0.1826, allocations: 4 kB / 0.5966 GB, free: 9.086 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02002/0.2026, allocations: 1.65 MB / 0.5982 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001994/0.2029, allocations: 167.5 kB / 0.5983 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.662/1.865, allocations: 4 kB / 0.5983 GB, free: 7.336 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: