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.001336/0.001336, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001723/0.001723, allocations: 214.9 kB / 22.25 MB, free: 5.078 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.439/1.439, allocations: 230.6 MB / 256 MB, free: 8.012 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.8506/0.8506, allocations: 134 MB / 446.4 MB, free: 10.26 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.001976/0.001976, allocations: 68.34 kB / 0.6186 GB, free: 7.301 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1869/0.1889, allocations: 85.91 MB / 0.7025 GB, free: 1.465 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic): time 0.002694/0.1916, allocations: 0.5954 MB / 0.7031 GB, free: 0.8711 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0004579/0.1921, allocations: 71.84 kB / 0.7031 GB, free: 0.8008 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.429e-05/0.1921, allocations: 0 / 0.7031 GB, free: 0.8008 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 4.09e-05/0.1922, allocations: 4 kB / 0.7031 GB, free: 0.7969 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.225e-05/0.1922, allocations: 7.922 kB / 0.7031 GB, free: 0.7891 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003868/0.1926, allocations: 43.95 kB / 0.7032 GB, free: 0.7461 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001193/0.1927, allocations: 39.83 kB / 0.7032 GB, free: 0.707 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.278e-05/0.1928, allocations: 416 / 0.7032 GB, free: 0.707 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.863e-05/0.1928, allocations: 12 kB / 0.7032 GB, free: 0.6953 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002576/0.193, allocations: 71.86 kB / 0.7033 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.1931, allocations: 0 / 0.7033 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001409/0.1932, allocations: 51.94 kB / 0.7034 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.456e-05/0.1933, allocations: 15.92 kB / 0.7034 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.263e-05/0.1933, allocations: 19.88 kB / 0.7034 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001878/0.1935, allocations: 72 kB / 0.7035 GB, free: 480 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1935, allocations: 0 / 0.7035 GB, free: 480 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.964e-06/0.1935, allocations: 0 / 0.7035 GB, free: 480 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.985e-05/0.1935, allocations: 8 kB / 0.7035 GB, free: 472 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.0004542/0.194, allocations: 286.2 kB / 0.7037 GB, free: 152 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.336e-05/0.194, allocations: 12.03 kB / 0.7038 GB, free: 140 kB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.131e-05/0.1941, allocations: 42.73 kB / 0.7038 GB, free: 88 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.141e-05/0.1941, allocations: 8.891 kB / 0.7038 GB, free: 80 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001338/0.1943, allocations: 106.5 kB / 0.7039 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.1943, allocations: 8.359 kB / 0.7039 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.36e-05/0.1943, allocations: 384 / 0.7039 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003368/0.1946, allocations: 187.2 kB / 0.7041 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.1946, allocations: 3.984 kB / 0.7041 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.694e-05/0.1947, allocations: 4 kB / 0.7041 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.503e-05/0.1947, allocations: 23.92 kB / 0.7041 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.613e-05/0.1948, allocations: 39.91 kB / 0.7042 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009614/0.1958, allocations: 0.8741 MB / 0.705 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001537/0.1959, allocations: 169.1 kB / 0.7052 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.728e-05/0.196, allocations: 80.14 kB / 0.7053 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.749e-05/0.196, allocations: 75.28 kB / 0.7053 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.974e-05/0.1961, allocations: 113.8 kB / 0.7054 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 9.31e-07/0.1961, allocations: 0 / 0.7054 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 0.0001145/0.1962, allocations: 37.59 kB / 0.7055 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002937/0.1965, allocations: 399.6 kB / 0.7058 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001889/0.1967, allocations: 163.6 kB / 0.706 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.118e-05/0.1967, allocations: 33.7 kB / 0.706 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000133/0.1969, allocations: 151.5 kB / 0.7062 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.813e-06/0.1969, allocations: 4 kB / 0.7062 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.866e-05/0.197, allocations: 53.66 kB / 0.7062 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001785/0.1971, allocations: 326.8 kB / 0.7065 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.137e-05/0.1972, allocations: 23.98 kB / 0.7066 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002545/0.1974, allocations: 220 kB / 0.7068 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002585/0.1977, allocations: 209.8 kB / 0.707 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.227e-06/0.1977, allocations: 3.938 kB / 0.707 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003643/0.1981, allocations: 185.5 kB / 0.7072 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.1981, allocations: 8 kB / 0.7072 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.1981, allocations: 7.984 kB / 0.7072 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.408e-05/0.1981, allocations: 11.94 kB / 0.7072 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.1983, allocations: 39.92 kB / 0.7072 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.368e-05/0.1983, allocations: 8 kB / 0.7072 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.1984, allocations: 27.83 kB / 0.7073 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.1984, allocations: 8.344 kB / 0.7073 GB, free: 12.11 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.0001672/0.1986, allocations: 213 kB / 0.7075 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.97e-05/0.1987, allocations: 116.9 kB / 0.7076 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.441e-05/0.1987, allocations: 120.8 kB / 0.7077 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.071e-05/0.1988, allocations: 184.2 kB / 0.7079 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.811e-05/0.1989, allocations: 176.3 kB / 0.708 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.91e-05/0.199, allocations: 184.3 kB / 0.7082 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002936/0.1993, allocations: 396.2 kB / 0.7086 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.203e-05/0.1994, allocations: 105 kB / 0.7087 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.896e-05/0.1994, allocations: 104.9 kB / 0.7088 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.109e-05/0.1995, allocations: 180.3 kB / 0.709 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.483e-05/0.1996, allocations: 180.2 kB / 0.7091 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.877e-05/0.1997, allocations: 184.2 kB / 0.7093 GB, free: 9.883 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.209e-05/0.1998, allocations: 180.2 kB / 0.7095 GB, free: 9.699 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001903/0.1999, allocations: 311.7 kB / 0.7098 GB, free: 9.371 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.129e-05/0.2, allocations: 112.9 kB / 0.7099 GB, free: 9.254 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001173/0.2001, allocations: 196.2 kB / 0.7101 GB, free: 9.055 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/0.2003, allocations: 105 kB / 0.7102 GB, free: 8.945 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.2004, allocations: 188.4 kB / 0.7104 GB, free: 8.754 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.655e-05/0.2004, allocations: 101 kB / 0.7105 GB, free: 8.648 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 9.491e-05/0.2005, allocations: 117.7 kB / 0.7106 GB, free: 8.535 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.2005, allocations: 0 / 0.7106 GB, free: 8.535 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003411/0.2008, allocations: 27.94 kB / 0.7106 GB, free: 8.508 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.0006871/0.2015, allocations: 0.8321 MB / 0.7114 GB, free: 7.648 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002092/0.2017, allocations: 72.66 kB / 0.7115 GB, free: 7.578 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.319e-06/0.2017, allocations: 0 / 0.7115 GB, free: 7.578 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 6.092e-06/0.2018, allocations: 7.984 kB / 0.7115 GB, free: 7.57 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000531/0.2023, allocations: 463.7 kB / 0.7119 GB, free: 7.113 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007472/0.203, allocations: 278.6 kB / 0.7122 GB, free: 6.797 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003713/0.2034, allocations: 0.6969 MB / 0.7129 GB, free: 6.074 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000225/0.2036, allocations: 60.58 kB / 0.7129 GB, free: 6.016 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.682e-05/0.2037, allocations: 19.38 kB / 0.7129 GB, free: 6 MB / 0.5294 GB Notification: Performance of SimCode: time 5.11e-07/0.2037, allocations: 0 / 0.7129 GB, free: 6 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0312/0.2349, allocations: 3.139 MB / 0.716 GB, free: 3.027 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.31, allocations: 5.422 kB / 0.716 GB, free: 3.027 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.862994525115937] Failed to read output from testmodel.py, exit status != 0: 11.41683551389724 11.447007338 11.248054834 Calling exit ...