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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 108.3 kB / 17.54 MB, free: 4.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 190.6 kB / 20.71 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.295/1.295, allocations: 225.6 MB / 249.3 MB, free: 3.332 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9839/0.9839, allocations: 175.7 MB / 480.1 MB, free: 2.867 MB / 366.1 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001756/0.001756, allocations: 68.58 kB / 0.6678 GB, free: 11 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1523, allocations: 94.52 MB / 0.7601 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.002354/0.1546, allocations: 1.48 MB / 0.7615 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.000342/0.155, allocations: 143.4 kB / 0.7617 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.804e-05/0.155, allocations: 4 kB / 0.7617 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.819e-05/0.155, allocations: 3.938 kB / 0.7617 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.279e-05/0.1551, allocations: 7.922 kB / 0.7617 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001882/0.1553, allocations: 35.91 kB / 0.7617 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.635e-05/0.1554, allocations: 39.91 kB / 0.7617 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.65e-05/0.1555, allocations: 23.92 kB / 0.7618 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.661e-05/0.1555, allocations: 15.92 kB / 0.7618 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.702e-05/0.1556, allocations: 19.92 kB / 0.7618 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.416e-05/0.1556, allocations: 4 kB / 0.7618 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 8.419e-05/0.1557, allocations: 31.97 kB / 0.7618 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.986e-05/0.1557, allocations: 15.92 kB / 0.7618 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.972e-05/0.1557, allocations: 19.88 kB / 0.7619 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000124/0.1558, allocations: 67.72 kB / 0.7619 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.1558, allocations: 4 kB / 0.7619 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1558, allocations: 0 / 0.7619 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.1558, allocations: 0 / 0.7619 GB, free: 14.96 MB / 0.5762 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.0004454/0.1563, allocations: 356.8 kB / 0.7623 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.1563, allocations: 8.031 kB / 0.7623 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.045e-05/0.1564, allocations: 42.73 kB / 0.7623 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001002/0.1574, allocations: 212.6 kB / 0.7625 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.1575, allocations: 180.2 kB / 0.7627 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.959e-06/0.1575, allocations: 384 / 0.7627 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.66e-05/0.1575, allocations: 4.375 kB / 0.7627 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005425/0.1581, allocations: 194 kB / 0.7629 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.1581, allocations: 3.938 kB / 0.7629 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.1581, allocations: 0 / 0.7629 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.1581, allocations: 7.938 kB / 0.7629 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008243/0.1589, allocations: 275.6 kB / 0.7632 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008543/0.1598, allocations: 437.4 kB / 0.7636 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001102/0.1609, allocations: 290.2 kB / 0.7639 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000363/0.1612, allocations: 96.8 kB / 0.764 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.445e-05/0.1613, allocations: 7.984 kB / 0.764 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.5e-05/0.1613, allocations: 38.5 kB / 0.764 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.1613, allocations: 0 / 0.764 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.001172/0.1625, allocations: 313.3 kB / 0.7643 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/0.1625, allocations: 51.41 kB / 0.7643 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.1626, allocations: 113.8 kB / 0.7645 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.401e-05/0.1626, allocations: 29.7 kB / 0.7645 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.824e-05/0.1627, allocations: 88.12 kB / 0.7646 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.635e-05/0.1627, allocations: 11.89 kB / 0.7646 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.452e-05/0.1628, allocations: 17.72 kB / 0.7646 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000201/0.163, allocations: 322.8 kB / 0.7649 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003655/0.1634, allocations: 95.88 kB / 0.765 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003509/0.1637, allocations: 91.88 kB / 0.7651 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006821/0.1644, allocations: 177 kB / 0.7652 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1644, allocations: 0 / 0.7652 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007496/0.1651, allocations: 213.4 kB / 0.7655 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.1652, allocations: 8 kB / 0.7655 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.1652, allocations: 7.922 kB / 0.7655 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.1652, allocations: 0 / 0.7655 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000253/0.1654, allocations: 31.95 kB / 0.7655 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.1654, allocations: 0 / 0.7655 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001892/0.1656, allocations: 31.95 kB / 0.7655 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.1656, allocations: 7.984 kB / 0.7655 GB, free: 11.04 MB / 0.5762 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 0.0001006/0.1657, allocations: 121.7 kB / 0.7657 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.088e-05/0.1658, allocations: 3.953 kB / 0.7657 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.119e-05/0.1658, allocations: 7.906 kB / 0.7657 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.1658, allocations: 7.922 kB / 0.7657 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.1658, allocations: 0 / 0.7657 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.1658, allocations: 8 kB / 0.7657 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000238/0.1661, allocations: 205.5 kB / 0.7659 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.1661, allocations: 0 / 0.7659 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002237/0.1663, allocations: 31.95 kB / 0.7659 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1663, allocations: 0 / 0.7659 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.1663, allocations: 3.984 kB / 0.7659 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.1663, allocations: 4 kB / 0.7659 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1663, allocations: 0 / 0.7659 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007971/0.1671, allocations: 319.2 kB / 0.7662 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.425e-05/0.1672, allocations: 81.48 kB / 0.7663 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.953e-05/0.1672, allocations: 0 / 0.7663 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002194/0.1674, allocations: 31.95 kB / 0.7663 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.638e-05/0.1674, allocations: 7.922 kB / 0.7663 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.1674, allocations: 0 / 0.7663 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.601e-05/0.1675, allocations: 95.27 kB / 0.7664 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1675, allocations: 0 / 0.7664 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002544/0.1678, allocations: 19.94 kB / 0.7664 GB, free: 10 MB / 0.5762 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.001191/0.169, allocations: 0.8372 MB / 0.7673 GB, free: 9.141 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007864/0.1697, allocations: 203.7 kB / 0.7675 GB, free: 8.941 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.1697, allocations: 0 / 0.7675 GB, free: 8.941 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003705/0.1701, allocations: 96.16 kB / 0.7675 GB, free: 8.848 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00024/0.1704, allocations: 11.92 kB / 0.7676 GB, free: 8.836 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003555/0.1739, allocations: 1.842 MB / 0.7694 GB, free: 6.918 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003389/0.1743, allocations: 0.6924 MB / 0.77 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 7.452e-05/0.1743, allocations: 20.23 kB / 0.77 GB, free: 6.18 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.004e-05/0.1744, allocations: 11.44 kB / 0.7701 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of SimCode: time 7.11e-07/0.1744, allocations: 0 / 0.7701 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02279/0.1972, allocations: 1.96 MB / 0.772 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.098/7.295, allocations: 4.062 kB / 0.772 GB, free: 4.289 MB / 0.5762 GB " [Timeout remaining time 653] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.673212693989626]