Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.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.SmoothExponential,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothExponential",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.005725/0.005725, allocations: 101.1 kB / 15.73 MB, free: 6.062 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.001489/0.001489, allocations: 189.7 kB / 16.67 MB, free: 5.973 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.347/1.347, 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/package.mo): time 0.8131/0.8131, allocations: 132.2 MB / 422.7 MB, free: 6.547 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 76.12 kB / 0.5809 GB, free: 24.13 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1663/0.1682, allocations: 80.2 MB / 0.6592 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothExponential): time 0.002877/0.1711, allocations: 1.429 MB / 0.6606 GB, free: 9.312 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004989/0.1716, allocations: 204.2 kB / 0.6608 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.488e-05/0.1717, allocations: 0 / 0.6608 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.314e-05/0.1717, allocations: 0 / 0.6608 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.546e-05/0.1718, allocations: 7.938 kB / 0.6608 GB, free: 9.102 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002519/0.172, allocations: 39.27 kB / 0.6608 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.673e-05/0.1721, allocations: 23.92 kB / 0.6609 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.788e-05/0.1722, allocations: 15.98 kB / 0.6609 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.873e-05/0.1722, allocations: 7.938 kB / 0.6609 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.613e-05/0.1723, allocations: 11.98 kB / 0.6609 GB, free: 9.008 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.057e-05/0.1723, allocations: 0 / 0.6609 GB, free: 9.008 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.385e-05/0.1724, allocations: 31.97 kB / 0.6609 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.584e-05/0.1724, allocations: 11.94 kB / 0.6609 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.833e-05/0.1724, allocations: 11.92 kB / 0.6609 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001133/0.1725, allocations: 40.16 kB / 0.661 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1726, allocations: 0 / 0.661 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.243e-06/0.1726, allocations: 4 kB / 0.661 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.1726, allocations: 0 / 0.661 GB, free: 8.91 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000451/0.173, allocations: 347.3 kB / 0.6613 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.1731, allocations: 11.97 kB / 0.6613 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.008e-05/0.1731, allocations: 38.69 kB / 0.6614 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.019e-05/0.1731, allocations: 0.9375 kB / 0.6614 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001563/0.1733, allocations: 172.3 kB / 0.6615 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.676e-06/0.1733, allocations: 4.375 kB / 0.6615 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.025e-05/0.1733, allocations: 4.375 kB / 0.6615 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001662/0.1735, allocations: 50.23 kB / 0.6616 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.1735, allocations: 3.938 kB / 0.6616 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.643e-06/0.1735, allocations: 0 / 0.6616 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.1735, allocations: 0 / 0.6616 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001656/0.1737, allocations: 31.97 kB / 0.6616 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003194/0.174, allocations: 260.8 kB / 0.6619 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000124/0.1742, allocations: 38.5 kB / 0.6619 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.562e-05/0.1743, allocations: 20.91 kB / 0.6619 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.134e-05/0.1744, allocations: 81.09 kB / 0.662 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.1744, allocations: 34.56 kB / 0.662 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.1744, allocations: 4 kB / 0.662 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003553/0.1748, allocations: 81.58 kB / 0.6621 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/0.1748, allocations: 55.41 kB / 0.6622 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.621e-05/0.1749, allocations: 97.86 kB / 0.6623 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.1749, allocations: 25.7 kB / 0.6623 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.672e-05/0.175, allocations: 92.12 kB / 0.6624 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.429e-05/0.175, allocations: 3.953 kB / 0.6624 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.072e-05/0.175, allocations: 13.84 kB / 0.6624 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.1752, allocations: 318.8 kB / 0.6627 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.442e-05/0.1753, allocations: 15.97 kB / 0.6627 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.697e-05/0.1754, allocations: 15.98 kB / 0.6627 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001544/0.1755, allocations: 40.89 kB / 0.6628 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.141e-05/0.1755, allocations: 3.938 kB / 0.6628 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002/0.1757, allocations: 77.53 kB / 0.6628 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.1758, allocations: 4 kB / 0.6628 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.1758, allocations: 0 / 0.6628 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.1758, allocations: 4 kB / 0.6629 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.863e-05/0.1759, allocations: 11.92 kB / 0.6629 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.1759, allocations: 0 / 0.6629 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.809e-05/0.1759, allocations: 8.031 kB / 0.6629 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-06/0.1759, allocations: 0 / 0.6629 GB, free: 6.723 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 (2): * Single equations (assignments): 2 * 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 8.34e-05/0.176, allocations: 122.6 kB / 0.663 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.126e-05/0.1761, allocations: 0 / 0.663 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002312/0.1763, allocations: 76.72 kB / 0.6631 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1763, allocations: 0 / 0.6631 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.1763, allocations: 0 / 0.6631 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.1763, allocations: 7.969 kB / 0.6631 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001747/0.1765, allocations: 165.6 kB / 0.6632 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.1765, allocations: 0 / 0.6632 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.746e-05/0.1766, allocations: 8 kB / 0.6632 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1766, allocations: 256 / 0.6632 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.1766, allocations: 0 / 0.6632 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.556e-06/0.1766, allocations: 7.984 kB / 0.6632 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1766, allocations: 0 / 0.6632 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002495/0.1769, allocations: 163.5 kB / 0.6634 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.651e-05/0.1769, allocations: 89.05 kB / 0.6635 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.038e-05/0.1769, allocations: 0 / 0.6635 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.519e-05/0.177, allocations: 4 kB / 0.6635 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.37e-05/0.177, allocations: 3.984 kB / 0.6635 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.1771, allocations: 3.938 kB / 0.6635 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.787e-05/0.1771, allocations: 83.28 kB / 0.6636 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.91e-07/0.1771, allocations: 4.031 kB / 0.6636 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002745/0.1774, allocations: 15.94 kB / 0.6636 GB, free: 5.879 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 (2): * Single equations (assignments): 2 * 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.0005944/0.178, allocations: 0.6968 MB / 0.6643 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002135/0.1782, allocations: 40 kB / 0.6643 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.1782, allocations: 0 / 0.6643 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.729e-05/0.1783, allocations: 23.92 kB / 0.6643 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002567/0.1786, allocations: 3.984 kB / 0.6643 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003702/0.179, allocations: 131.1 kB / 0.6645 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003311/0.1793, allocations: 0.6808 MB / 0.6651 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.372e-05/0.1793, allocations: 0 / 0.6651 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.781e-05/0.1794, allocations: 19.38 kB / 0.6651 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1794, allocations: 0 / 0.6651 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02683/0.2062, allocations: 1.429 MB / 0.6665 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.826/8.032, allocations: 8.047 kB / 0.6665 GB, free: 2.848 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_SmoothExponential_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_SmoothExponential.fmu > IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)