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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 111.4 kB / 16.41 MB, free: 6.496 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.001232/0.001232, allocations: 191.7 kB / 19.36 MB, free: 3.75 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.429/1.429, allocations: 222.9 MB / 245.1 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8766/0.8766, allocations: 132.2 MB / 429.4 MB, free: 6.008 MB / 334.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/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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001899/0.001899, allocations: 72.05 kB / 0.5894 GB, free: 24.12 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1722/0.1741, allocations: 80.2 MB / 0.6677 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothExponential): time 0.002802/0.1769, allocations: 1.441 MB / 0.6691 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004583/0.1774, allocations: 196.3 kB / 0.6693 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.521e-05/0.1774, allocations: 0 / 0.6693 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.054e-05/0.1775, allocations: 7.938 kB / 0.6693 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.287e-05/0.1775, allocations: 3.938 kB / 0.6693 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002731/0.1778, allocations: 35.89 kB / 0.6693 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.065e-05/0.1779, allocations: 27.92 kB / 0.6694 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.522e-05/0.178, allocations: 8 kB / 0.6694 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.89e-05/0.178, allocations: 11.92 kB / 0.6694 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.448e-05/0.1781, allocations: 11.94 kB / 0.6694 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.393e-05/0.1781, allocations: 4 kB / 0.6694 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.008e-05/0.1782, allocations: 39.94 kB / 0.6694 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.225e-05/0.1782, allocations: 4 kB / 0.6694 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.339e-05/0.1783, allocations: 11.94 kB / 0.6695 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001223/0.1784, allocations: 36.11 kB / 0.6695 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.1784, allocations: 4 kB / 0.6695 GB, free: 8 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1784, allocations: 0 / 0.6695 GB, free: 8 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.101e-05/0.1784, allocations: 3.984 kB / 0.6695 GB, free: 7.996 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.0004838/0.1789, allocations: 339.4 kB / 0.6698 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.179, allocations: 12.03 kB / 0.6698 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.361e-05/0.179, allocations: 30.75 kB / 0.6699 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.259e-05/0.179, allocations: 4.938 kB / 0.6699 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001435/0.1792, allocations: 180.3 kB / 0.67 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.1792, allocations: 384 / 0.67 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.007e-05/0.1792, allocations: 384 / 0.67 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/0.1794, allocations: 54.17 kB / 0.6701 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.1794, allocations: 3.938 kB / 0.6701 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.1794, allocations: 0 / 0.6701 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.1794, allocations: 4 kB / 0.6701 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001634/0.1796, allocations: 35.95 kB / 0.6701 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000324/0.1799, allocations: 241 kB / 0.6704 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000141/0.1801, allocations: 46.48 kB / 0.6704 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.869e-05/0.1802, allocations: 24.84 kB / 0.6704 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001164/0.1803, allocations: 85.11 kB / 0.6705 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/0.1803, allocations: 30.56 kB / 0.6705 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.1803, allocations: 0 / 0.6705 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003544/0.1807, allocations: 85.58 kB / 0.6706 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.794e-05/0.1807, allocations: 51.41 kB / 0.6707 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.228e-05/0.1808, allocations: 110 kB / 0.6708 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.1809, allocations: 29.7 kB / 0.6708 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.879e-05/0.1809, allocations: 80.14 kB / 0.6709 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.885e-05/0.1809, allocations: 7.953 kB / 0.6709 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.375e-05/0.181, allocations: 17.7 kB / 0.6709 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.1811, allocations: 310.8 kB / 0.6712 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.521e-05/0.1812, allocations: 19.92 kB / 0.6712 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.947e-05/0.1813, allocations: 19.98 kB / 0.6712 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001568/0.1815, allocations: 48.75 kB / 0.6713 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.1815, allocations: 3.938 kB / 0.6713 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002014/0.1817, allocations: 61.62 kB / 0.6713 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.1817, allocations: 8 kB / 0.6714 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.1817, allocations: 3.984 kB / 0.6714 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.21e-05/0.1817, allocations: 8.078 kB / 0.6714 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.1818, allocations: 8 kB / 0.6714 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.1819, allocations: 0 / 0.6714 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.01e-05/0.1819, allocations: 7.984 kB / 0.6714 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.1819, allocations: 3.938 kB / 0.6714 GB, free: 5.805 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 0.0001102/0.182, allocations: 109.8 kB / 0.6715 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.906e-05/0.1821, allocations: 8 kB / 0.6715 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002617/0.1823, allocations: 68.78 kB / 0.6716 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.1824, allocations: 3.984 kB / 0.6716 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.1824, allocations: 0 / 0.6716 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.323e-06/0.1824, allocations: 4 kB / 0.6716 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002065/0.1826, allocations: 157.6 kB / 0.6717 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1826, allocations: 0 / 0.6717 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.543e-05/0.1827, allocations: 7.984 kB / 0.6717 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.1827, allocations: 0 / 0.6717 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.1827, allocations: 4 kB / 0.6717 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1827, allocations: 4.031 kB / 0.6717 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1827, allocations: 0 / 0.6717 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000294/0.183, allocations: 167.4 kB / 0.6719 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.549e-05/0.1831, allocations: 81.06 kB / 0.672 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.1831, allocations: 0 / 0.672 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.758e-05/0.1832, allocations: 12.02 kB / 0.672 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.785e-05/0.1832, allocations: 8 kB / 0.672 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.1833, allocations: 0 / 0.672 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.083e-05/0.1833, allocations: 87.52 kB / 0.6721 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1833, allocations: 0 / 0.6721 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002413/0.1836, allocations: 11.94 kB / 0.6721 GB, free: 4.98 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.0008098/0.1844, allocations: 0.7146 MB / 0.6728 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002632/0.1847, allocations: 39.95 kB / 0.6728 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.1847, allocations: 0 / 0.6728 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.955e-05/0.1848, allocations: 19.92 kB / 0.6728 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003767/0.1852, allocations: 12.16 kB / 0.6729 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005593/0.1857, allocations: 135 kB / 0.673 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003743/0.1861, allocations: 0.6807 MB / 0.6736 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.864e-05/0.1862, allocations: 0 / 0.6736 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.171e-05/0.1862, allocations: 11.42 kB / 0.6737 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of SimCode: time 9.71e-07/0.1862, allocations: 0 / 0.6737 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02208/0.2083, allocations: 1.444 MB / 0.6751 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.576/7.785, allocations: 2.656 kB / 0.6751 GB, free: 1.93 MB / 0.4981 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Utilities_Math_Examples_SmoothExponential.fmu > IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.415081283892505] Failed to read output from testmodel.py, exit status != 0: 7.848343422054313 7.863412702 7.682292935 Calling exit ...