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.0006965/0.0006965, allocations: 80.48 kB / 19.93 MB, free: 4.629 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.0007231/0.0007231, allocations: 177.9 kB / 23.21 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.8817/0.8817, allocations: 177.1 MB / 203.5 MB, free: 5.754 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-531:686: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-531:694: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.6919/0.6919, allocations: 154.6 MB / 414.5 MB, free: 0.8125 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.613e-06/1.613e-06, allocations: 0 / 0.6194 GB, free: 13.07 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.971e-05/2.132e-05, allocations: 6.281 kB / 0.6194 GB, free: 13.06 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001371/0.001392, allocations: 0.6013 MB / 0.62 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0002608/0.001653, allocations: 75.78 kB / 0.6201 GB, free: 12.39 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.969e-05/0.001672, allocations: 0 / 0.6201 GB, free: 12.39 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.758e-05/0.0017, allocations: 0 / 0.6201 GB, free: 12.39 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.485e-05/0.001745, allocations: 11.92 kB / 0.6201 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002666/0.002011, allocations: 47.88 kB / 0.6201 GB, free: 12.33 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.656e-05/0.002068, allocations: 23.92 kB / 0.6201 GB, free: 12.31 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.32e-05/0.002101, allocations: 0 / 0.6201 GB, free: 12.31 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.742e-05/0.002139, allocations: 27.95 kB / 0.6202 GB, free: 12.28 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000161/0.0023, allocations: 71.94 kB / 0.6202 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.383e-05/0.002313, allocations: 0 / 0.6202 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 7.747e-05/0.002391, allocations: 43.94 kB / 0.6203 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.682e-05/0.002428, allocations: 19.92 kB / 0.6203 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.714e-05/0.002445, allocations: 8 kB / 0.6203 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001174/0.002562, allocations: 75.78 kB / 0.6204 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.412e-06/0.002564, allocations: 0 / 0.6204 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of FrontEnd: time 6.81e-07/0.002564, allocations: 7.938 kB / 0.6204 GB, free: 12.06 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.002568, allocations: 0 / 0.6204 GB, free: 12.06 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.0002481/0.002816, allocations: 278.2 kB / 0.6206 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.002851, allocations: 12.03 kB / 0.6207 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.28e-05/0.002884, allocations: 12.89 kB / 0.6207 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.268e-05/0.002936, allocations: 113.7 kB / 0.6208 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.002947, allocations: 4.375 kB / 0.6208 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.295e-06/0.002955, allocations: 4.359 kB / 0.6208 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002421/0.003197, allocations: 432.9 kB / 0.6212 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.003206, allocations: 4.172 kB / 0.6212 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.003219, allocations: 8.062 kB / 0.6212 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.075e-05/0.00325, allocations: 23.98 kB / 0.6212 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.862e-05/0.003298, allocations: 43.83 kB / 0.6213 GB, free: 11 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004374/0.003736, allocations: 0.8435 MB / 0.6221 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 5.976e-05/0.003796, allocations: 173.1 kB / 0.6223 GB, free: 9.926 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.365e-05/0.003819, allocations: 88.14 kB / 0.6224 GB, free: 9.836 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/0.00384, allocations: 75.28 kB / 0.6224 GB, free: 9.762 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.003874, allocations: 109.8 kB / 0.6225 GB, free: 9.645 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 5.91e-07/0.003875, allocations: 0 / 0.6225 GB, free: 9.645 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 5.398e-05/0.003929, allocations: 37.66 kB / 0.6226 GB, free: 9.602 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001066/0.004036, allocations: 395.6 kB / 0.6229 GB, free: 9.141 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.004143, allocations: 176.2 kB / 0.6231 GB, free: 8.961 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.004155, allocations: 29.7 kB / 0.6231 GB, free: 8.926 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.995e-05/0.004215, allocations: 159.4 kB / 0.6233 GB, free: 8.766 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.915e-06/0.004217, allocations: 0 / 0.6233 GB, free: 8.766 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.376e-05/0.004261, allocations: 61.66 kB / 0.6233 GB, free: 8.699 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.105e-05/0.004332, allocations: 322.8 kB / 0.6237 GB, free: 8.375 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.265e-05/0.004365, allocations: 27.92 kB / 0.6237 GB, free: 8.348 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000179/0.004544, allocations: 475.6 kB / 0.6241 GB, free: 7.727 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001184/0.004662, allocations: 201.8 kB / 0.6243 GB, free: 7.465 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.004665, allocations: 4 kB / 0.6243 GB, free: 7.461 MB / 0.5886 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001906/0.004856, allocations: 189.7 kB / 0.6245 GB, free: 7.27 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/0.004866, allocations: 4 kB / 0.6245 GB, free: 7.266 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.004874, allocations: 11.98 kB / 0.6245 GB, free: 7.254 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.004887, allocations: 4 kB / 0.6245 GB, free: 7.25 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.194e-05/0.004969, allocations: 43.92 kB / 0.6246 GB, free: 7.207 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.004977, allocations: 7.938 kB / 0.6246 GB, free: 7.199 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.059e-05/0.005028, allocations: 23.84 kB / 0.6246 GB, free: 7.176 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.005039, allocations: 23.94 kB / 0.6246 GB, free: 7.152 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 8.284e-05/0.005122, allocations: 210 kB / 0.6248 GB, free: 6.938 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.7e-05/0.005159, allocations: 113.2 kB / 0.6249 GB, free: 6.82 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.499e-05/0.005194, allocations: 124.7 kB / 0.6251 GB, free: 6.695 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.554e-05/0.00523, allocations: 176.3 kB / 0.6252 GB, free: 6.516 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.096e-05/0.005271, allocations: 184.2 kB / 0.6254 GB, free: 6.328 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.88e-05/0.00531, allocations: 176.3 kB / 0.6256 GB, free: 6.148 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001347/0.005444, allocations: 376.8 kB / 0.6259 GB, free: 5.742 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.323e-05/0.005467, allocations: 108.9 kB / 0.626 GB, free: 5.629 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.082e-05/0.005488, allocations: 105 kB / 0.6261 GB, free: 5.52 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.224e-05/0.005531, allocations: 184.2 kB / 0.6263 GB, free: 5.332 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.769e-05/0.005568, allocations: 176.4 kB / 0.6265 GB, free: 5.152 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005073/0.006076, allocations: 180.3 kB / 0.6266 GB, free: 4.969 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.132e-05/0.006117, allocations: 192.2 kB / 0.6268 GB, free: 4.773 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.021e-05/0.006207, allocations: 315.7 kB / 0.6271 GB, free: 4.441 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.102e-05/0.006238, allocations: 112.9 kB / 0.6272 GB, free: 4.324 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.842e-05/0.006297, allocations: 188.2 kB / 0.6274 GB, free: 4.133 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.792e-05/0.006344, allocations: 105 kB / 0.6275 GB, free: 4.023 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.168e-05/0.006386, allocations: 176.3 kB / 0.6277 GB, free: 3.844 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.419e-05/0.00641, allocations: 108.9 kB / 0.6278 GB, free: 3.73 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.002e-05/0.00646, allocations: 122.6 kB / 0.6279 GB, free: 3.613 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.00646, allocations: 0 / 0.6279 GB, free: 3.613 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001897/0.00665, allocations: 28 kB / 0.6279 GB, free: 3.586 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.0001235/0.006774, allocations: 182.5 kB / 0.6281 GB, free: 3.395 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001028/0.006876, allocations: 71.78 kB / 0.6282 GB, free: 3.324 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.006878, allocations: 0 / 0.6282 GB, free: 3.324 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 9.12e-07/0.006879, allocations: 1.312 kB / 0.6282 GB, free: 3.324 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002296/0.007109, allocations: 473.8 kB / 0.6286 GB, free: 2.859 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002273/0.007336, allocations: 254.3 kB / 0.6289 GB, free: 2.574 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.069e-05/0.007387, allocations: 88.22 kB / 0.629 GB, free: 2.469 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.564e-05/0.007402, allocations: 16.5 kB / 0.629 GB, free: 2.453 MB / 0.5886 GB Notification: Performance of SimCode: time 5.52e-07/0.007403, allocations: 0 / 0.629 GB, free: 2.453 MB / 0.5886 GB Notification: Performance of Templates: time 0.00211/0.009512, allocations: 1.732 MB / 0.6307 GB, free: 0.7383 MB / 0.5886 GB " [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=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.151149345561862] Failed to read output from testmodel.py, exit status != 0: 0.013607347384095192 0.021656423 0.017549192 Calling exit ...