Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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.001316/0.001316, allocations: 106.2 kB / 16.45 MB, free: 6.453 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.001402/0.001402, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.448/1.448, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.8478/0.8478, allocations: 133.9 MB / 442.8 MB, free: 11.69 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.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",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.00196/0.00196, allocations: 65.56 kB / 0.6135 GB, free: 8.715 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1677/0.1696, allocations: 85.86 MB / 0.6973 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001859/0.1715, allocations: 0.5992 MB / 0.6979 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0004067/0.1719, allocations: 163.9 kB / 0.6981 GB, free: 2.18 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.283e-05/0.1719, allocations: 0 / 0.6981 GB, free: 2.18 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.106e-05/0.1719, allocations: 0 / 0.6981 GB, free: 2.18 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 2.488e-05/0.172, allocations: 3.938 kB / 0.6981 GB, free: 2.176 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003097/0.1723, allocations: 39.89 kB / 0.6981 GB, free: 2.137 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 5.476e-05/0.1723, allocations: 8 kB / 0.6981 GB, free: 2.129 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.66e-05/0.1724, allocations: 7.984 kB / 0.6981 GB, free: 2.121 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.083e-05/0.1724, allocations: 11.94 kB / 0.6981 GB, free: 2.109 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.875e-05/0.1724, allocations: 3.984 kB / 0.6981 GB, free: 2.105 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.1725, allocations: 4 kB / 0.6981 GB, free: 2.102 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 8.668e-05/0.1725, allocations: 39.95 kB / 0.6982 GB, free: 2.062 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.528e-05/0.1726, allocations: 3.938 kB / 0.6982 GB, free: 2.059 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.155e-05/0.1726, allocations: 8 kB / 0.6982 GB, free: 2.051 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001014/0.1727, allocations: 32.95 kB / 0.6982 GB, free: 2.02 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.1727, allocations: 0 / 0.6982 GB, free: 2.02 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1727, allocations: 0 / 0.6982 GB, free: 2.02 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.776e-06/0.1727, allocations: 0 / 0.6982 GB, free: 2.02 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000405/0.1731, allocations: 339.4 kB / 0.6985 GB, free: 1.637 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.1731, allocations: 9.109 kB / 0.6985 GB, free: 1.629 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.656e-05/0.1732, allocations: 30.75 kB / 0.6986 GB, free: 1.59 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.991e-05/0.1732, allocations: 12.94 kB / 0.6986 GB, free: 1.578 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.1733, allocations: 164.3 kB / 0.6987 GB, free: 1.379 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.1733, allocations: 384 / 0.6987 GB, free: 1.379 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.1734, allocations: 4.375 kB / 0.6987 GB, free: 1.375 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.1735, allocations: 42.25 kB / 0.6988 GB, free: 1.328 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.1735, allocations: 3.938 kB / 0.6988 GB, free: 1.324 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.1735, allocations: 7.922 kB / 0.6988 GB, free: 1.316 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.1735, allocations: 0 / 0.6988 GB, free: 1.316 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.864e-05/0.1736, allocations: 15.98 kB / 0.6988 GB, free: 1.301 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001791/0.1737, allocations: 157.7 kB / 0.699 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 9.908e-05/0.1738, allocations: 50.56 kB / 0.699 GB, free: 1.039 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.388e-05/0.1739, allocations: 16.97 kB / 0.699 GB, free: 1.02 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001051/0.174, allocations: 81.11 kB / 0.6991 GB, free: 0.9219 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/0.174, allocations: 34.56 kB / 0.6991 GB, free: 0.8789 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=5): time 1.193e-06/0.174, allocations: 0 / 0.6991 GB, free: 0.8789 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.001295/0.1753, allocations: 496 kB / 0.6996 GB, free: 328 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/0.1753, allocations: 59.34 kB / 0.6997 GB, free: 256 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.79e-05/0.1754, allocations: 97.8 kB / 0.6998 GB, free: 148 kB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.1754, allocations: 25.7 kB / 0.6998 GB, free: 116 kB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.254e-05/0.1755, allocations: 80.14 kB / 0.6999 GB, free: 32 kB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.341e-05/0.1755, allocations: 27.78 kB / 0.6999 GB, free: 4 kB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.542e-05/0.1756, allocations: 17.8 kB / 0.6999 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.1757, allocations: 323 kB / 0.7002 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.915e-05/0.1757, allocations: 7.984 kB / 0.7002 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.058e-05/0.1758, allocations: 16.06 kB / 0.7002 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.618e-05/0.1758, allocations: 40.84 kB / 0.7003 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-07/0.1758, allocations: 0 / 0.7003 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001259/0.176, allocations: 77.42 kB / 0.7003 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.176, allocations: 4 kB / 0.7004 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.176, allocations: 4 kB / 0.7004 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.176, allocations: 0 / 0.7004 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.129e-05/0.1761, allocations: 16 kB / 0.7004 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.668e-06/0.1761, allocations: 4 kB / 0.7004 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.614e-05/0.1761, allocations: 3.984 kB / 0.7004 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.1761, allocations: 448 / 0.7004 GB, free: 15.48 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 (8): * Single equations (assignments): 8 * 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.147e-05/0.1762, allocations: 113.8 kB / 0.7005 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.416e-05/0.1762, allocations: 3.938 kB / 0.7005 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001824/0.1764, allocations: 81.58 kB / 0.7006 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.1764, allocations: 0 / 0.7006 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.1764, allocations: 8 kB / 0.7006 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.1764, allocations: 3.938 kB / 0.7006 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001435/0.1765, allocations: 169.6 kB / 0.7007 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1765, allocations: 0 / 0.7007 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.18e-05/0.1766, allocations: 15.94 kB / 0.7008 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.1766, allocations: 0 / 0.7008 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-06/0.1766, allocations: 4 kB / 0.7008 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1766, allocations: 0 / 0.7008 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1766, allocations: 0 / 0.7008 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002038/0.1768, allocations: 121 kB / 0.7009 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.309e-05/0.1769, allocations: 89.06 kB / 0.701 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/0.1769, allocations: 0 / 0.701 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.67e-05/0.177, allocations: 4 kB / 0.701 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.102e-05/0.177, allocations: 4 kB / 0.701 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.177, allocations: 7.938 kB / 0.701 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.85e-05/0.177, allocations: 79.27 kB / 0.7011 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.177, allocations: 0 / 0.7011 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002417/0.1773, allocations: 36.09 kB / 0.7011 GB, free: 14.64 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (8): * Single equations (assignments): 8 * 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.0006023/0.1779, allocations: 0.6791 MB / 0.7018 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001209/0.178, allocations: 36.05 kB / 0.7018 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.178, allocations: 0 / 0.7018 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 3.758e-05/0.178, allocations: 23.92 kB / 0.7018 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001425/0.1782, allocations: 10.98 kB / 0.7018 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/0.1793, allocations: 1.196 MB / 0.703 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002992/0.1796, allocations: 0.6844 MB / 0.7037 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.514e-05/0.1797, allocations: 11.73 kB / 0.7037 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.139e-05/0.1797, allocations: 19.42 kB / 0.7037 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of SimCode: time 3e-07/0.1797, allocations: 0 / 0.7037 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02511/0.2048, allocations: 1.802 MB / 0.7054 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.757/7.962, allocations: 7.391 kB / 0.7055 GB, free: 10.19 MB / 0.5294 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IDEAS_IDEAS_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.592010421998566] Failed to read output from testmodel.py, exit status != 0: 8.031280395996873 8.056691417 7.87967241 Calling exit ...