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.0007324/0.0007324, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001061/0.001793, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007758/0.0007758, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009518/0.001728, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 1.125/1.125, allocations: 177.1 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09471/1.219, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.8038/0.8038, allocations: 155.3 MB / 399.2 MB, free: 15.95 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2571/1.061, allocations: 49.14 MB / 448.4 MB, free: 6.027 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.332e-06/1.332e-06, allocations: 0 / 449.8 MB, free: 4.676 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.283e-05/1.417e-05, allocations: 4.281 kB / 449.8 MB, free: 4.672 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001011/0.001025, allocations: 0.656 MB / 450.4 MB, free: 4.047 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001346/0.001159, allocations: 73.83 kB / 450.5 MB, free: 3.977 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.763e-05/0.001177, allocations: 0 / 450.5 MB, free: 3.977 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 1.534e-05/0.001192, allocations: 0.7656 kB / 450.5 MB, free: 3.977 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 2.146e-05/0.001214, allocations: 8.969 kB / 450.5 MB, free: 3.969 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001492/0.001363, allocations: 36.8 kB / 450.5 MB, free: 3.934 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 6.088e-05/0.001424, allocations: 32.58 kB / 450.6 MB, free: 3.906 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.477e-05/0.001459, allocations: 6.859 kB / 450.6 MB, free: 3.902 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.197e-05/0.001501, allocations: 20.53 kB / 450.6 MB, free: 3.883 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001365/0.001637, allocations: 68.92 kB / 450.7 MB, free: 3.816 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.196e-05/0.001649, allocations: 0.5469 kB / 450.7 MB, free: 3.816 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.001756, allocations: 52.8 kB / 450.7 MB, free: 3.766 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 3.221e-05/0.001788, allocations: 16.03 kB / 450.7 MB, free: 3.754 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.651e-05/0.001805, allocations: 10.3 kB / 450.7 MB, free: 3.746 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001073/0.001912, allocations: 60.44 kB / 450.8 MB, free: 3.691 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.388e-05/0.001926, allocations: 4 kB / 450.8 MB, free: 3.688 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.001927, allocations: 0 / 450.8 MB, free: 3.688 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.467e-05/0.001941, allocations: 0.6875 kB / 450.8 MB, free: 3.688 MB / 426.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.0003316/0.002273, allocations: 274.5 kB / 451.1 MB, free: 3.391 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.618e-05/0.002299, allocations: 12.91 kB / 451.1 MB, free: 3.379 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.762e-05/0.002327, allocations: 12.92 kB / 451.1 MB, free: 3.367 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.18e-05/0.002379, allocations: 103.5 kB / 451.2 MB, free: 3.242 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.002389, allocations: 5.5 kB / 451.2 MB, free: 3.238 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.338e-06/0.002398, allocations: 4.375 kB / 451.2 MB, free: 3.234 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/0.002582, allocations: 372.3 kB / 451.6 MB, free: 2.785 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.002589, allocations: 192 / 451.6 MB, free: 2.785 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.002598, allocations: 9.625 kB / 451.6 MB, free: 2.777 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.056e-05/0.002639, allocations: 28.47 kB / 451.6 MB, free: 2.75 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.998e-05/0.002669, allocations: 25.75 kB / 451.6 MB, free: 2.727 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003814/0.00305, allocations: 0.7913 MB / 452.4 MB, free: 1.898 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001783/0.003229, allocations: 169.6 kB / 452.6 MB, free: 1.723 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.756e-05/0.003246, allocations: 81.3 kB / 452.7 MB, free: 1.641 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.486e-05/0.003261, allocations: 75.94 kB / 452.7 MB, free: 1.566 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.586e-05/0.003297, allocations: 117.8 kB / 452.9 MB, free: 1.441 MB / 426.7 MB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.003298, allocations: 0.5 kB / 452.9 MB, free: 1.441 MB / 426.7 MB Notification: Performance of matching and sorting (n=0): time 5.053e-05/0.003349, allocations: 42.8 kB / 452.9 MB, free: 1.398 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.003392, allocations: 130.7 kB / 453 MB, free: 1.258 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.276e-05/0.003475, allocations: 163.5 kB / 453.2 MB, free: 1.086 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.003487, allocations: 34.36 kB / 453.2 MB, free: 1.047 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.483e-05/0.003541, allocations: 147.5 kB / 453.4 MB, free: 0.8984 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.081e-06/0.003547, allocations: 5.203 kB / 453.4 MB, free: 0.8945 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.004e-05/0.003588, allocations: 53.64 kB / 453.4 MB, free: 0.8359 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.636e-05/0.003654, allocations: 318.8 kB / 453.7 MB, free: 0.5156 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.34e-05/0.003667, allocations: 12.64 kB / 453.7 MB, free: 0.5039 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001651/0.003832, allocations: 465.9 kB / 454.2 MB, free: 15.89 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001105/0.003943, allocations: 195.6 kB / 454.4 MB, free: 15.64 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.003945, allocations: 0.625 kB / 454.4 MB, free: 15.64 MB / 442.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001392/0.004085, allocations: 150.7 kB / 454.5 MB, free: 15.5 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.004098, allocations: 8 kB / 454.6 MB, free: 15.49 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.004105, allocations: 8 kB / 454.6 MB, free: 15.48 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.004115, allocations: 8 kB / 454.6 MB, free: 15.47 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.403e-05/0.004199, allocations: 41.52 kB / 454.6 MB, free: 15.43 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.004206, allocations: 12.69 kB / 454.6 MB, free: 15.42 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.437e-05/0.00426, allocations: 31.83 kB / 454.7 MB, free: 15.39 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.834e-06/0.004268, allocations: 9.531 kB / 454.7 MB, free: 15.38 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.109e-05/0.004339, allocations: 208.4 kB / 454.9 MB, free: 15.17 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.764e-05/0.004377, allocations: 117 kB / 455 MB, free: 15.05 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.438e-05/0.004411, allocations: 111.8 kB / 455.1 MB, free: 14.93 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.57e-05/0.004447, allocations: 180.3 kB / 455.3 MB, free: 14.75 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.401e-05/0.004481, allocations: 176.9 kB / 455.4 MB, free: 14.57 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.538e-05/0.004516, allocations: 186.2 kB / 455.6 MB, free: 14.38 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001298/0.004646, allocations: 333.4 kB / 455.9 MB, free: 14.03 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002669/0.004913, allocations: 108.9 kB / 456 MB, free: 13.91 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.114e-05/0.004934, allocations: 101 kB / 456.1 MB, free: 13.81 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.086e-05/0.004965, allocations: 113.8 kB / 456.3 MB, free: 13.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-05/0.005, allocations: 180.2 kB / 456.4 MB, free: 13.51 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.438e-05/0.005034, allocations: 182.2 kB / 456.6 MB, free: 13.33 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.56e-05/0.00507, allocations: 185.3 kB / 456.8 MB, free: 13.14 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-05/0.005109, allocations: 184.3 kB / 457 MB, free: 12.95 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.624e-05/0.005195, allocations: 315.9 kB / 457.3 MB, free: 12.62 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.508e-05/0.00524, allocations: 180.3 kB / 457.5 MB, free: 12.44 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.049e-05/0.005291, allocations: 109.7 kB / 457.6 MB, free: 12.32 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.909e-05/0.00533, allocations: 184.3 kB / 457.7 MB, free: 12.14 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.379e-05/0.005353, allocations: 110.5 kB / 457.9 MB, free: 12.02 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.222e-05/0.005376, allocations: 31.08 kB / 457.9 MB, free: 11.99 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005376, allocations: 0 / 457.9 MB, free: 11.99 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001791/0.005555, allocations: 25.16 kB / 457.9 MB, free: 11.97 MB / 442.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.0001146/0.005669, allocations: 173.3 kB / 458.1 MB, free: 11.79 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 8.944e-05/0.005759, allocations: 66.83 kB / 458.1 MB, free: 11.73 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.757e-06/0.005768, allocations: 5.5 kB / 458.1 MB, free: 11.72 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.443e-06/0.005769, allocations: 0.5 kB / 458.1 MB, free: 11.72 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001825/0.005952, allocations: 483.4 kB / 458.6 MB, free: 11.25 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001894/0.006141, allocations: 227.5 kB / 458.8 MB, free: 11 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.113e-05/0.006172, allocations: 62.02 kB / 458.9 MB, free: 10.92 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 6.227e-05/0.006234, allocations: 31.22 kB / 458.9 MB, free: 10.9 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.006353, allocations: 112.1 kB / 459 MB, free: 10.8 MB / 442.7 MB Notification: Performance of SimCode: time 4.81e-07/0.006354, allocations: 0 / 459 MB, free: 10.8 MB / 442.7 MB Notification: Performance of Templates: time 0.003008/0.009362, allocations: 1.862 MB / 460.9 MB, free: 9.094 MB / 442.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.6015567928552628]