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.001046/0.001046, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001241/0.001241, allocations: 181.3 kB / 23.36 MB, free: 1.133 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 1.082/1.082, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.8113/0.8113, allocations: 154.9 MB / 415.1 MB, free: 200 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.674e-06/1.674e-06, allocations: 0 / 480.5 MB, free: 6.406 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.095e-05/2.262e-05, allocations: 3.078 kB / 480.5 MB, free: 6.402 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001415/0.001438, allocations: 0.6687 MB / 481.1 MB, free: 5.773 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002613/0.001699, allocations: 69.34 kB / 481.2 MB, free: 5.707 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.011e-05/0.001719, allocations: 0 / 481.2 MB, free: 5.707 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.887e-05/0.001748, allocations: 3.938 kB / 481.2 MB, free: 5.703 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.13e-05/0.00179, allocations: 11.28 kB / 481.2 MB, free: 5.695 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002374/0.002027, allocations: 35.95 kB / 481.3 MB, free: 5.66 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 5.923e-05/0.002086, allocations: 30.69 kB / 481.3 MB, free: 5.633 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.43e-05/0.002131, allocations: 4.656 kB / 481.3 MB, free: 5.629 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.86e-05/0.002169, allocations: 13.55 kB / 481.3 MB, free: 5.617 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001676/0.002337, allocations: 72.56 kB / 481.4 MB, free: 5.547 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.248e-05/0.002349, allocations: 4 kB / 481.4 MB, free: 5.543 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001062/0.002455, allocations: 53.61 kB / 481.4 MB, free: 5.492 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 3.146e-05/0.002487, allocations: 19.62 kB / 481.4 MB, free: 5.477 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.893e-05/0.002506, allocations: 15.03 kB / 481.5 MB, free: 5.465 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001111/0.002617, allocations: 74.48 kB / 481.5 MB, free: 5.395 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.002619, allocations: 0 / 481.5 MB, free: 5.395 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.00262, allocations: 0.5625 kB / 481.5 MB, free: 5.395 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.002624, allocations: 0.5938 kB / 481.5 MB, free: 5.395 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.0002116/0.002835, allocations: 260.9 kB / 481.8 MB, free: 5.117 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.002867, allocations: 12.69 kB / 481.8 MB, free: 5.105 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.445e-05/0.002891, allocations: 9.453 kB / 481.8 MB, free: 5.098 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.082e-05/0.002942, allocations: 106.4 kB / 481.9 MB, free: 4.969 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.486e-06/0.00295, allocations: 5 kB / 481.9 MB, free: 4.965 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.071e-05/0.002961, allocations: 10.02 kB / 481.9 MB, free: 4.957 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001908/0.003152, allocations: 367.7 kB / 482.3 MB, free: 4.512 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.171e-06/0.003158, allocations: 0.9375 kB / 482.3 MB, free: 4.512 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.003173, allocations: 20.11 kB / 482.3 MB, free: 4.492 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.546e-05/0.003208, allocations: 21.25 kB / 482.3 MB, free: 4.473 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.922e-05/0.003238, allocations: 26.48 kB / 482.4 MB, free: 4.449 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003903/0.003628, allocations: 0.7874 MB / 483.1 MB, free: 3.625 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.523e-05/0.003683, allocations: 169.1 kB / 483.3 MB, free: 3.449 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.197e-05/0.003705, allocations: 88.86 kB / 483.4 MB, free: 3.359 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/0.003722, allocations: 79.27 kB / 483.5 MB, free: 3.281 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.395e-05/0.003756, allocations: 110.8 kB / 483.6 MB, free: 3.164 MB / 442.7 MB Notification: Performance of pre-optimization done (n=0): time 1.633e-06/0.003758, allocations: 1.578 kB / 483.6 MB, free: 3.164 MB / 442.7 MB Notification: Performance of matching and sorting (n=0): time 5.422e-05/0.003812, allocations: 33.64 kB / 483.6 MB, free: 3.125 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004038/0.004216, allocations: 396.7 kB / 484 MB, free: 2.664 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.424e-05/0.00431, allocations: 167.1 kB / 484.2 MB, free: 2.488 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.004327, allocations: 26.33 kB / 484.2 MB, free: 2.457 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.836e-05/0.004395, allocations: 148.3 kB / 484.3 MB, free: 2.309 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.855e-06/0.004403, allocations: 9.312 kB / 484.3 MB, free: 2.301 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.936e-05/0.004452, allocations: 49.58 kB / 484.4 MB, free: 2.246 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.188e-05/0.004524, allocations: 326.8 kB / 484.7 MB, free: 1.918 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.227e-05/0.004536, allocations: 8.5 kB / 484.7 MB, free: 1.91 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001752/0.004712, allocations: 473.2 kB / 485.2 MB, free: 1.293 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001229/0.004834, allocations: 180.1 kB / 485.4 MB, free: 1.059 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.004839, allocations: 5.094 kB / 485.4 MB, free: 1.055 MB / 442.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001738/0.005013, allocations: 149.7 kB / 485.5 MB, free: 0.9062 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.005027, allocations: 8 kB / 485.5 MB, free: 0.8984 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.005034, allocations: 4.844 kB / 485.5 MB, free: 0.8945 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.005046, allocations: 8 kB / 485.5 MB, free: 0.8867 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.705e-05/0.005133, allocations: 44.41 kB / 485.6 MB, free: 0.8438 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.005139, allocations: 4 kB / 485.6 MB, free: 0.8398 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.735e-05/0.005197, allocations: 28.91 kB / 485.6 MB, free: 0.8125 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.005205, allocations: 8 kB / 485.6 MB, free: 0.8047 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 7.89e-05/0.005284, allocations: 216.5 kB / 485.8 MB, free: 0.582 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.313e-05/0.005327, allocations: 118.1 kB / 485.9 MB, free: 472 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.864e-05/0.005366, allocations: 111.2 kB / 486 MB, free: 352 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.012e-05/0.005406, allocations: 188.7 kB / 486.2 MB, free: 156 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.147e-05/0.005457, allocations: 182.2 kB / 486.4 MB, free: 15.97 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.78e-05/0.005495, allocations: 177.3 kB / 486.6 MB, free: 15.79 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001317/0.005627, allocations: 334.4 kB / 486.9 MB, free: 15.44 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.618e-05/0.005653, allocations: 109 kB / 487 MB, free: 15.32 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.478e-05/0.005678, allocations: 104.9 kB / 487.1 MB, free: 15.21 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.695e-05/0.005715, allocations: 176.9 kB / 487.3 MB, free: 15.04 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.191e-05/0.005757, allocations: 184.3 kB / 487.5 MB, free: 14.85 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.832e-05/0.005795, allocations: 185.9 kB / 487.7 MB, free: 14.66 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.82e-05/0.005833, allocations: 176.3 kB / 487.8 MB, free: 14.48 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001051/0.005938, allocations: 315.7 kB / 488.1 MB, free: 14.15 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.312e-05/0.005971, allocations: 108.9 kB / 488.2 MB, free: 14.04 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.896e-05/0.00602, allocations: 184.3 kB / 488.4 MB, free: 13.85 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.325e-05/0.006074, allocations: 115.7 kB / 488.5 MB, free: 13.73 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.903e-05/0.006113, allocations: 180.2 kB / 488.7 MB, free: 13.55 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.746e-05/0.00614, allocations: 109 kB / 488.8 MB, free: 13.43 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.466e-05/0.006165, allocations: 21.41 kB / 488.8 MB, free: 13.41 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006165, allocations: 0.9375 kB / 488.8 MB, free: 13.41 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001979/0.006363, allocations: 32 kB / 488.9 MB, free: 13.38 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.0001352/0.006498, allocations: 172.6 kB / 489 MB, free: 13.2 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 9.703e-05/0.006595, allocations: 72.2 kB / 489.1 MB, free: 13.13 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.165e-06/0.006603, allocations: 2.156 kB / 489.1 MB, free: 13.13 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.022e-06/0.006604, allocations: 0.875 kB / 489.1 MB, free: 13.13 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001957/0.0068, allocations: 477 kB / 489.6 MB, free: 12.66 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002205/0.00702, allocations: 217.5 kB / 489.8 MB, free: 12.43 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.729e-05/0.007058, allocations: 64 kB / 489.9 MB, free: 12.34 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 6.918e-05/0.007127, allocations: 27.67 kB / 489.9 MB, free: 12.33 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001271/0.007254, allocations: 112.5 kB / 490 MB, free: 12.22 MB / 458.7 MB Notification: Performance of SimCode: time 5.51e-07/0.007254, allocations: 0 / 490 MB, free: 12.22 MB / 458.7 MB Notification: Performance of Templates: time 0.003394/0.01065, allocations: 1.844 MB / 491.8 MB, free: 10.54 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6578913778066635]