Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0009806/0.0009806, allocations: 80.94 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.001435/0.001435, allocations: 177 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.061/1.061, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108: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/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8189/0.8189, allocations: 154.6 MB / 414.8 MB, free: 0.5156 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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/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 4.0.0/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_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic") translateModel(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 480.1 MB, free: 6.781 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.195e-05/2.353e-05, allocations: 2.969 kB / 480.1 MB, free: 6.777 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001311/0.001334, allocations: 0.6605 MB / 480.8 MB, free: 6.152 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002944/0.001629, allocations: 72.5 kB / 480.8 MB, free: 6.082 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.172e-05/0.00165, allocations: 0.75 kB / 480.8 MB, free: 6.082 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.289e-05/0.001683, allocations: 7.938 kB / 480.8 MB, free: 6.074 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.336e-05/0.001727, allocations: 6.172 kB / 480.9 MB, free: 6.07 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002614/0.001988, allocations: 41.34 kB / 480.9 MB, free: 6.031 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 6.033e-05/0.002048, allocations: 22.95 kB / 480.9 MB, free: 6.012 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.82e-05/0.002087, allocations: 3.938 kB / 480.9 MB, free: 6.008 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.31e-05/0.00213, allocations: 25.69 kB / 480.9 MB, free: 5.984 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001663/0.002296, allocations: 73.67 kB / 481 MB, free: 5.914 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.002308, allocations: 0 / 481 MB, free: 5.914 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001052/0.002413, allocations: 52.58 kB / 481.1 MB, free: 5.863 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 3.031e-05/0.002444, allocations: 16.34 kB / 481.1 MB, free: 5.852 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.401e-05/0.002468, allocations: 14.28 kB / 481.1 MB, free: 5.84 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001168/0.002585, allocations: 70.03 kB / 481.2 MB, free: 5.773 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.002589, allocations: 9.688 kB / 481.2 MB, free: 5.766 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.002591, allocations: 0 / 481.2 MB, free: 5.766 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.68e-06/0.002597, allocations: 0 / 481.2 MB, free: 5.766 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.0002274/0.002824, allocations: 256.5 kB / 481.4 MB, free: 5.492 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.065e-05/0.002855, allocations: 14.47 kB / 481.4 MB, free: 5.48 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.744e-05/0.002882, allocations: 8.922 kB / 481.5 MB, free: 5.473 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.14e-05/0.002943, allocations: 109.7 kB / 481.6 MB, free: 5.34 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.467e-06/0.002953, allocations: 384 / 481.6 MB, free: 5.34 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.108e-05/0.002964, allocations: 8.375 kB / 481.6 MB, free: 5.332 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001926/0.003157, allocations: 372.9 kB / 481.9 MB, free: 4.883 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.003164, allocations: 192 / 481.9 MB, free: 4.883 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.003174, allocations: 9.109 kB / 481.9 MB, free: 4.875 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.846e-05/0.003212, allocations: 28.62 kB / 482 MB, free: 4.848 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.884e-05/0.003241, allocations: 27.86 kB / 482 MB, free: 4.82 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004151/0.003656, allocations: 0.7809 MB / 482.8 MB, free: 4.004 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.836e-05/0.003714, allocations: 175.7 kB / 482.9 MB, free: 3.824 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.439e-05/0.003739, allocations: 88.12 kB / 483 MB, free: 3.734 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.133e-05/0.00376, allocations: 76.19 kB / 483.1 MB, free: 3.66 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.755e-05/0.003798, allocations: 113.8 kB / 483.2 MB, free: 3.539 MB / 442.7 MB Notification: Performance of pre-optimization done (n=0): time 7.31e-07/0.003798, allocations: 0.875 kB / 483.2 MB, free: 3.539 MB / 442.7 MB Notification: Performance of matching and sorting (n=0): time 5.39e-05/0.003852, allocations: 34.41 kB / 483.3 MB, free: 3.5 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/0.003961, allocations: 391.6 kB / 483.6 MB, free: 3.043 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.876e-05/0.00405, allocations: 167.3 kB / 483.8 MB, free: 2.867 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.167e-05/0.004062, allocations: 29.7 kB / 483.8 MB, free: 2.832 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.562e-05/0.004128, allocations: 152.1 kB / 484 MB, free: 2.68 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.785e-06/0.00413, allocations: 0 / 484 MB, free: 2.68 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.521e-05/0.004176, allocations: 54.27 kB / 484 MB, free: 2.621 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.884e-05/0.004254, allocations: 328.2 kB / 484.4 MB, free: 2.293 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.196e-05/0.004266, allocations: 8 kB / 484.4 MB, free: 2.285 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001859/0.004452, allocations: 472.9 kB / 484.8 MB, free: 1.668 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001153/0.004568, allocations: 175.5 kB / 485 MB, free: 1.438 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.00457, allocations: 0 / 485 MB, free: 1.438 MB / 442.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001511/0.004721, allocations: 154.9 kB / 485.1 MB, free: 1.285 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.004734, allocations: 8 kB / 485.2 MB, free: 1.277 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.00474, allocations: 4.547 kB / 485.2 MB, free: 1.273 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.004755, allocations: 11.98 kB / 485.2 MB, free: 1.262 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.168e-05/0.004836, allocations: 40.67 kB / 485.2 MB, free: 1.223 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.004841, allocations: 4 kB / 485.2 MB, free: 1.219 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.401e-05/0.004895, allocations: 28.69 kB / 485.2 MB, free: 1.191 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.707e-06/0.004904, allocations: 8.547 kB / 485.2 MB, free: 1.184 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 8.4e-05/0.004988, allocations: 220.9 kB / 485.5 MB, free: 0.957 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.319e-05/0.005031, allocations: 113 kB / 485.6 MB, free: 0.8398 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.678e-05/0.005068, allocations: 108.8 kB / 485.7 MB, free: 0.7266 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.507e-05/0.005113, allocations: 189.3 kB / 485.9 MB, free: 0.5352 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.394e-05/0.005157, allocations: 180.8 kB / 486 MB, free: 360 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.299e-05/0.0052, allocations: 184.2 kB / 486.2 MB, free: 168 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001439/0.005344, allocations: 331.2 kB / 486.5 MB, free: 15.82 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.553e-05/0.005369, allocations: 105 kB / 486.6 MB, free: 15.71 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.59e-05/0.005395, allocations: 108.9 kB / 486.8 MB, free: 15.59 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-05/0.005434, allocations: 182.5 kB / 486.9 MB, free: 15.41 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.005e-05/0.005474, allocations: 180.2 kB / 487.1 MB, free: 15.23 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.38e-05/0.005518, allocations: 189.4 kB / 487.3 MB, free: 15.04 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.863e-05/0.005557, allocations: 176.3 kB / 487.5 MB, free: 14.86 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.39e-05/0.005651, allocations: 311.7 kB / 487.8 MB, free: 14.53 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.273e-05/0.005683, allocations: 112.9 kB / 487.9 MB, free: 14.41 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.002e-05/0.005733, allocations: 181 kB / 488.1 MB, free: 14.23 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.386e-05/0.005787, allocations: 116.9 kB / 488.2 MB, free: 14.11 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.252e-05/0.00583, allocations: 176.9 kB / 488.3 MB, free: 13.93 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.145e-05/0.005851, allocations: 102.4 kB / 488.4 MB, free: 13.82 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.671e-05/0.005878, allocations: 31.08 kB / 488.5 MB, free: 13.79 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.005878, allocations: 0 / 488.5 MB, free: 13.79 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001771/0.006055, allocations: 28.77 kB / 488.5 MB, free: 13.76 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.0001202/0.006175, allocations: 176.3 kB / 488.7 MB, free: 13.58 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 9.027e-05/0.006265, allocations: 67.72 kB / 488.7 MB, free: 13.52 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.586e-06/0.006274, allocations: 5.031 kB / 488.7 MB, free: 13.51 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.183e-06/0.006275, allocations: 0 / 488.7 MB, free: 13.51 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001964/0.006472, allocations: 472.6 kB / 489.2 MB, free: 13.05 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001965/0.006668, allocations: 226.1 kB / 489.4 MB, free: 12.8 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.521e-05/0.006703, allocations: 60 kB / 489.5 MB, free: 12.72 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 6.669e-05/0.00677, allocations: 26.47 kB / 489.5 MB, free: 12.71 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001252/0.006895, allocations: 113.4 kB / 489.6 MB, free: 12.6 MB / 458.7 MB Notification: Performance of SimCode: time 5.21e-07/0.006896, allocations: 4 kB / 489.6 MB, free: 12.6 MB / 458.7 MB Notification: Performance of Templates: time 0.003158/0.01005, allocations: 1.842 MB / 491.5 MB, free: 10.92 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7116275960579515]