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.001589/0.001589, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.00197/0.00197, allocations: 170.2 kB / 22.46 MB, free: 5.359 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.457/1.457, allocations: 177.1 MB / 202.8 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] 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 1.193/1.193, allocations: 154.5 MB / 413.7 MB, free: 5.297 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] 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: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 0.6186 GB, free: 4.598 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.293e-05/3.506e-05, allocations: 5.562 kB / 0.6186 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001748/0.001783, allocations: 0.6229 MB / 0.6192 GB, free: 3.984 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003249/0.002108, allocations: 65.25 kB / 0.6192 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.104e-05/0.002139, allocations: 0 / 0.6192 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.1e-05/0.00218, allocations: 4 kB / 0.6192 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.305e-05/0.002233, allocations: 12.98 kB / 0.6193 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003277/0.002561, allocations: 50.34 kB / 0.6193 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.489e-05/0.002646, allocations: 19.98 kB / 0.6193 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.128e-05/0.002687, allocations: 0 / 0.6193 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.996e-05/0.002747, allocations: 31.89 kB / 0.6194 GB, free: 3.809 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000221/0.002968, allocations: 63.94 kB / 0.6194 GB, free: 3.746 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.752e-05/0.002986, allocations: 0 / 0.6194 GB, free: 3.746 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001161/0.003102, allocations: 51.94 kB / 0.6195 GB, free: 3.695 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.8e-05/0.00314, allocations: 11.94 kB / 0.6195 GB, free: 3.684 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.613e-05/0.003176, allocations: 23.97 kB / 0.6195 GB, free: 3.66 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001573/0.003333, allocations: 67.8 kB / 0.6196 GB, free: 3.594 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.003335, allocations: 4 kB / 0.6196 GB, free: 3.59 MB / 0.5294 GB Notification: Performance of FrontEnd: time 5.51e-07/0.003335, allocations: 0 / 0.6196 GB, free: 3.59 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.135e-06/0.003344, allocations: 0 / 0.6196 GB, free: 3.59 MB / 0.5294 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.0003965/0.00374, allocations: 294.1 kB / 0.6198 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.003782, allocations: 9.469 kB / 0.6199 GB, free: 3.262 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.917e-05/0.003821, allocations: 8.891 kB / 0.6199 GB, free: 3.254 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001002/0.003922, allocations: 109.7 kB / 0.62 GB, free: 3.121 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.763e-06/0.003928, allocations: 8.375 kB / 0.62 GB, free: 3.113 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.00394, allocations: 384 / 0.62 GB, free: 3.113 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000443/0.004383, allocations: 440.9 kB / 0.6204 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.004393, allocations: 192 / 0.6204 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.832e-05/0.004411, allocations: 4.125 kB / 0.6204 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-05/0.004457, allocations: 27.86 kB / 0.6204 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.359e-05/0.004531, allocations: 39.91 kB / 0.6205 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007924/0.005323, allocations: 0.8474 MB / 0.6213 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001059/0.005429, allocations: 165.1 kB / 0.6215 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.861e-05/0.005488, allocations: 88.14 kB / 0.6215 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.924e-05/0.005527, allocations: 75.28 kB / 0.6216 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.155e-05/0.005598, allocations: 113.8 kB / 0.6217 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.0056, allocations: 7.938 kB / 0.6217 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 9.918e-05/0.005699, allocations: 41.58 kB / 0.6218 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00029/0.005989, allocations: 391.7 kB / 0.6221 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002001/0.006189, allocations: 171.9 kB / 0.6223 GB, free: 496 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.484e-05/0.006214, allocations: 29.7 kB / 0.6223 GB, free: 460 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.006328, allocations: 151.5 kB / 0.6225 GB, free: 304 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.406e-06/0.006331, allocations: 0 / 0.6225 GB, free: 304 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.661e-05/0.006418, allocations: 57.66 kB / 0.6225 GB, free: 240 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001897/0.006607, allocations: 318.8 kB / 0.6228 GB, free: 15.91 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.626e-05/0.006654, allocations: 31.92 kB / 0.6229 GB, free: 15.88 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003994/0.007053, allocations: 479.6 kB / 0.6233 GB, free: 15.26 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002411/0.007294, allocations: 205.7 kB / 0.6235 GB, free: 14.99 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.007297, allocations: 0 / 0.6235 GB, free: 14.99 MB / 0.545 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003596/0.007656, allocations: 189.8 kB / 0.6237 GB, free: 14.8 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.007674, allocations: 7.984 kB / 0.6237 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.007683, allocations: 12.03 kB / 0.6237 GB, free: 14.78 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/0.007705, allocations: 4 kB / 0.6237 GB, free: 14.78 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001448/0.00785, allocations: 39.92 kB / 0.6238 GB, free: 14.74 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.00786, allocations: 4 kB / 0.6238 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.543e-05/0.007956, allocations: 27.83 kB / 0.6238 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.973e-05/0.007975, allocations: 15.94 kB / 0.6238 GB, free: 14.69 MB / 0.545 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.0001721/0.008147, allocations: 214 kB / 0.624 GB, free: 14.47 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/0.008249, allocations: 116.9 kB / 0.6241 GB, free: 14.35 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.017e-05/0.008319, allocations: 120.8 kB / 0.6242 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001194/0.008438, allocations: 180.2 kB / 0.6244 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001004/0.008539, allocations: 188.3 kB / 0.6246 GB, free: 13.85 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.06e-05/0.008619, allocations: 176.3 kB / 0.6248 GB, free: 13.67 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002918/0.008911, allocations: 380.7 kB / 0.6251 GB, free: 13.26 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.183e-05/0.008973, allocations: 101 kB / 0.6252 GB, free: 13.15 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.377e-05/0.009027, allocations: 108.9 kB / 0.6253 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.83e-05/0.009125, allocations: 176.4 kB / 0.6255 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.659e-05/0.009222, allocations: 180.3 kB / 0.6257 GB, free: 12.68 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.15e-05/0.009313, allocations: 188.2 kB / 0.6258 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001081/0.009421, allocations: 184.2 kB / 0.626 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001991/0.009621, allocations: 311.8 kB / 0.6263 GB, free: 11.97 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.981e-05/0.00968, allocations: 116.9 kB / 0.6264 GB, free: 11.85 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001228/0.009803, allocations: 196.1 kB / 0.6266 GB, free: 11.65 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.009903, allocations: 105 kB / 0.6267 GB, free: 11.54 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.01, allocations: 180.2 kB / 0.6269 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-05/0.01006, allocations: 101 kB / 0.627 GB, free: 11.25 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001032/0.01016, allocations: 121.8 kB / 0.6271 GB, free: 11.13 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.01016, allocations: 0 / 0.6271 GB, free: 11.13 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003309/0.01049, allocations: 28 kB / 0.6271 GB, free: 11.11 MB / 0.545 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.0002749/0.01077, allocations: 186.5 kB / 0.6273 GB, free: 10.91 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001671/0.01094, allocations: 71.78 kB / 0.6274 GB, free: 10.84 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.336e-06/0.01095, allocations: 3.938 kB / 0.6274 GB, free: 10.84 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.523e-06/0.01095, allocations: 0 / 0.6274 GB, free: 10.84 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004618/0.01141, allocations: 463.7 kB / 0.6278 GB, free: 10.38 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003716/0.01178, allocations: 233.8 kB / 0.628 GB, free: 10.13 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.341e-05/0.01187, allocations: 71.98 kB / 0.6281 GB, free: 10.04 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002254/0.0121, allocations: 56.59 kB / 0.6282 GB, free: 9.98 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.649e-05/0.01213, allocations: 16.5 kB / 0.6282 GB, free: 9.965 MB / 0.545 GB Notification: Performance of SimCode: time 4.11e-07/0.01213, allocations: 4 kB / 0.6282 GB, free: 9.961 MB / 0.545 GB Notification: Performance of Templates: time 0.004998/0.01712, allocations: 1.792 MB / 0.6299 GB, free: 8.246 MB / 0.545 GB " [Timeout remaining time 660] 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.812295731157064] Failed to read output from testmodel.py, exit status != 0: 0.026363026350736618 0.041085231 0.03472402 Calling exit ...