Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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.001267/0.001267, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001389/0.001389, allocations: 217.8 kB / 23.03 MB, free: 4.922 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.478/1.478, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.8746/0.8746, allocations: 134 MB / 447.2 MB, free: 9.938 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.TrapezoidalIntegration,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="cs",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.001963/0.001963, allocations: 66.77 kB / 0.6193 GB, free: 6.832 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1704, allocations: 85.91 MB / 0.7032 GB, free: 1.004 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001743/0.1721, allocations: 0.5771 MB / 0.7037 GB, free: 440 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0002321/0.1724, allocations: 39.83 kB / 0.7038 GB, free: 400 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.859e-05/0.1724, allocations: 0 / 0.7038 GB, free: 400 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.521e-05/0.1724, allocations: 0 / 0.7038 GB, free: 400 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 3.447e-05/0.1724, allocations: 7.938 kB / 0.7038 GB, free: 392 kB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001887/0.1726, allocations: 11.98 kB / 0.7038 GB, free: 380 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.464e-05/0.1727, allocations: 7.984 kB / 0.7038 GB, free: 372 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.411e-05/0.1727, allocations: 3.938 kB / 0.7038 GB, free: 368 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.129e-05/0.1728, allocations: 4 kB / 0.7038 GB, free: 364 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 3.674e-05/0.1728, allocations: 4 kB / 0.7038 GB, free: 360 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.1728, allocations: 3.984 kB / 0.7038 GB, free: 356 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 7.733e-05/0.1729, allocations: 19.98 kB / 0.7038 GB, free: 336 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.869e-05/0.1729, allocations: 4 kB / 0.7038 GB, free: 332 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.307e-05/0.1729, allocations: 3.938 kB / 0.7039 GB, free: 328 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 9.465e-05/0.173, allocations: 28.12 kB / 0.7039 GB, free: 300 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.173, allocations: 4 kB / 0.7039 GB, free: 296 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.763e-06/0.173, allocations: 0 / 0.7039 GB, free: 296 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.173, allocations: 0 / 0.7039 GB, free: 296 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003289/0.1734, allocations: 276.5 kB / 0.7041 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.1734, allocations: 12.03 kB / 0.7042 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.17e-05/0.1734, allocations: 4.188 kB / 0.7042 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.535e-05/0.1734, allocations: 34.69 kB / 0.7042 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.238e-05/0.1735, allocations: 0.9375 kB / 0.7042 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.357e-05/0.1735, allocations: 110.5 kB / 0.7043 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.208e-06/0.1736, allocations: 384 / 0.7043 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.1736, allocations: 384 / 0.7043 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.1737, allocations: 107.7 kB / 0.7044 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.1737, allocations: 0 / 0.7044 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.352e-06/0.1737, allocations: 0 / 0.7044 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.442e-05/0.1738, allocations: 4 kB / 0.7044 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.371e-05/0.1738, allocations: 57.62 kB / 0.7045 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003147/0.1741, allocations: 231.9 kB / 0.7047 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 6.684e-05/0.1742, allocations: 52.27 kB / 0.7047 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.027e-05/0.1742, allocations: 30.56 kB / 0.7048 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 6.873e-06/0.1742, allocations: 0 / 0.7048 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/0.1743, allocations: 34.62 kB / 0.7048 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.1743, allocations: 0 / 0.7048 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001888/0.1745, allocations: 122.7 kB / 0.7049 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.38e-05/0.1745, allocations: 85.05 kB / 0.705 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.613e-05/0.1746, allocations: 113.9 kB / 0.7051 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.1746, allocations: 29.7 kB / 0.7051 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.422e-05/0.1747, allocations: 107.9 kB / 0.7052 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.262e-06/0.1747, allocations: 0 / 0.7052 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.287e-05/0.1747, allocations: 25.67 kB / 0.7053 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.1749, allocations: 318.8 kB / 0.7056 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.897e-05/0.1749, allocations: 37.69 kB / 0.7056 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.913e-05/0.175, allocations: 88.94 kB / 0.7057 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001187/0.1751, allocations: 134.1 kB / 0.7058 GB, free: 14 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1751, allocations: 0 / 0.7058 GB, free: 14 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001656/0.1753, allocations: 152.8 kB / 0.706 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.3e-05/0.1753, allocations: 29.7 kB / 0.706 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/0.1753, allocations: 12.23 kB / 0.706 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.1753, allocations: 0 / 0.706 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.327e-05/0.1754, allocations: 12 kB / 0.706 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/0.1754, allocations: 12.08 kB / 0.706 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.288e-05/0.1755, allocations: 11.89 kB / 0.706 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.1755, allocations: 4 kB / 0.706 GB, free: 13.74 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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): 7 * Array equations: 0 * Algorithm blocks: 1 * 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.0001/0.1756, allocations: 151.5 kB / 0.7062 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.496e-05/0.1756, allocations: 3.984 kB / 0.7062 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.278e-05/0.1756, allocations: 3.469 kB / 0.7062 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.1756, allocations: 4 kB / 0.7062 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.1756, allocations: 4 kB / 0.7062 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.1756, allocations: 3.938 kB / 0.7062 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001423/0.1758, allocations: 124.8 kB / 0.7063 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.1758, allocations: 0 / 0.7063 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.1758, allocations: 0 / 0.7063 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.1758, allocations: 0 / 0.7063 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.1758, allocations: 4 kB / 0.7063 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1758, allocations: 0 / 0.7063 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1758, allocations: 0 / 0.7063 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001463/0.1759, allocations: 198.8 kB / 0.7065 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.306e-06/0.1759, allocations: 8.031 kB / 0.7065 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.113e-05/0.176, allocations: 0 / 0.7065 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.729e-05/0.176, allocations: 7.984 kB / 0.7065 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.349e-05/0.176, allocations: 3.938 kB / 0.7065 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.176, allocations: 7.938 kB / 0.7065 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.305e-05/0.1761, allocations: 87.28 kB / 0.7066 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1761, allocations: 0 / 0.7066 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002402/0.1763, allocations: 11.98 kB / 0.7066 GB, free: 13.04 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0004698/0.1768, allocations: 0.7236 MB / 0.7073 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001604/0.177, allocations: 142.8 kB / 0.7075 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.177, allocations: 0 / 0.7075 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.947e-05/0.177, allocations: 85.09 kB / 0.7076 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001957/0.1772, allocations: 3.938 kB / 0.7076 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003887/0.1776, allocations: 164.4 kB / 0.7077 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.102e-05/0.1777, allocations: 67.2 kB / 0.7078 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 9.476e-05/0.1778, allocations: 20.28 kB / 0.7078 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.43e-05/0.1778, allocations: 15.44 kB / 0.7078 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of SimCode: time 2.91e-07/0.1778, allocations: 3.938 kB / 0.7078 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02068/0.1985, allocations: 1.613 MB / 0.7094 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.24, allocations: 20.7 kB / 0.7094 GB, free: 10.21 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_TrapezoidalIntegration_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_TrapezoidalIntegration.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.960504121962003] Failed to read output from testmodel.py, exit status != 0: 11.404167509055696 11.426277986 11.250180918 Calling exit ...