Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0009527/0.0009527, allocations: 100.4 kB / 19.7 MB, free: 452 kB / 13.93 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.0009629/0.0009629, allocations: 212.1 kB / 23 MB, free: 2.98 MB / 13.93 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 0.886/0.886, allocations: 230.6 MB / 256.8 MB, free: 9.613 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7715/0.7715, allocations: 203.8 MB / 0.5049 GB, free: 10.43 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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: translateModel(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic") translateModel(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic") [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.0008997/0.0008997, allocations: 66.25 kB / 0.7194 GB, free: 3.5 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4874/0.4883, allocations: 102 MB / 0.8191 GB, free: 1.336 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic): time 0.0013/0.4896, allocations: 0.6179 MB / 0.8197 GB, free: 0.9531 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000295/0.4899, allocations: 67.36 kB / 0.8197 GB, free: 0.918 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.144e-05/0.4899, allocations: 0 / 0.8197 GB, free: 0.918 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.609e-05/0.4899, allocations: 1.266 kB / 0.8197 GB, free: 0.918 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.233e-05/0.49, allocations: 15.39 kB / 0.8197 GB, free: 0.9102 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003004/0.4903, allocations: 39.89 kB / 0.8198 GB, free: 0.8984 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.915e-05/0.4903, allocations: 27.59 kB / 0.8198 GB, free: 0.8867 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.154e-05/0.4904, allocations: 6.656 kB / 0.8198 GB, free: 0.8828 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.689e-05/0.4904, allocations: 18.91 kB / 0.8198 GB, free: 0.875 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000181/0.4906, allocations: 63.94 kB / 0.8199 GB, free: 0.8594 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.283e-05/0.4906, allocations: 0 / 0.8199 GB, free: 0.8594 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.175e-05/0.4907, allocations: 45.23 kB / 0.8199 GB, free: 0.8477 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.479e-05/0.4907, allocations: 28.56 kB / 0.82 GB, free: 0.832 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.27e-05/0.4907, allocations: 12.69 kB / 0.82 GB, free: 0.8242 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001223/0.4909, allocations: 67.72 kB / 0.82 GB, free: 0.8047 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.564e-06/0.4909, allocations: 0 / 0.82 GB, free: 0.8047 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.774e-06/0.4909, allocations: 0 / 0.82 GB, free: 0.8047 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.4909, allocations: 0 / 0.82 GB, free: 0.8047 MB / 0.6042 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.0002243/0.4911, allocations: 293.8 kB / 0.8203 GB, free: 0.5195 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.4911, allocations: 8.781 kB / 0.8203 GB, free: 0.5195 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.538e-05/0.4912, allocations: 9.016 kB / 0.8203 GB, free: 0.5156 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.463e-05/0.4912, allocations: 114.3 kB / 0.8204 GB, free: 392 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.4912, allocations: 384 / 0.8204 GB, free: 392 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.905e-06/0.4912, allocations: 6.406 kB / 0.8204 GB, free: 388 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002404/0.4914, allocations: 442.4 kB / 0.8209 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.4915, allocations: 0 / 0.8209 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.4915, allocations: 6.281 kB / 0.8209 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.621e-05/0.4915, allocations: 22.17 kB / 0.8209 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.575e-05/0.4916, allocations: 45.45 kB / 0.8209 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004847/0.492, allocations: 0.8437 MB / 0.8218 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.65e-05/0.4921, allocations: 176.4 kB / 0.8219 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.425e-05/0.4921, allocations: 80.14 kB / 0.822 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.4922, allocations: 75.28 kB / 0.8221 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.895e-05/0.4922, allocations: 122.2 kB / 0.8222 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 2.484e-06/0.4922, allocations: 3.984 kB / 0.8222 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 6.5e-05/0.4923, allocations: 38.84 kB / 0.8222 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001228/0.4924, allocations: 389.1 kB / 0.8226 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/0.4925, allocations: 176.6 kB / 0.8228 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/0.4925, allocations: 26.36 kB / 0.8228 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.364e-05/0.4926, allocations: 150.8 kB / 0.8229 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.011e-06/0.4926, allocations: 7.078 kB / 0.8229 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.719e-05/0.4926, allocations: 52.42 kB / 0.823 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.915e-05/0.4927, allocations: 325.4 kB / 0.8233 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.238e-05/0.4927, allocations: 26.16 kB / 0.8233 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001847/0.4929, allocations: 482 kB / 0.8238 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001367/0.4931, allocations: 198.2 kB / 0.824 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.4931, allocations: 4.953 kB / 0.824 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002156/0.4933, allocations: 193.5 kB / 0.8242 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.4933, allocations: 7.625 kB / 0.8242 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.4933, allocations: 8.75 kB / 0.8242 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.4933, allocations: 5.781 kB / 0.8242 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.94e-05/0.4934, allocations: 38 kB / 0.8242 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.4934, allocations: 15.44 kB / 0.8242 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.745e-05/0.4935, allocations: 26.73 kB / 0.8243 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.4935, allocations: 9.938 kB / 0.8243 GB, free: 12.62 MB / 0.6198 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 9.26e-05/0.4936, allocations: 216.2 kB / 0.8245 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.323e-05/0.4936, allocations: 111.2 kB / 0.8246 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.014e-05/0.4937, allocations: 119.2 kB / 0.8247 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.972e-05/0.4937, allocations: 180.1 kB / 0.8249 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.371e-05/0.4938, allocations: 195 kB / 0.8251 GB, free: 11.81 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.795e-05/0.4938, allocations: 178 kB / 0.8252 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001411/0.4939, allocations: 370.6 kB / 0.8256 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.784e-05/0.494, allocations: 110.8 kB / 0.8257 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.378e-05/0.494, allocations: 102.7 kB / 0.8258 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.267e-05/0.494, allocations: 181.9 kB / 0.826 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.47e-05/0.4941, allocations: 183.1 kB / 0.8261 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.194e-05/0.4941, allocations: 178 kB / 0.8263 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-05/0.4942, allocations: 182 kB / 0.8265 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.789e-05/0.4943, allocations: 323 kB / 0.8268 GB, free: 9.973 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.529e-05/0.4943, allocations: 109.7 kB / 0.8269 GB, free: 9.863 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003122/0.4946, allocations: 191.7 kB / 0.8271 GB, free: 9.672 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.981e-05/0.4946, allocations: 108 kB / 0.8272 GB, free: 9.566 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.34e-05/0.4947, allocations: 181.3 kB / 0.8274 GB, free: 9.383 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.337e-05/0.4947, allocations: 104.9 kB / 0.8275 GB, free: 9.273 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.282e-05/0.4948, allocations: 116.3 kB / 0.8276 GB, free: 9.191 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4948, allocations: 0 / 0.8276 GB, free: 9.191 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001996/0.495, allocations: 27.56 kB / 0.8276 GB, free: 9.188 MB / 0.6198 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.0001297/0.4951, allocations: 183.5 kB / 0.8278 GB, free: 9.023 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001164/0.4952, allocations: 70.77 kB / 0.8278 GB, free: 9 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4952, allocations: 0 / 0.8278 GB, free: 9 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.91e-07/0.4952, allocations: 5.406 kB / 0.8278 GB, free: 8.996 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000236/0.4955, allocations: 473 kB / 0.8283 GB, free: 8.539 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002478/0.4957, allocations: 257.4 kB / 0.8285 GB, free: 8.309 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.915e-05/0.4958, allocations: 85.12 kB / 0.8286 GB, free: 8.23 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.771e-05/0.4958, allocations: 15.91 kB / 0.8286 GB, free: 8.223 MB / 0.6198 GB Notification: Performance of SimCode: time 3.01e-07/0.4958, allocations: 0 / 0.8286 GB, free: 8.223 MB / 0.6198 GB Notification: Performance of Templates: time 0.002665/0.4984, allocations: 1.737 MB / 0.8303 GB, free: 8.086 MB / 0.6198 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.839409198146313] Failed to read output from testmodel.py, exit status != 0: 0.5036495109088719 0.513740157 0.021035135 Calling exit ...