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.005764/0.005764, allocations: 101.5 kB / 15.73 MB, free: 5.98 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.001131/0.001131, allocations: 190.5 kB / 16.67 MB, free: 5.918 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.327/1.327, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7915/0.7915, allocations: 135.1 MB / 425.7 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 64.39 kB / 0.5851 GB, free: 21.88 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.163, allocations: 80.93 MB / 0.6642 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.002642/0.1657, allocations: 1.456 MB / 0.6656 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000427/0.1662, allocations: 148.4 kB / 0.6657 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.82e-05/0.1662, allocations: 0 / 0.6657 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.398e-05/0.1663, allocations: 3.984 kB / 0.6657 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.049e-05/0.1664, allocations: 3.938 kB / 0.6657 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002278/0.1666, allocations: 31.91 kB / 0.6658 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.983e-05/0.1667, allocations: 43.84 kB / 0.6658 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.1668, allocations: 27.92 kB / 0.6658 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.183e-05/0.1669, allocations: 11.98 kB / 0.6658 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.944e-05/0.1669, allocations: 27.86 kB / 0.6659 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.635e-05/0.167, allocations: 7.938 kB / 0.6659 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.339e-05/0.1671, allocations: 27.97 kB / 0.6659 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.555e-05/0.1671, allocations: 4 kB / 0.6659 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.177e-05/0.1671, allocations: 27.86 kB / 0.6659 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001337/0.1673, allocations: 59.86 kB / 0.666 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.1673, allocations: 7.938 kB / 0.666 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1673, allocations: 0 / 0.666 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.146e-05/0.1673, allocations: 0 / 0.666 GB, free: 4.375 MB / 0.4981 GB 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.000498/0.1678, allocations: 359.1 kB / 0.6663 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.1678, allocations: 9.109 kB / 0.6664 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.348e-05/0.1679, allocations: 34.75 kB / 0.6664 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001048/0.1689, allocations: 212.5 kB / 0.6666 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.1691, allocations: 176.3 kB / 0.6668 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.1691, allocations: 384 / 0.6668 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.18e-05/0.1691, allocations: 8.375 kB / 0.6668 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005247/0.1697, allocations: 190 kB / 0.6669 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.1697, allocations: 7.938 kB / 0.667 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.1697, allocations: 0 / 0.667 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.1697, allocations: 4 kB / 0.667 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007707/0.1705, allocations: 279.6 kB / 0.6672 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008496/0.1713, allocations: 444.9 kB / 0.6677 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/0.1724, allocations: 290.1 kB / 0.6679 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003161/0.1727, allocations: 100.8 kB / 0.668 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.603e-05/0.1727, allocations: 0 / 0.668 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.1727, allocations: 38.56 kB / 0.6681 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.1728, allocations: 0 / 0.6681 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.00105/0.1738, allocations: 313.2 kB / 0.6684 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.1739, allocations: 51.41 kB / 0.6684 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.894e-05/0.174, allocations: 121.8 kB / 0.6685 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.174, allocations: 26.08 kB / 0.6685 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.923e-05/0.1741, allocations: 92.08 kB / 0.6686 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.263e-05/0.1741, allocations: 3.906 kB / 0.6686 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.311e-05/0.1742, allocations: 21.7 kB / 0.6687 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.1743, allocations: 322.7 kB / 0.669 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003272/0.1747, allocations: 99.81 kB / 0.6691 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003105/0.175, allocations: 92.06 kB / 0.6692 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006778/0.1757, allocations: 180.7 kB / 0.6693 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.1757, allocations: 0 / 0.6693 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006563/0.1763, allocations: 225.3 kB / 0.6695 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.1764, allocations: 4 kB / 0.6695 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.1764, allocations: 0 / 0.6695 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.1764, allocations: 0 / 0.6695 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002251/0.1766, allocations: 31.95 kB / 0.6696 GB, free: 496 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.1766, allocations: 3.984 kB / 0.6696 GB, free: 492 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001685/0.1768, allocations: 31.95 kB / 0.6696 GB, free: 460 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.198e-05/0.1768, allocations: 0 / 0.6696 GB, free: 460 kB / 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.802e-05/0.1769, allocations: 117.8 kB / 0.6697 GB, free: 332 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.348e-05/0.177, allocations: 11.89 kB / 0.6697 GB, free: 320 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.568e-05/0.177, allocations: 7.906 kB / 0.6697 GB, free: 308 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.177, allocations: 4 kB / 0.6697 GB, free: 304 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1771, allocations: 0 / 0.6697 GB, free: 304 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.1771, allocations: 0 / 0.6697 GB, free: 304 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002908/0.1774, allocations: 213.6 kB / 0.6699 GB, free: 40 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1774, allocations: 0 / 0.6699 GB, free: 40 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002125/0.1776, allocations: 35.94 kB / 0.67 GB, free: 4 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.1776, allocations: 0 / 0.67 GB, free: 4 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.1776, allocations: 4 kB / 0.67 GB, free: 0 / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-05/0.1776, allocations: 0 / 0.67 GB, free: 0 / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.1776, allocations: 4.047 kB / 0.67 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007429/0.1784, allocations: 311.2 kB / 0.6703 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.547e-05/0.1784, allocations: 81.02 kB / 0.6704 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.875e-05/0.1785, allocations: 0 / 0.6704 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001983/0.1787, allocations: 31.94 kB / 0.6704 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.893e-05/0.1787, allocations: 4 kB / 0.6704 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.1787, allocations: 4 kB / 0.6704 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.668e-05/0.1788, allocations: 95.27 kB / 0.6705 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1788, allocations: 288 / 0.6705 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002324/0.179, allocations: 15.94 kB / 0.6705 GB, free: 15.43 MB / 0.5137 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 (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.00105/0.1801, allocations: 0.8461 MB / 0.6713 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007657/0.1809, allocations: 195.8 kB / 0.6715 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1809, allocations: 0 / 0.6715 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003759/0.1813, allocations: 107.8 kB / 0.6716 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002609/0.1815, allocations: 9.969 kB / 0.6716 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003545/0.1851, allocations: 1.85 MB / 0.6734 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003036/0.1854, allocations: 0.6846 MB / 0.6741 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.489e-05/0.1855, allocations: 19.98 kB / 0.6741 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.75e-05/0.1856, allocations: 19.42 kB / 0.6741 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of SimCode: time 8.01e-07/0.1856, allocations: 0 / 0.6741 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02084/0.2064, allocations: 1.939 MB / 0.676 GB, free: 9.691 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.353/7.559, allocations: 10.31 kB / 0.676 GB, free: 9.684 MB / 0.5137 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/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)