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.001443/0.001443, allocations: 115.6 kB / 17.16 MB, free: 5.895 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.001474/0.001474, allocations: 215 kB / 20.13 MB, free: 2.949 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.475/1.475, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.8813/0.8813, allocations: 133.9 MB / 443.5 MB, free: 13.85 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.002007/0.002007, allocations: 70.05 kB / 0.6141 GB, free: 38.27 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1738/0.1758, allocations: 85.86 MB / 0.698 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001733/0.1775, allocations: 0.5668 MB / 0.6985 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0002713/0.1778, allocations: 41.5 kB / 0.6986 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.631e-05/0.1778, allocations: 0 / 0.6986 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.124e-05/0.1778, allocations: 0 / 0.6986 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.194e-05/0.1779, allocations: 9.297 kB / 0.6986 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002123/0.1781, allocations: 9.5 kB / 0.6986 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.819e-05/0.1782, allocations: 14.72 kB / 0.6986 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.537e-05/0.1782, allocations: 1.375 kB / 0.6986 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.908e-05/0.1782, allocations: 1.375 kB / 0.6986 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.282e-05/0.1783, allocations: 1.375 kB / 0.6986 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.333e-05/0.1783, allocations: 0 / 0.6986 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 7.401e-05/0.1784, allocations: 20.14 kB / 0.6986 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.569e-05/0.1784, allocations: 6.594 kB / 0.6986 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.746e-05/0.1784, allocations: 9.281 kB / 0.6987 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001022/0.1785, allocations: 22.58 kB / 0.6987 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.1785, allocations: 4 kB / 0.6987 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.783e-06/0.1786, allocations: 0 / 0.6987 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.72e-06/0.1786, allocations: 0 / 0.6987 GB, free: 13.19 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000477/0.179, allocations: 354.4 kB / 0.699 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.1791, allocations: 14.45 kB / 0.699 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.187e-05/0.1791, allocations: 9.312 kB / 0.699 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.143e-05/0.1791, allocations: 39.84 kB / 0.6991 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.525e-05/0.1792, allocations: 2.219 kB / 0.6991 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/0.1793, allocations: 168.7 kB / 0.6992 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.404e-06/0.1793, allocations: 384 / 0.6992 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.43e-05/0.1793, allocations: 6.359 kB / 0.6992 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001365/0.1794, allocations: 58.28 kB / 0.6993 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.1794, allocations: 0 / 0.6993 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.264e-06/0.1794, allocations: 0 / 0.6993 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.447e-05/0.1795, allocations: 9.656 kB / 0.6993 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.801e-05/0.1795, allocations: 27.42 kB / 0.6993 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003411/0.1799, allocations: 274.6 kB / 0.6996 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 4.58e-05/0.1799, allocations: 17.33 kB / 0.6996 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.808e-05/0.1799, allocations: 6.234 kB / 0.6996 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.126e-06/0.1799, allocations: 1.281 kB / 0.6996 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/0.18, allocations: 35.81 kB / 0.6997 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.18, allocations: 0 / 0.6997 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001781/0.1801, allocations: 73.67 kB / 0.6997 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/0.1802, allocations: 77.11 kB / 0.6998 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.452e-05/0.1803, allocations: 118.8 kB / 0.6999 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.1803, allocations: 25.7 kB / 0.6999 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.457e-05/0.1804, allocations: 107.1 kB / 0.7 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 8.466e-06/0.1804, allocations: 5.203 kB / 0.7 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.19e-05/0.1804, allocations: 25.69 kB / 0.7001 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.1805, allocations: 320.8 kB / 0.7004 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.442e-05/0.1806, allocations: 9.875 kB / 0.7004 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.275e-05/0.1806, allocations: 58.3 kB / 0.7004 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000122/0.1808, allocations: 132 kB / 0.7006 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1808, allocations: 1.125 kB / 0.7006 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001461/0.1809, allocations: 119.6 kB / 0.7007 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.333e-05/0.181, allocations: 32.48 kB / 0.7007 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.181, allocations: 1.094 kB / 0.7007 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.181, allocations: 6.641 kB / 0.7007 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.344e-05/0.181, allocations: 10.66 kB / 0.7007 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.181, allocations: 6.031 kB / 0.7007 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.436e-05/0.1811, allocations: 16.2 kB / 0.7008 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.545e-05/0.1811, allocations: 14 kB / 0.7008 GB, free: 10.96 MB / 0.5137 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 9.933e-05/0.1812, allocations: 148.9 kB / 0.7009 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.357e-05/0.1812, allocations: 2.438 kB / 0.7009 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.507e-05/0.1813, allocations: 4.656 kB / 0.7009 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.1813, allocations: 1.25 kB / 0.7009 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1813, allocations: 0 / 0.7009 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.1813, allocations: 3.938 kB / 0.7009 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001664/0.1814, allocations: 154.5 kB / 0.7011 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.1814, allocations: 0 / 0.7011 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.603e-06/0.1814, allocations: 9.031 kB / 0.7011 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.1814, allocations: 0 / 0.7011 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.1815, allocations: 5.344 kB / 0.7011 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.1815, allocations: 0 / 0.7011 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1815, allocations: 1.5 kB / 0.7011 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001346/0.1816, allocations: 173.2 kB / 0.7012 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.396e-05/0.1816, allocations: 81.09 kB / 0.7013 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.15e-05/0.1816, allocations: 5.469 kB / 0.7013 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.914e-05/0.1817, allocations: 5.578 kB / 0.7013 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.053e-05/0.1817, allocations: 1.5 kB / 0.7013 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.1817, allocations: 5.188 kB / 0.7013 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.017e-05/0.1818, allocations: 90.64 kB / 0.7014 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.1818, allocations: 0 / 0.7014 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002383/0.182, allocations: 9.344 kB / 0.7014 GB, free: 10.21 MB / 0.5137 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.0004631/0.1825, allocations: 0.7053 MB / 0.7021 GB, free: 9.512 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001342/0.1826, allocations: 82.83 kB / 0.7022 GB, free: 9.438 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1826, allocations: 0 / 0.7022 GB, free: 9.438 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.782e-05/0.1826, allocations: 55.88 kB / 0.7023 GB, free: 9.375 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001995/0.1828, allocations: 7.625 kB / 0.7023 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003712/0.1832, allocations: 147.8 kB / 0.7024 GB, free: 9.215 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003028/0.1835, allocations: 0.681 MB / 0.7031 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 6.125e-05/0.1836, allocations: 14.42 kB / 0.7031 GB, free: 8.504 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.338e-05/0.1836, allocations: 15.12 kB / 0.7031 GB, free: 8.492 MB / 0.5137 GB Notification: Performance of SimCode: time 2.71e-07/0.1836, allocations: 0 / 0.7031 GB, free: 8.492 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01726/0.2009, allocations: 1.482 MB / 0.7045 GB, free: 7.719 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.182/8.383, allocations: 11.42 kB / 0.7046 GB, free: 7.715 MB / 0.5137 GB " [Timeout remaining time 651] (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: 12.13358954899013] Failed to read output from testmodel.py, exit status != 0: 8.799158935958985 8.534264974 8.351006718 Calling exit ...