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.0007662/0.0007662, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007626/0.0007626, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 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.8703/0.8703, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.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.7036/0.7036, allocations: 154.5 MB / 414.5 MB, free: 0.8281 MB / 378.7 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 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: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 0.6193 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.197e-05/2.39e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.19 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001129/0.001153, allocations: 0.6177 MB / 0.6199 GB, free: 12.58 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0002375/0.001391, allocations: 59.86 kB / 0.62 GB, free: 12.52 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.997e-05/0.001411, allocations: 8 kB / 0.62 GB, free: 12.51 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.818e-05/0.001439, allocations: 3.938 kB / 0.62 GB, free: 12.51 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.01e-05/0.001479, allocations: 4 kB / 0.62 GB, free: 12.5 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002641/0.001743, allocations: 47.88 kB / 0.6201 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.758e-05/0.001801, allocations: 31.89 kB / 0.6201 GB, free: 12.43 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.284e-05/0.001834, allocations: 4 kB / 0.6201 GB, free: 12.42 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.33e-05/0.001867, allocations: 11.98 kB / 0.6201 GB, free: 12.41 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001564/0.002023, allocations: 79.91 kB / 0.6202 GB, free: 12.33 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.301e-05/0.002036, allocations: 4 kB / 0.6202 GB, free: 12.33 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 7.38e-05/0.00211, allocations: 39.89 kB / 0.6202 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.928e-05/0.002139, allocations: 19.92 kB / 0.6202 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.78e-05/0.002157, allocations: 15.92 kB / 0.6203 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000118/0.002275, allocations: 75.84 kB / 0.6203 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.002277, allocations: 0 / 0.6203 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of FrontEnd: time 6.91e-07/0.002278, allocations: 3.938 kB / 0.6203 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.517e-06/0.002281, allocations: 0 / 0.6203 GB, free: 12.18 MB / 0.5886 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.0002306/0.002512, allocations: 282.2 kB / 0.6206 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.001e-05/0.002542, allocations: 9.469 kB / 0.6206 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.215e-05/0.002574, allocations: 12.89 kB / 0.6206 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.952e-05/0.002623, allocations: 109.7 kB / 0.6207 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.839e-06/0.002633, allocations: 4.375 kB / 0.6207 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.556e-06/0.002642, allocations: 8.312 kB / 0.6207 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002265/0.002868, allocations: 428.9 kB / 0.6211 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.002876, allocations: 4.172 kB / 0.6212 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.002889, allocations: 8.125 kB / 0.6212 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.851e-05/0.002917, allocations: 23.92 kB / 0.6212 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.8e-05/0.002965, allocations: 39.91 kB / 0.6212 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004283/0.003394, allocations: 0.8513 MB / 0.6221 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 5.808e-05/0.003452, allocations: 169.1 kB / 0.6222 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.243e-05/0.003474, allocations: 84.14 kB / 0.6223 GB, free: 9.961 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/0.003492, allocations: 75.28 kB / 0.6224 GB, free: 9.887 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001597/0.003652, allocations: 121.7 kB / 0.6225 GB, free: 9.758 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.003653, allocations: 3.938 kB / 0.6225 GB, free: 9.754 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 5.22e-05/0.003705, allocations: 33.66 kB / 0.6225 GB, free: 9.715 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.859e-05/0.003803, allocations: 387.7 kB / 0.6229 GB, free: 9.262 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.724e-05/0.003901, allocations: 172.8 kB / 0.6231 GB, free: 9.086 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.08e-05/0.003911, allocations: 29.7 kB / 0.6231 GB, free: 9.051 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.46e-05/0.003966, allocations: 147.5 kB / 0.6232 GB, free: 8.902 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.997e-06/0.00397, allocations: 4 kB / 0.6232 GB, free: 8.898 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.236e-05/0.004012, allocations: 57.66 kB / 0.6233 GB, free: 8.836 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.632e-05/0.004079, allocations: 322.8 kB / 0.6236 GB, free: 8.512 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.977e-05/0.004108, allocations: 31.91 kB / 0.6236 GB, free: 8.48 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001657/0.004274, allocations: 475.6 kB / 0.6241 GB, free: 7.859 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001181/0.004392, allocations: 209.7 kB / 0.6243 GB, free: 7.59 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.004395, allocations: 0 / 0.6243 GB, free: 7.59 MB / 0.5886 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001839/0.004578, allocations: 189.7 kB / 0.6245 GB, free: 7.398 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.00459, allocations: 8 kB / 0.6245 GB, free: 7.391 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.004595, allocations: 4 kB / 0.6245 GB, free: 7.387 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.004606, allocations: 4 kB / 0.6245 GB, free: 7.383 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.133e-05/0.004687, allocations: 47.86 kB / 0.6245 GB, free: 7.336 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.004695, allocations: 8 kB / 0.6245 GB, free: 7.328 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.505e-05/0.00475, allocations: 31.78 kB / 0.6246 GB, free: 7.297 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.809e-06/0.00476, allocations: 15.94 kB / 0.6246 GB, free: 7.281 MB / 0.5886 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 7.559e-05/0.004835, allocations: 217.9 kB / 0.6248 GB, free: 7.059 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.661e-05/0.004872, allocations: 117.1 kB / 0.6249 GB, free: 6.938 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.995e-05/0.004902, allocations: 108.8 kB / 0.625 GB, free: 6.824 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-05/0.004938, allocations: 184.2 kB / 0.6252 GB, free: 6.637 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.465e-05/0.004972, allocations: 176.3 kB / 0.6253 GB, free: 6.457 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.703e-05/0.005009, allocations: 188.2 kB / 0.6255 GB, free: 6.266 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001249/0.005134, allocations: 368.8 kB / 0.6259 GB, free: 5.867 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.1e-05/0.005155, allocations: 105 kB / 0.626 GB, free: 5.758 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.985e-05/0.005175, allocations: 108.9 kB / 0.6261 GB, free: 5.645 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.439e-05/0.00521, allocations: 180.2 kB / 0.6262 GB, free: 5.461 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.75e-05/0.005247, allocations: 180.4 kB / 0.6264 GB, free: 5.277 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-05/0.005281, allocations: 180.3 kB / 0.6266 GB, free: 5.094 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.521e-05/0.005316, allocations: 184.3 kB / 0.6268 GB, free: 4.906 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.581e-05/0.005402, allocations: 327.6 kB / 0.6271 GB, free: 4.562 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.771e-05/0.00543, allocations: 108.9 kB / 0.6272 GB, free: 4.449 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.316e-05/0.005473, allocations: 180.3 kB / 0.6273 GB, free: 4.266 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.817e-05/0.005521, allocations: 109 kB / 0.6275 GB, free: 4.152 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.721e-05/0.005558, allocations: 180.2 kB / 0.6276 GB, free: 3.969 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-05/0.00558, allocations: 109 kB / 0.6277 GB, free: 3.855 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.578e-05/0.005625, allocations: 117.8 kB / 0.6278 GB, free: 3.742 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6.1e-08/0.005625, allocations: 96 / 0.6278 GB, free: 3.742 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001907/0.005816, allocations: 31.94 kB / 0.6279 GB, free: 3.711 MB / 0.5886 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.0001163/0.005932, allocations: 190.5 kB / 0.6281 GB, free: 3.512 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 9.654e-05/0.006029, allocations: 67.78 kB / 0.6281 GB, free: 3.445 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.006031, allocations: 0 / 0.6281 GB, free: 3.445 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 8.92e-07/0.006031, allocations: 1.312 kB / 0.6281 GB, free: 3.445 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002356/0.006267, allocations: 471.7 kB / 0.6286 GB, free: 2.98 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002228/0.00649, allocations: 250.3 kB / 0.6288 GB, free: 2.699 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.929e-05/0.006539, allocations: 79.98 kB / 0.6289 GB, free: 2.602 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.51e-05/0.006554, allocations: 16.5 kB / 0.6289 GB, free: 2.586 MB / 0.5886 GB Notification: Performance of SimCode: time 6.11e-07/0.006555, allocations: 0 / 0.6289 GB, free: 2.586 MB / 0.5886 GB Notification: Performance of Templates: time 0.002175/0.00873, allocations: 1.746 MB / 0.6306 GB, free: 0.8633 MB / 0.5886 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.123013344593346] Failed to read output from testmodel.py, exit status != 0: 0.012717063538730145 0.019958151 0.016064992 Calling exit ...