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.001422/0.001422, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001554/0.001554, allocations: 217.8 kB / 22.25 MB, free: 5.121 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.456/1.456, allocations: 230.6 MB / 256 MB, free: 7.973 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.8434/0.8434, allocations: 134 MB / 446.4 MB, free: 10.26 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.002/0.002, allocations: 68.8 kB / 0.6186 GB, free: 7.207 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1716/0.1736, allocations: 85.91 MB / 0.7025 GB, free: 1.387 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001742/0.1753, allocations: 0.6082 MB / 0.7031 GB, free: 0.7812 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0004352/0.1758, allocations: 155.9 kB / 0.7032 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.676e-05/0.1758, allocations: 0 / 0.7032 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.658e-05/0.1758, allocations: 3.938 kB / 0.7032 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 2.483e-05/0.1758, allocations: 0 / 0.7032 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003032/0.1761, allocations: 35.91 kB / 0.7033 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.106e-05/0.1762, allocations: 15.97 kB / 0.7033 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.379e-05/0.1762, allocations: 4 kB / 0.7033 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.107e-05/0.1763, allocations: 11.94 kB / 0.7033 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.317e-05/0.1763, allocations: 3.984 kB / 0.7033 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.1763, allocations: 11.94 kB / 0.7033 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 8.694e-05/0.1764, allocations: 31.91 kB / 0.7033 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.142e-05/0.1765, allocations: 15.92 kB / 0.7034 GB, free: 0.4961 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 1.695e-05/0.1765, allocations: 0 / 0.7034 GB, free: 0.4961 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001123/0.1766, allocations: 40.09 kB / 0.7034 GB, free: 468 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.1766, allocations: 0 / 0.7034 GB, free: 468 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.663e-06/0.1766, allocations: 0 / 0.7034 GB, free: 468 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.1766, allocations: 0 / 0.7034 GB, free: 468 kB / 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.0003824/0.177, allocations: 258.3 kB / 0.7036 GB, free: 176 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.177, allocations: 8.031 kB / 0.7037 GB, free: 168 kB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.073e-05/0.1771, allocations: 38.75 kB / 0.7037 GB, free: 120 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.77e-05/0.1771, allocations: 4.938 kB / 0.7037 GB, free: 116 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.1772, allocations: 102.5 kB / 0.7038 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.1772, allocations: 384 / 0.7038 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.1772, allocations: 4.375 kB / 0.7038 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001284/0.1774, allocations: 50.23 kB / 0.7038 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.1774, allocations: 3.938 kB / 0.7038 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.1774, allocations: 0 / 0.7038 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.1774, allocations: 0 / 0.7038 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.077e-05/0.1774, allocations: 11.94 kB / 0.7039 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001719/0.1776, allocations: 136.8 kB / 0.704 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.038e-05/0.1777, allocations: 42.56 kB / 0.704 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.665e-05/0.1777, allocations: 20.97 kB / 0.7041 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 6.137e-05/0.1778, allocations: 0 / 0.7041 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.1778, allocations: 34.56 kB / 0.7041 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 2.725e-06/0.1778, allocations: 4 kB / 0.7041 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.001294/0.1791, allocations: 430.8 kB / 0.7045 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.985e-05/0.1792, allocations: 51.41 kB / 0.7045 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.706e-05/0.1792, allocations: 89.86 kB / 0.7046 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.1792, allocations: 29.7 kB / 0.7047 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.824e-05/0.1793, allocations: 84.14 kB / 0.7047 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.012e-05/0.1793, allocations: 23.78 kB / 0.7048 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-05/0.1794, allocations: 25.84 kB / 0.7048 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002248/0.1796, allocations: 314.8 kB / 0.7051 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.01e-05/0.1796, allocations: 15.98 kB / 0.7051 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.549e-05/0.1796, allocations: 12 kB / 0.7051 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.509e-05/0.1797, allocations: 36.78 kB / 0.7052 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.1797, allocations: 0 / 0.7052 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001228/0.1798, allocations: 77.58 kB / 0.7052 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.1798, allocations: 4 kB / 0.7052 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.1799, allocations: 0 / 0.7052 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.1799, allocations: 4 kB / 0.7052 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.814e-05/0.1799, allocations: 12 kB / 0.7052 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.1799, allocations: 4.297 kB / 0.7052 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.339e-05/0.18, allocations: 448 / 0.7052 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.18, allocations: 4 kB / 0.7053 GB, free: 14.31 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.066e-05/0.1801, allocations: 113.8 kB / 0.7054 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.43e-05/0.1801, allocations: 11.92 kB / 0.7054 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001765/0.1803, allocations: 85.55 kB / 0.7055 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.1803, allocations: 12 kB / 0.7055 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.1803, allocations: 0 / 0.7055 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1803, allocations: 0 / 0.7055 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001291/0.1804, allocations: 136.7 kB / 0.7056 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1804, allocations: 0 / 0.7056 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.226e-05/0.1805, allocations: 15.94 kB / 0.7056 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1805, allocations: 0 / 0.7056 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.1805, allocations: 0 / 0.7056 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.1805, allocations: 7.938 kB / 0.7056 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1805, allocations: 0 / 0.7056 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000181/0.1807, allocations: 117 kB / 0.7057 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.15e-05/0.1807, allocations: 11.92 kB / 0.7057 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.278e-05/0.1807, allocations: 4.031 kB / 0.7057 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.291e-05/0.1807, allocations: 3.938 kB / 0.7057 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.742e-05/0.1808, allocations: 4 kB / 0.7058 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.1808, allocations: 3.984 kB / 0.7058 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.83e-05/0.1808, allocations: 79.28 kB / 0.7058 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.1808, allocations: 8.156 kB / 0.7058 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002892/0.1811, allocations: 27.94 kB / 0.7059 GB, free: 13.61 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.0006019/0.1817, allocations: 0.6709 MB / 0.7065 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001189/0.1818, allocations: 43.86 kB / 0.7066 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1818, allocations: 0 / 0.7066 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 3.59e-05/0.1819, allocations: 28.05 kB / 0.7066 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001365/0.182, allocations: 4 kB / 0.7066 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.1831, allocations: 1.191 MB / 0.7078 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00029/0.1834, allocations: 0.6844 MB / 0.7084 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.243e-05/0.1834, allocations: 12.31 kB / 0.7084 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.99e-05/0.1835, allocations: 19.42 kB / 0.7085 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of SimCode: time 3.1e-07/0.1835, allocations: 0 / 0.7085 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02983/0.2133, allocations: 1.936 MB / 0.7103 GB, free: 9.027 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.58/10.79, allocations: 4 kB / 0.7104 GB, free: 9.023 MB / 0.5294 GB " [Timeout remaining time 649] (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: 14.485508853998908] Failed to read output from testmodel.py, exit status != 0: 10.89171742900362 10.913320175 10.732509151 Calling exit ...