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.001874/0.001874, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.002376/0.002376, allocations: 216.4 kB / 22.25 MB, free: 5.117 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.432/1.432, allocations: 230.6 MB / 256 MB, free: 7.996 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.8266/0.8266, allocations: 134 MB / 446.4 MB, free: 10.19 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.003251/0.003251, allocations: 63.22 kB / 0.6186 GB, free: 7.164 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1674/0.1707, allocations: 85.91 MB / 0.7025 GB, free: 1.328 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic): time 0.00168/0.1724, allocations: 0.6015 MB / 0.7031 GB, free: 0.7305 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0003424/0.1727, allocations: 75.72 kB / 0.7031 GB, free: 0.6562 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.108e-05/0.1727, allocations: 4 kB / 0.7031 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.77e-05/0.1728, allocations: 0 / 0.7031 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.5e-05/0.1728, allocations: 11.92 kB / 0.7032 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003042/0.1731, allocations: 43.95 kB / 0.7032 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.543e-05/0.1732, allocations: 27.95 kB / 0.7032 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.537e-05/0.1732, allocations: 8.344 kB / 0.7032 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.458e-05/0.1733, allocations: 12 kB / 0.7032 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002201/0.1735, allocations: 67.86 kB / 0.7033 GB, free: 496 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.645e-05/0.1735, allocations: 4 kB / 0.7033 GB, free: 492 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001144/0.1736, allocations: 47.94 kB / 0.7034 GB, free: 444 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.725e-05/0.1737, allocations: 15.92 kB / 0.7034 GB, free: 428 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.268e-05/0.1737, allocations: 19.88 kB / 0.7034 GB, free: 408 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001379/0.1738, allocations: 68.02 kB / 0.7035 GB, free: 340 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1738, allocations: 8 kB / 0.7035 GB, free: 332 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1738, allocations: 0 / 0.7035 GB, free: 332 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.919e-06/0.1738, allocations: 0 / 0.7035 GB, free: 332 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.0003624/0.1742, allocations: 296.7 kB / 0.7037 GB, free: 4 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.508e-05/0.1743, allocations: 8.078 kB / 0.7038 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.508e-05/0.1743, allocations: 42.69 kB / 0.7038 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.452e-05/0.1743, allocations: 8.891 kB / 0.7038 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.981e-05/0.1744, allocations: 110.5 kB / 0.7039 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.1744, allocations: 4.359 kB / 0.7039 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.375e-05/0.1745, allocations: 8.375 kB / 0.7039 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002746/0.1747, allocations: 179.2 kB / 0.7041 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.1747, allocations: 0 / 0.7041 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.1747, allocations: 4 kB / 0.7041 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.465e-05/0.1748, allocations: 19.98 kB / 0.7041 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.87e-05/0.1749, allocations: 51.83 kB / 0.7042 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008063/0.1757, allocations: 0.8663 MB / 0.705 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001376/0.1758, allocations: 173.1 kB / 0.7052 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.361e-05/0.1759, allocations: 84.14 kB / 0.7053 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.435e-05/0.1759, allocations: 75.28 kB / 0.7053 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.462e-05/0.176, allocations: 109.8 kB / 0.7054 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.176, allocations: 0 / 0.7054 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 8.849e-05/0.176, allocations: 45.59 kB / 0.7055 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002073/0.1763, allocations: 387.7 kB / 0.7058 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001547/0.1764, allocations: 166.4 kB / 0.706 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.37e-05/0.1764, allocations: 33.7 kB / 0.706 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.1765, allocations: 151.5 kB / 0.7062 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.703e-06/0.1765, allocations: 8 kB / 0.7062 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.826e-05/0.1766, allocations: 53.59 kB / 0.7062 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.1768, allocations: 330.8 kB / 0.7066 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.113e-05/0.1768, allocations: 23.98 kB / 0.7066 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002104/0.177, allocations: 217.2 kB / 0.7068 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00022/0.1772, allocations: 201.8 kB / 0.707 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.997e-06/0.1772, allocations: 7.984 kB / 0.707 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002988/0.1775, allocations: 181.2 kB / 0.7072 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.1776, allocations: 8 kB / 0.7072 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.1776, allocations: 4 kB / 0.7072 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/0.1776, allocations: 15.92 kB / 0.7072 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.1777, allocations: 47.92 kB / 0.7072 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/0.1777, allocations: 8.531 kB / 0.7072 GB, free: 12 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.758e-05/0.1778, allocations: 31.83 kB / 0.7073 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.1778, allocations: 8 kB / 0.7073 GB, free: 11.96 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.00014/0.178, allocations: 209 kB / 0.7075 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.908e-05/0.178, allocations: 112.9 kB / 0.7076 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.586e-05/0.1781, allocations: 128.7 kB / 0.7077 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.178e-05/0.1782, allocations: 176.3 kB / 0.7079 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.651e-05/0.1783, allocations: 184.2 kB / 0.7081 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.418e-05/0.1783, allocations: 180.3 kB / 0.7082 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002545/0.1786, allocations: 388.3 kB / 0.7086 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.81e-05/0.1786, allocations: 108.9 kB / 0.7087 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.028e-05/0.1787, allocations: 105 kB / 0.7088 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.938e-05/0.1788, allocations: 184.2 kB / 0.709 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.762e-05/0.1788, allocations: 180.2 kB / 0.7091 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.018e-05/0.1789, allocations: 176.3 kB / 0.7093 GB, free: 9.746 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.247e-05/0.179, allocations: 188.2 kB / 0.7095 GB, free: 9.555 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000177/0.1792, allocations: 311.7 kB / 0.7098 GB, free: 9.227 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.565e-05/0.1792, allocations: 108.9 kB / 0.7099 GB, free: 9.113 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/0.1793, allocations: 196.1 kB / 0.7101 GB, free: 8.914 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.394e-05/0.1794, allocations: 108.9 kB / 0.7102 GB, free: 8.801 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.368e-05/0.1795, allocations: 180.6 kB / 0.7104 GB, free: 8.617 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.569e-05/0.1796, allocations: 104.9 kB / 0.7105 GB, free: 8.508 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 8.854e-05/0.1797, allocations: 117.7 kB / 0.7106 GB, free: 8.395 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1797, allocations: 4 kB / 0.7106 GB, free: 8.391 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003302/0.18, allocations: 27.94 kB / 0.7106 GB, free: 8.363 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.0005558/0.1806, allocations: 0.8243 MB / 0.7114 GB, free: 7.512 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001613/0.1807, allocations: 75.72 kB / 0.7115 GB, free: 7.438 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1807, allocations: 0 / 0.7115 GB, free: 7.438 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 7.274e-06/0.1807, allocations: 8.094 kB / 0.7115 GB, free: 7.43 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004149/0.1811, allocations: 468.9 kB / 0.7119 GB, free: 6.969 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005431/0.1817, allocations: 283.3 kB / 0.7122 GB, free: 6.648 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003459/0.182, allocations: 0.6891 MB / 0.7129 GB, free: 5.934 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00021/0.1822, allocations: 60.58 kB / 0.7129 GB, free: 5.875 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.943e-05/0.1823, allocations: 15.44 kB / 0.7129 GB, free: 5.863 MB / 0.5294 GB Notification: Performance of SimCode: time 3.81e-07/0.1823, allocations: 4 kB / 0.713 GB, free: 5.859 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02858/0.2109, allocations: 3.133 MB / 0.716 GB, free: 2.887 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/10.98, allocations: 7.25 kB / 0.716 GB, free: 2.883 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: 14.66458559899911] Failed to read output from testmodel.py, exit status != 0: 11.085019587000716 11.113949623 10.934649151 Calling exit ...