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.001737/0.001737, allocations: 113.8 kB / 19.73 MB, free: 2.242 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.002145/0.002145, allocations: 219.6 kB / 23.04 MB, free: 5.074 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.447/1.447, allocations: 230.6 MB / 256.8 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.8378/0.8378, allocations: 134 MB / 447.2 MB, free: 10.23 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_IsMonotonic",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.001992/0.001992, allocations: 63.88 kB / 0.6194 GB, free: 7.199 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.1685, allocations: 85.91 MB / 0.7032 GB, free: 1.367 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001914/0.1704, allocations: 0.6031 MB / 0.7038 GB, free: 0.7656 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0003171/0.1708, allocations: 67.84 kB / 0.7039 GB, free: 0.6992 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.876e-05/0.1708, allocations: 0 / 0.7039 GB, free: 0.6992 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.441e-05/0.1708, allocations: 7.938 kB / 0.7039 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.109e-05/0.1709, allocations: 7.984 kB / 0.7039 GB, free: 0.6836 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002876/0.1711, allocations: 47.88 kB / 0.704 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.238e-05/0.1712, allocations: 19.98 kB / 0.704 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.339e-05/0.1712, allocations: 416 / 0.704 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.366e-05/0.1713, allocations: 15.98 kB / 0.704 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001901/0.1714, allocations: 75.86 kB / 0.7041 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.127e-05/0.1715, allocations: 0 / 0.7041 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001048/0.1716, allocations: 51.94 kB / 0.7041 GB, free: 488 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.597e-05/0.1716, allocations: 15.94 kB / 0.7041 GB, free: 472 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.799e-05/0.1716, allocations: 23.86 kB / 0.7042 GB, free: 448 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001229/0.1718, allocations: 67.95 kB / 0.7042 GB, free: 380 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.1718, allocations: 3.938 kB / 0.7042 GB, free: 376 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.502e-06/0.1718, allocations: 0 / 0.7042 GB, free: 376 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.1718, allocations: 0 / 0.7042 GB, free: 376 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.0003166/0.1721, allocations: 290.2 kB / 0.7045 GB, free: 52 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.1721, allocations: 12.03 kB / 0.7045 GB, free: 40 kB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.921e-05/0.1721, allocations: 4.188 kB / 0.7045 GB, free: 36 kB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.328e-05/0.1722, allocations: 46.72 kB / 0.7046 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.195e-05/0.1722, allocations: 8.891 kB / 0.7046 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.921e-05/0.1723, allocations: 106.5 kB / 0.7047 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.1723, allocations: 8.312 kB / 0.7047 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.127e-06/0.1723, allocations: 4.375 kB / 0.7047 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002474/0.1726, allocations: 181.1 kB / 0.7049 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.1726, allocations: 4 kB / 0.7049 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.1726, allocations: 3.938 kB / 0.7049 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.307e-05/0.1726, allocations: 23.98 kB / 0.7049 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.451e-05/0.1727, allocations: 35.91 kB / 0.7049 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006934/0.1734, allocations: 0.878 MB / 0.7058 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.184e-05/0.1735, allocations: 173.1 kB / 0.7059 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.608e-05/0.1735, allocations: 80.14 kB / 0.706 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.58e-05/0.1736, allocations: 83.27 kB / 0.7061 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.691e-05/0.1736, allocations: 113.8 kB / 0.7062 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.1736, allocations: 0 / 0.7062 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 7.894e-05/0.1737, allocations: 41.59 kB / 0.7063 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001966/0.1739, allocations: 387.7 kB / 0.7066 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.1741, allocations: 170.6 kB / 0.7068 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.1741, allocations: 29.7 kB / 0.7068 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.1742, allocations: 147.5 kB / 0.707 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.18e-06/0.1742, allocations: 4 kB / 0.707 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.812e-05/0.1743, allocations: 57.59 kB / 0.707 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.1744, allocations: 318.8 kB / 0.7073 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.668e-05/0.1744, allocations: 27.97 kB / 0.7073 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001961/0.1746, allocations: 224 kB / 0.7076 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002218/0.1748, allocations: 197.7 kB / 0.7077 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.1749, allocations: 8 kB / 0.7078 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003108/0.1752, allocations: 189.7 kB / 0.7079 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.1752, allocations: 8.125 kB / 0.7079 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.1752, allocations: 11.94 kB / 0.708 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.1752, allocations: 4 kB / 0.708 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.1753, allocations: 39.92 kB / 0.708 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.1753, allocations: 4 kB / 0.708 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.25e-05/0.1754, allocations: 31.86 kB / 0.708 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.591e-05/0.1755, allocations: 15.94 kB / 0.708 GB, free: 12 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.0001397/0.1756, allocations: 209 kB / 0.7082 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.324e-05/0.1757, allocations: 116.9 kB / 0.7084 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.359e-05/0.1757, allocations: 124.8 kB / 0.7085 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.546e-05/0.1758, allocations: 180.2 kB / 0.7086 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.697e-05/0.1759, allocations: 176.3 kB / 0.7088 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.944e-05/0.176, allocations: 180.2 kB / 0.709 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002512/0.1762, allocations: 396.3 kB / 0.7094 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.83e-05/0.1763, allocations: 105 kB / 0.7095 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.197e-05/0.1763, allocations: 104.9 kB / 0.7096 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.174e-05/0.1764, allocations: 176.3 kB / 0.7097 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.933e-05/0.1765, allocations: 188.1 kB / 0.7099 GB, free: 9.965 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.466e-05/0.1765, allocations: 184.3 kB / 0.7101 GB, free: 9.777 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.072e-05/0.1766, allocations: 180.3 kB / 0.7103 GB, free: 9.594 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001656/0.1768, allocations: 307.7 kB / 0.7106 GB, free: 9.27 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.086e-05/0.1768, allocations: 120.9 kB / 0.7107 GB, free: 9.145 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/0.1769, allocations: 180.2 kB / 0.7108 GB, free: 8.961 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.902e-05/0.177, allocations: 116.9 kB / 0.7109 GB, free: 8.84 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.998e-05/0.1771, allocations: 184.6 kB / 0.7111 GB, free: 8.652 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-05/0.1772, allocations: 109 kB / 0.7112 GB, free: 8.539 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 9.055e-05/0.1773, allocations: 116.4 kB / 0.7113 GB, free: 8.426 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1773, allocations: 0 / 0.7113 GB, free: 8.426 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003253/0.1776, allocations: 31.94 kB / 0.7114 GB, free: 8.395 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.0005246/0.1781, allocations: 0.8282 MB / 0.7122 GB, free: 7.539 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001684/0.1783, allocations: 68.78 kB / 0.7122 GB, free: 7.473 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/0.1783, allocations: 4 kB / 0.7122 GB, free: 7.469 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.593e-06/0.1783, allocations: 4.312 kB / 0.7123 GB, free: 7.465 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004364/0.1787, allocations: 467.6 kB / 0.7127 GB, free: 7.004 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006252/0.1793, allocations: 274.2 kB / 0.713 GB, free: 6.691 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003214/0.1797, allocations: 0.6891 MB / 0.7136 GB, free: 5.977 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002148/0.1799, allocations: 56.58 kB / 0.7137 GB, free: 5.922 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.685e-05/0.1799, allocations: 23.44 kB / 0.7137 GB, free: 5.902 MB / 0.5294 GB Notification: Performance of SimCode: time 5.91e-07/0.1799, allocations: 0 / 0.7137 GB, free: 5.902 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02272/0.2026, allocations: 3.165 MB / 0.7168 GB, free: 2.922 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.32, allocations: 5.938 kB / 0.7168 GB, free: 2.918 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_IsMonotonic_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.93741999892518] Failed to read output from testmodel.py, exit status != 0: 11.480873720953241 11.49818755 11.323366694 Calling exit ...