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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001669/0.001669, allocations: 109.1 kB / 16.45 MB, free: 6.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002161/0.002161, allocations: 205.7 kB / 19.42 MB, free: 3.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.536/1.536, allocations: 230.6 MB / 252.8 MB, free: 9.012 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.8679/0.8679, allocations: 133.9 MB / 442.8 MB, free: 11.31 MB / 350.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 61.5 kB / 0.6134 GB, free: 8.766 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.1644, allocations: 85.85 MB / 0.6973 GB, free: 2.992 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothExponential): time 0.002685/0.1671, allocations: 1.452 MB / 0.6987 GB, free: 1.531 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0004497/0.1675, allocations: 200.7 kB / 0.6989 GB, free: 1.332 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.56e-05/0.1675, allocations: 4 kB / 0.6989 GB, free: 1.328 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.837e-05/0.1676, allocations: 0 / 0.6989 GB, free: 1.328 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.195e-05/0.1676, allocations: 7.875 kB / 0.6989 GB, free: 1.32 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002808/0.1679, allocations: 35.88 kB / 0.6989 GB, free: 1.285 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.313e-05/0.168, allocations: 31.86 kB / 0.699 GB, free: 1.254 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.704e-05/0.1681, allocations: 11.98 kB / 0.699 GB, free: 1.242 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.085e-05/0.1681, allocations: 4 kB / 0.699 GB, free: 1.238 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.253e-05/0.1682, allocations: 19.92 kB / 0.699 GB, free: 1.219 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.218e-05/0.1682, allocations: 0 / 0.699 GB, free: 1.219 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 9.454e-05/0.1683, allocations: 39.95 kB / 0.699 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.543e-05/0.1683, allocations: 4 kB / 0.699 GB, free: 1.176 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.135e-05/0.1683, allocations: 3.938 kB / 0.699 GB, free: 1.172 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001368/0.1684, allocations: 44.09 kB / 0.6991 GB, free: 1.129 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.1684, allocations: 4 kB / 0.6991 GB, free: 1.125 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1684, allocations: 0 / 0.6991 GB, free: 1.125 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.75e-06/0.1684, allocations: 0 / 0.6991 GB, free: 1.125 MB / 0.5137 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.0005534/0.169, allocations: 343.4 kB / 0.6994 GB, free: 0.7383 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/0.1691, allocations: 9.109 kB / 0.6994 GB, free: 0.7305 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.984e-05/0.1691, allocations: 38.75 kB / 0.6995 GB, free: 0.6836 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.024e-05/0.1692, allocations: 4.891 kB / 0.6995 GB, free: 0.6797 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000159/0.1693, allocations: 172.2 kB / 0.6996 GB, free: 484 kB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.1693, allocations: 8.359 kB / 0.6996 GB, free: 476 kB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.446e-06/0.1693, allocations: 384 / 0.6996 GB, free: 476 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001943/0.1695, allocations: 46.25 kB / 0.6997 GB, free: 424 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.1695, allocations: 3.938 kB / 0.6997 GB, free: 420 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.1696, allocations: 7.984 kB / 0.6997 GB, free: 412 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1696, allocations: 0 / 0.6997 GB, free: 412 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001716/0.1697, allocations: 31.97 kB / 0.6997 GB, free: 380 kB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003606/0.1701, allocations: 253 kB / 0.7 GB, free: 76 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001402/0.1702, allocations: 38.44 kB / 0.7 GB, free: 28 kB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.1703, allocations: 28.95 kB / 0.7 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 9.631e-05/0.1704, allocations: 81.05 kB / 0.7001 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.1705, allocations: 30.56 kB / 0.7001 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.1705, allocations: 0 / 0.7001 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003843/0.1708, allocations: 89.62 kB / 0.7002 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.1709, allocations: 55.44 kB / 0.7003 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.646e-05/0.171, allocations: 105.8 kB / 0.7004 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.171, allocations: 25.7 kB / 0.7004 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.106e-05/0.1711, allocations: 88.12 kB / 0.7005 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.878e-05/0.1711, allocations: 7.953 kB / 0.7005 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.117e-05/0.1711, allocations: 9.719 kB / 0.7005 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.1712, allocations: 318.8 kB / 0.7008 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.889e-05/0.1713, allocations: 15.98 kB / 0.7008 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.756e-05/0.1714, allocations: 19.97 kB / 0.7008 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001557/0.1716, allocations: 40.77 kB / 0.7009 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.1716, allocations: 3.938 kB / 0.7009 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002027/0.1718, allocations: 73.66 kB / 0.7009 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.1718, allocations: 4 kB / 0.7009 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.1718, allocations: 0 / 0.7009 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.1718, allocations: 0 / 0.7009 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.331e-05/0.1719, allocations: 11.98 kB / 0.701 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.1719, allocations: 0 / 0.701 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.202e-05/0.172, allocations: 4 kB / 0.701 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.172, allocations: 0 / 0.701 GB, free: 14.94 MB / 0.5294 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 9.009e-05/0.1721, allocations: 121.8 kB / 0.7011 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.502e-05/0.1721, allocations: 3.984 kB / 0.7011 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002351/0.1723, allocations: 68.78 kB / 0.7011 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.1723, allocations: 0 / 0.7011 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1723, allocations: 0 / 0.7011 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.1723, allocations: 0 / 0.7011 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001732/0.1725, allocations: 169.5 kB / 0.7013 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1725, allocations: 0 / 0.7013 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.288e-05/0.1726, allocations: 16.02 kB / 0.7013 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.1726, allocations: 0 / 0.7013 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.1726, allocations: 0 / 0.7013 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1726, allocations: 0 / 0.7013 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1726, allocations: 0 / 0.7013 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000277/0.1728, allocations: 159.5 kB / 0.7015 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.514e-05/0.1729, allocations: 93.38 kB / 0.7016 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.189e-05/0.1729, allocations: 0 / 0.7016 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.699e-05/0.173, allocations: 8 kB / 0.7016 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.206e-05/0.173, allocations: 7.969 kB / 0.7016 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.173, allocations: 3.938 kB / 0.7016 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.264e-05/0.1731, allocations: 79.28 kB / 0.7017 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1731, allocations: 0 / 0.7017 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002265/0.1733, allocations: 19.94 kB / 0.7017 GB, free: 14.11 MB / 0.5294 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.0006178/0.1739, allocations: 0.7045 MB / 0.7024 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000214/0.1741, allocations: 35.95 kB / 0.7024 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.1741, allocations: 4.094 kB / 0.7024 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.582e-05/0.1742, allocations: 23.92 kB / 0.7024 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002767/0.1745, allocations: 4 kB / 0.7024 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004186/0.1749, allocations: 139.1 kB / 0.7026 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003082/0.1752, allocations: 0.6805 MB / 0.7032 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.375e-05/0.1752, allocations: 4 kB / 0.7032 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.373e-05/0.1753, allocations: 11.44 kB / 0.7032 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of SimCode: time 2.91e-07/0.1753, allocations: 4.062 kB / 0.7032 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02294/0.1982, allocations: 1.436 MB / 0.7046 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.732/7.93, allocations: 2.5 kB / 0.7047 GB, free: 11.06 MB / 0.5294 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.75922684899706] Failed to read output from testmodel.py, exit status != 0: 7.994671086009475 8.008994522 7.837883944 Calling exit ...