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.001284/0.001284, allocations: 107.2 kB / 16.45 MB, free: 6.5 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.001369/0.001369, allocations: 210.4 kB / 19.42 MB, free: 3.66 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.434/1.434, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.8389/0.8389, 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.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_TrapezoidalIntegration",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.001935/0.001935, allocations: 62.5 kB / 0.6135 GB, free: 8.699 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1618, allocations: 85.85 MB / 0.6973 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001669/0.1635, allocations: 0.5808 MB / 0.6979 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.000237/0.1637, allocations: 47.81 kB / 0.6979 GB, free: 2.297 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.012e-05/0.1638, allocations: 0 / 0.6979 GB, free: 2.297 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.23e-05/0.1638, allocations: 4 kB / 0.6979 GB, free: 2.293 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 3.747e-05/0.1638, allocations: 0 / 0.6979 GB, free: 2.293 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002126/0.164, allocations: 15.92 kB / 0.6979 GB, free: 2.277 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.313e-05/0.1641, allocations: 4 kB / 0.6979 GB, free: 2.273 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.086e-05/0.1642, allocations: 0 / 0.6979 GB, free: 2.273 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.875e-05/0.1642, allocations: 0 / 0.6979 GB, free: 2.273 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.369e-05/0.1642, allocations: 4 kB / 0.6979 GB, free: 2.27 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.256e-05/0.1642, allocations: 0 / 0.6979 GB, free: 2.27 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 7.898e-05/0.1643, allocations: 27.97 kB / 0.698 GB, free: 2.242 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.412e-05/0.1643, allocations: 4 kB / 0.698 GB, free: 2.238 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.006e-05/0.1644, allocations: 3.938 kB / 0.698 GB, free: 2.234 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001073/0.1645, allocations: 32.06 kB / 0.698 GB, free: 2.203 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1645, allocations: 0 / 0.698 GB, free: 2.203 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.134e-06/0.1645, allocations: 4 kB / 0.698 GB, free: 2.199 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.1645, allocations: 0 / 0.698 GB, free: 2.199 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.0003685/0.1649, allocations: 355.1 kB / 0.6983 GB, free: 1.797 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.1649, allocations: 9.109 kB / 0.6984 GB, free: 1.789 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.103e-05/0.1649, allocations: 42.73 kB / 0.6984 GB, free: 1.738 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.682e-05/0.165, allocations: 0.9375 kB / 0.6984 GB, free: 1.738 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.1651, allocations: 164.3 kB / 0.6986 GB, free: 1.539 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.1651, allocations: 384 / 0.6986 GB, free: 1.539 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.688e-06/0.1651, allocations: 4.375 kB / 0.6986 GB, free: 1.535 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001223/0.1652, allocations: 54.25 kB / 0.6986 GB, free: 1.477 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.1652, allocations: 3.938 kB / 0.6986 GB, free: 1.473 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.1652, allocations: 3.938 kB / 0.6986 GB, free: 1.469 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.299e-05/0.1653, allocations: 4 kB / 0.6986 GB, free: 1.465 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.323e-05/0.1653, allocations: 23.98 kB / 0.6986 GB, free: 1.441 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003353/0.1656, allocations: 280.7 kB / 0.6989 GB, free: 1.117 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 4.549e-05/0.1657, allocations: 18.52 kB / 0.6989 GB, free: 1.09 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.269e-05/0.1657, allocations: 16.89 kB / 0.6989 GB, free: 1.07 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 7.344e-06/0.1657, allocations: 0 / 0.6989 GB, free: 1.07 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.1657, allocations: 30.56 kB / 0.699 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.1657, allocations: 0 / 0.699 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001811/0.1659, allocations: 75.34 kB / 0.699 GB, free: 0.9453 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.938e-05/0.166, allocations: 77.11 kB / 0.6991 GB, free: 0.8516 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.729e-05/0.1661, allocations: 117.8 kB / 0.6992 GB, free: 0.7266 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.1661, allocations: 25.7 kB / 0.6993 GB, free: 0.6953 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.111e-05/0.1661, allocations: 103.9 kB / 0.6994 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.342e-06/0.1662, allocations: 0 / 0.6994 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.397e-05/0.1662, allocations: 29.66 kB / 0.6994 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.1663, allocations: 322.9 kB / 0.6997 GB, free: 236 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.669e-05/0.1664, allocations: 12.39 kB / 0.6997 GB, free: 224 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.148e-05/0.1664, allocations: 58.86 kB / 0.6998 GB, free: 140 kB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001375/0.1666, allocations: 134.3 kB / 0.6999 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.1666, allocations: 0 / 0.6999 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000156/0.1667, allocations: 123.2 kB / 0.7 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.683e-05/0.1668, allocations: 29.7 kB / 0.7 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.1668, allocations: 4 kB / 0.7 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.1668, allocations: 0 / 0.7 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.704e-05/0.1668, allocations: 16 kB / 0.7001 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.1669, allocations: 4 kB / 0.7001 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.775e-05/0.1669, allocations: 11.94 kB / 0.7001 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.567e-05/0.1669, allocations: 7.938 kB / 0.7001 GB, free: 15.75 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 9.901e-05/0.167, allocations: 155.6 kB / 0.7002 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.496e-05/0.1671, allocations: 4 kB / 0.7002 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.946e-05/0.1671, allocations: 3.531 kB / 0.7002 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.1671, allocations: 0 / 0.7002 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.1671, allocations: 3.984 kB / 0.7002 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.1671, allocations: 4 kB / 0.7002 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001521/0.1672, allocations: 153.6 kB / 0.7004 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.1672, allocations: 7.922 kB / 0.7004 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.1672, allocations: 0 / 0.7004 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.1672, allocations: 0 / 0.7004 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.1673, allocations: 8 kB / 0.7004 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.1673, allocations: 0 / 0.7004 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.1673, allocations: 0 / 0.7004 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001347/0.1674, allocations: 173.1 kB / 0.7006 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.692e-05/0.1674, allocations: 81.11 kB / 0.7006 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.969e-06/0.1674, allocations: 0 / 0.7006 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.357e-05/0.1675, allocations: 0 / 0.7006 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.269e-05/0.1675, allocations: 8.031 kB / 0.7007 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.1675, allocations: 0 / 0.7007 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.512e-05/0.1676, allocations: 91.2 kB / 0.7007 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1676, allocations: 0 / 0.7007 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002384/0.1678, allocations: 12 kB / 0.7007 GB, free: 14.95 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.0005017/0.1683, allocations: 0.7024 MB / 0.7014 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000153/0.1685, allocations: 87.27 kB / 0.7015 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1685, allocations: 0 / 0.7015 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 4.064e-05/0.1685, allocations: 59.39 kB / 0.7016 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001984/0.1687, allocations: 8 kB / 0.7016 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003826/0.1691, allocations: 141.8 kB / 0.7017 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/0.1694, allocations: 0.6883 MB / 0.7024 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 8.67e-05/0.1695, allocations: 15.72 kB / 0.7024 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.083e-05/0.1695, allocations: 11.44 kB / 0.7024 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of SimCode: time 2.7e-07/0.1695, allocations: 0 / 0.7024 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02713/0.1966, allocations: 1.44 MB / 0.7038 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.705/7.902, allocations: 2.5 kB / 0.7038 GB, free: 11.83 MB / 0.5294 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration_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_Functions_Examples_TrapezoidalIntegration.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.513551525989897] Failed to read output from testmodel.py, exit status != 0: 7.967063430987764 7.982032648 7.814712517 Calling exit ...