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.0009019/0.0009019, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.001137/0.001137, allocations: 177 kB / 23.36 MB, free: 1.137 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.9983/0.9983, allocations: 177.1 MB / 203.8 MB, free: 5.473 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-535:34: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-535:42: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.7708/0.7708, allocations: 154.9 MB / 415.1 MB, free: 216 kB / 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.433e-06/1.433e-06, allocations: 0 / 480.4 MB, free: 6.477 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.268e-05/2.412e-05, allocations: 4 kB / 480.4 MB, free: 6.473 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001564/0.001588, allocations: 0.6185 MB / 481 MB, free: 5.891 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002655/0.001854, allocations: 64.41 kB / 481.1 MB, free: 5.828 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.893e-05/0.001873, allocations: 1.25 kB / 481.1 MB, free: 5.828 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.312e-05/0.001906, allocations: 3.938 kB / 481.1 MB, free: 5.824 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.654e-05/0.001952, allocations: 12.92 kB / 481.1 MB, free: 5.816 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002834/0.002236, allocations: 39.94 kB / 481.2 MB, free: 5.777 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 6.272e-05/0.002298, allocations: 26.81 kB / 481.2 MB, free: 5.754 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.512e-05/0.002333, allocations: 4 kB / 481.2 MB, free: 5.75 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.308e-05/0.002377, allocations: 25.05 kB / 481.2 MB, free: 5.727 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001661/0.002543, allocations: 68.58 kB / 481.3 MB, free: 5.66 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.257e-05/0.002555, allocations: 4 kB / 481.3 MB, free: 5.656 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.837e-05/0.002644, allocations: 40.59 kB / 481.3 MB, free: 5.617 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 3.266e-05/0.002676, allocations: 19.73 kB / 481.4 MB, free: 5.602 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.245e-05/0.002699, allocations: 18.22 kB / 481.4 MB, free: 5.586 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001216/0.00282, allocations: 72.8 kB / 481.4 MB, free: 5.52 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.002822, allocations: 0 / 481.4 MB, free: 5.52 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.002823, allocations: 0 / 481.4 MB, free: 5.52 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.996e-06/0.002826, allocations: 0 / 481.4 MB, free: 5.52 MB / 442.7 MB 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.0002501/0.003076, allocations: 264.9 kB / 481.7 MB, free: 5.238 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.068e-05/0.003107, allocations: 12.91 kB / 481.7 MB, free: 5.227 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.913e-05/0.003136, allocations: 9.578 kB / 481.7 MB, free: 5.219 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.109e-05/0.003197, allocations: 109.7 kB / 481.8 MB, free: 5.086 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.916e-06/0.003206, allocations: 5.125 kB / 481.8 MB, free: 5.082 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.389e-05/0.00322, allocations: 4.375 kB / 481.8 MB, free: 5.078 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002178/0.003438, allocations: 372.6 kB / 482.2 MB, free: 4.629 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.003444, allocations: 4.125 kB / 482.2 MB, free: 4.625 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.003455, allocations: 9.297 kB / 482.2 MB, free: 4.617 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.392e-05/0.003499, allocations: 26.75 kB / 482.2 MB, free: 4.594 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.493e-05/0.003534, allocations: 24.61 kB / 482.3 MB, free: 4.57 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004517/0.003985, allocations: 0.7874 MB / 483.1 MB, free: 3.746 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.915e-05/0.004044, allocations: 169.8 kB / 483.2 MB, free: 3.57 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.278e-05/0.004067, allocations: 82.23 kB / 483.3 MB, free: 3.488 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/0.004085, allocations: 79.22 kB / 483.4 MB, free: 3.41 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.126e-05/0.004126, allocations: 117.8 kB / 483.5 MB, free: 3.285 MB / 442.7 MB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.004127, allocations: 1.062 kB / 483.5 MB, free: 3.285 MB / 442.7 MB Notification: Performance of matching and sorting (n=0): time 5.649e-05/0.004183, allocations: 33.64 kB / 483.5 MB, free: 3.246 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001204/0.004304, allocations: 391.7 kB / 483.9 MB, free: 2.789 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.721e-05/0.004401, allocations: 167.6 kB / 484.1 MB, free: 2.613 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.004415, allocations: 29.69 kB / 484.1 MB, free: 2.578 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.874e-05/0.004484, allocations: 152.4 kB / 484.2 MB, free: 2.426 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.577e-06/0.004487, allocations: 4.531 kB / 484.3 MB, free: 2.422 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.308e-05/0.00454, allocations: 47.34 kB / 484.3 MB, free: 2.371 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.113e-05/0.004621, allocations: 330.8 kB / 484.6 MB, free: 2.039 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.381e-05/0.004635, allocations: 8 kB / 484.6 MB, free: 2.031 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001995/0.004835, allocations: 472.8 kB / 485.1 MB, free: 1.414 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001398/0.004974, allocations: 179 kB / 485.3 MB, free: 1.18 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.004978, allocations: 4.625 kB / 485.3 MB, free: 1.176 MB / 442.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001909/0.005169, allocations: 154.2 kB / 485.4 MB, free: 1.023 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.00518, allocations: 5.406 kB / 485.4 MB, free: 1.02 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.005187, allocations: 4 kB / 485.4 MB, free: 1.016 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.0052, allocations: 8 kB / 485.4 MB, free: 1.008 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.711e-05/0.005297, allocations: 39.92 kB / 485.5 MB, free: 0.9688 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.005304, allocations: 8.547 kB / 485.5 MB, free: 0.9609 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.938e-05/0.005384, allocations: 28.62 kB / 485.5 MB, free: 0.9336 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.898e-06/0.005394, allocations: 8.766 kB / 485.5 MB, free: 0.9258 MB / 442.7 MB 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.205e-05/0.005486, allocations: 213.1 kB / 485.7 MB, free: 0.707 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.464e-05/0.00554, allocations: 120.9 kB / 485.8 MB, free: 0.582 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.088e-05/0.005581, allocations: 108.8 kB / 486 MB, free: 476 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.712e-05/0.005628, allocations: 182.1 kB / 486.1 MB, free: 288 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.821e-05/0.005676, allocations: 180.2 kB / 486.3 MB, free: 100 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.456e-05/0.005731, allocations: 182.6 kB / 486.5 MB, free: 15.91 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001619/0.005893, allocations: 337.8 kB / 486.8 MB, free: 15.56 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.771e-05/0.005921, allocations: 105 kB / 486.9 MB, free: 15.45 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.709e-05/0.005948, allocations: 108.9 kB / 487 MB, free: 15.34 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.345e-05/0.005991, allocations: 176.3 kB / 487.2 MB, free: 15.16 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.222e-05/0.006033, allocations: 176.3 kB / 487.4 MB, free: 14.98 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.664e-05/0.00608, allocations: 192.9 kB / 487.6 MB, free: 14.78 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.185e-05/0.006122, allocations: 177.8 kB / 487.7 MB, free: 14.6 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001046/0.006226, allocations: 315.7 kB / 488 MB, free: 14.27 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.642e-05/0.006263, allocations: 108.9 kB / 488.1 MB, free: 14.16 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.319e-05/0.006326, allocations: 188.2 kB / 488.3 MB, free: 13.96 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.084e-05/0.006397, allocations: 110.9 kB / 488.4 MB, free: 13.85 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.874e-05/0.006446, allocations: 185.3 kB / 488.6 MB, free: 13.66 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-05/0.00647, allocations: 102.2 kB / 488.7 MB, free: 13.56 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.938e-05/0.0065, allocations: 30.52 kB / 488.7 MB, free: 13.53 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.0065, allocations: 0 / 488.7 MB, free: 13.53 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002703/0.00677, allocations: 28.75 kB / 488.8 MB, free: 13.5 MB / 458.7 MB 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.0001353/0.006905, allocations: 172.5 kB / 488.9 MB, free: 13.32 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 9.988e-05/0.007005, allocations: 64.17 kB / 489 MB, free: 13.26 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/0.007014, allocations: 9.438 kB / 489 MB, free: 13.25 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.102e-06/0.007015, allocations: 0 / 489 MB, free: 13.25 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000242/0.007257, allocations: 472.6 kB / 489.5 MB, free: 12.79 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00021/0.007467, allocations: 225.5 kB / 489.7 MB, free: 12.54 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.926e-05/0.007506, allocations: 62.11 kB / 489.8 MB, free: 12.46 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 8.106e-05/0.007587, allocations: 25.55 kB / 489.8 MB, free: 12.45 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001583/0.007746, allocations: 116.9 kB / 489.9 MB, free: 12.34 MB / 458.7 MB Notification: Performance of SimCode: time 5.01e-07/0.007746, allocations: 0 / 489.9 MB, free: 12.34 MB / 458.7 MB Notification: Performance of Templates: time 0.003571/0.01132, allocations: 1.833 MB / 491.7 MB, free: 10.66 MB / 458.7 MB " [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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6284135673195124]