Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.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.001445/0.001445, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001914/0.001914, allocations: 212.6 kB / 22.24 MB, free: 4.855 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.486/1.486, allocations: 230.6 MB / 256 MB, free: 7.801 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.8427/0.8427, allocations: 134 MB / 446.4 MB, free: 9.965 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.IsMonotonic,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_IsMonotonic",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.002017/0.002017, allocations: 63.91 kB / 0.6185 GB, free: 6.855 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1628, allocations: 85.92 MB / 0.7024 GB, free: 1.027 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001714/0.1645, allocations: 0.5983 MB / 0.703 GB, free: 444 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0003217/0.1648, allocations: 71.84 kB / 0.7031 GB, free: 372 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.003e-05/0.1648, allocations: 4 kB / 0.7031 GB, free: 368 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.771e-05/0.1649, allocations: 0 / 0.7031 GB, free: 368 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.799e-05/0.1649, allocations: 11.92 kB / 0.7031 GB, free: 356 kB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002738/0.1652, allocations: 39.94 kB / 0.7031 GB, free: 316 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.363e-05/0.1652, allocations: 27.92 kB / 0.7031 GB, free: 288 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.001e-05/0.1653, allocations: 4.406 kB / 0.7032 GB, free: 284 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.703e-05/0.1653, allocations: 23.91 kB / 0.7032 GB, free: 260 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001845/0.1655, allocations: 59.94 kB / 0.7032 GB, free: 200 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.1655, allocations: 4 kB / 0.7032 GB, free: 196 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001065/0.1656, allocations: 43.89 kB / 0.7033 GB, free: 152 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.884e-05/0.1657, allocations: 19.92 kB / 0.7033 GB, free: 132 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.206e-05/0.1657, allocations: 19.86 kB / 0.7033 GB, free: 112 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001288/0.1658, allocations: 68.02 kB / 0.7034 GB, free: 44 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1658, allocations: 0 / 0.7034 GB, free: 44 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1658, allocations: 4 kB / 0.7034 GB, free: 40 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.366e-06/0.1658, allocations: 0 / 0.7034 GB, free: 40 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0003535/0.1662, allocations: 298.1 kB / 0.7037 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.1662, allocations: 8.031 kB / 0.7037 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.859e-05/0.1663, allocations: 46.67 kB / 0.7037 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.27e-05/0.1663, allocations: 8.891 kB / 0.7037 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.992e-05/0.1664, allocations: 110.5 kB / 0.7038 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.699e-06/0.1664, allocations: 384 / 0.7038 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.174e-05/0.1664, allocations: 4.375 kB / 0.7038 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000381/0.1668, allocations: 441.9 kB / 0.7043 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.1668, allocations: 0 / 0.7043 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.1668, allocations: 8 kB / 0.7043 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.547e-05/0.1668, allocations: 19.98 kB / 0.7043 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.128e-05/0.1669, allocations: 39.84 kB / 0.7043 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007217/0.1676, allocations: 0.8741 MB / 0.7052 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.605e-05/0.1677, allocations: 173.1 kB / 0.7053 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.063e-05/0.1678, allocations: 80.14 kB / 0.7054 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.303e-05/0.1678, allocations: 75.28 kB / 0.7055 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.881e-05/0.1679, allocations: 113.8 kB / 0.7056 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/0.1679, allocations: 0 / 0.7056 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 7.925e-05/0.1679, allocations: 37.59 kB / 0.7056 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001937/0.1681, allocations: 391.7 kB / 0.706 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.1683, allocations: 178.9 kB / 0.7062 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.1683, allocations: 25.7 kB / 0.7062 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.917e-05/0.1684, allocations: 151.5 kB / 0.7064 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 8.325e-06/0.1684, allocations: 11.98 kB / 0.7064 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.966e-05/0.1685, allocations: 53.66 kB / 0.7064 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.1686, allocations: 318.8 kB / 0.7067 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.25e-05/0.1687, allocations: 27.97 kB / 0.7067 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003315/0.169, allocations: 476.9 kB / 0.7072 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002177/0.1692, allocations: 201.8 kB / 0.7074 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1692, allocations: 0 / 0.7074 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002945/0.1695, allocations: 193.1 kB / 0.7076 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.1695, allocations: 8 kB / 0.7076 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.1696, allocations: 4 kB / 0.7076 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/0.1696, allocations: 12.03 kB / 0.7076 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.1697, allocations: 44.52 kB / 0.7076 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/0.1697, allocations: 11.98 kB / 0.7077 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.928e-05/0.1698, allocations: 27.89 kB / 0.7077 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/0.1698, allocations: 8 kB / 0.7077 GB, free: 11.05 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (21): * Single equations (assignments): 21 * 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 0.0001455/0.17, allocations: 215 kB / 0.7079 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.295e-05/0.17, allocations: 116.9 kB / 0.708 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.483e-05/0.1701, allocations: 120.8 kB / 0.7081 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.742e-05/0.1702, allocations: 180.2 kB / 0.7083 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.706e-05/0.1703, allocations: 180.2 kB / 0.7085 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.797e-05/0.1703, allocations: 188.3 kB / 0.7086 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002549/0.1706, allocations: 388.2 kB / 0.709 GB, free: 9.602 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.511e-05/0.1706, allocations: 109 kB / 0.7091 GB, free: 9.488 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.795e-05/0.1707, allocations: 105 kB / 0.7092 GB, free: 9.379 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.726e-05/0.1708, allocations: 184.2 kB / 0.7094 GB, free: 9.191 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.119e-05/0.1708, allocations: 180.2 kB / 0.7096 GB, free: 9.008 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.625e-05/0.1709, allocations: 180.2 kB / 0.7097 GB, free: 8.824 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.618e-05/0.171, allocations: 180.3 kB / 0.7099 GB, free: 8.641 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001713/0.1712, allocations: 315.7 kB / 0.7102 GB, free: 8.309 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.285e-05/0.1712, allocations: 108.9 kB / 0.7103 GB, free: 8.195 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.553e-05/0.1713, allocations: 188.1 kB / 0.7105 GB, free: 8.004 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.18e-05/0.1714, allocations: 109 kB / 0.7106 GB, free: 7.891 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.567e-05/0.1715, allocations: 188.5 kB / 0.7108 GB, free: 7.699 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.156e-05/0.1715, allocations: 105 kB / 0.7109 GB, free: 7.59 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 8.891e-05/0.1716, allocations: 117.7 kB / 0.711 GB, free: 7.477 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1716, allocations: 3.938 kB / 0.711 GB, free: 7.473 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003019/0.1719, allocations: 24 kB / 0.711 GB, free: 7.449 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 (0): * Single equations (assignments): 0 * 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.0005046/0.1724, allocations: 0.832 MB / 0.7118 GB, free: 6.59 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001533/0.1726, allocations: 72.97 kB / 0.7119 GB, free: 6.52 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.1726, allocations: 4 kB / 0.7119 GB, free: 6.516 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 3.687e-06/0.1726, allocations: 4 kB / 0.7119 GB, free: 6.512 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004009/0.173, allocations: 470 kB / 0.7124 GB, free: 6.051 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004984/0.1735, allocations: 270.2 kB / 0.7126 GB, free: 5.742 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.459e-05/0.1736, allocations: 87.89 kB / 0.7127 GB, free: 5.637 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001987/0.1738, allocations: 56.72 kB / 0.7127 GB, free: 5.582 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.134e-05/0.1738, allocations: 15.44 kB / 0.7128 GB, free: 5.566 MB / 0.5294 GB Notification: Performance of SimCode: time 3.8e-07/0.1738, allocations: 0 / 0.7128 GB, free: 5.566 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03014/0.204, allocations: 3.586 MB / 0.7163 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.39, allocations: 8.953 kB / 0.7163 GB, free: 2.176 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic_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_IsMonotonic.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.050707524176687] Failed to read output from testmodel.py, exit status != 0: 11.490319580771029 11.507820354 11.338868099 Calling exit ...