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.001348/0.001348, allocations: 82.48 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001425/0.001425, allocations: 167.9 kB / 22.46 MB, free: 5.359 MB / 14.72 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.453/1.453, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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 1.181/1.181, allocations: 154.6 MB / 413.8 MB, free: 5.234 MB / 382.1 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 178] 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.573e-06/1.573e-06, allocations: 0 / 0.6186 GB, free: 4.484 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.122e-05/3.279e-05, allocations: 7.875 kB / 0.6186 GB, free: 4.48 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001596/0.001629, allocations: 0.612 MB / 0.6192 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003303/0.001959, allocations: 59.86 kB / 0.6193 GB, free: 3.82 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.165e-05/0.001981, allocations: 0 / 0.6193 GB, free: 3.82 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.637e-05/0.002027, allocations: 4 kB / 0.6193 GB, free: 3.816 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.15e-05/0.002079, allocations: 11.86 kB / 0.6193 GB, free: 3.805 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003246/0.002404, allocations: 43.89 kB / 0.6194 GB, free: 3.762 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.742e-05/0.002481, allocations: 35.84 kB / 0.6194 GB, free: 3.727 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.881e-05/0.00252, allocations: 11.98 kB / 0.6194 GB, free: 3.715 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.35e-05/0.002563, allocations: 15.98 kB / 0.6194 GB, free: 3.699 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002251/0.002788, allocations: 67.92 kB / 0.6195 GB, free: 3.633 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.848e-05/0.002807, allocations: 0 / 0.6195 GB, free: 3.633 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001167/0.002924, allocations: 51.92 kB / 0.6195 GB, free: 3.582 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.963e-05/0.002963, allocations: 15.94 kB / 0.6195 GB, free: 3.566 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.007e-05/0.002993, allocations: 8 kB / 0.6196 GB, free: 3.559 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001562/0.003149, allocations: 79.77 kB / 0.6196 GB, free: 3.48 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.003152, allocations: 0 / 0.6196 GB, free: 3.48 MB / 0.5294 GB Notification: Performance of FrontEnd: time 5.31e-07/0.003152, allocations: 0 / 0.6196 GB, free: 3.48 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.003157, allocations: 4 kB / 0.6196 GB, free: 3.477 MB / 0.5294 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.0003659/0.003523, allocations: 286.2 kB / 0.6199 GB, free: 3.164 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.003558, allocations: 8.031 kB / 0.6199 GB, free: 3.156 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.863e-05/0.003606, allocations: 12.83 kB / 0.6199 GB, free: 3.145 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.962e-05/0.003706, allocations: 109.7 kB / 0.62 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.003723, allocations: 4.375 kB / 0.62 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.07e-05/0.003734, allocations: 4.359 kB / 0.62 GB, free: 3.004 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004165/0.00415, allocations: 438.9 kB / 0.6205 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.00416, allocations: 192 / 0.6205 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/0.004177, allocations: 12.05 kB / 0.6205 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.697e-05/0.004224, allocations: 27.97 kB / 0.6205 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.111e-05/0.004295, allocations: 47.84 kB / 0.6205 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007049/0.005, allocations: 0.8357 MB / 0.6214 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.005101, allocations: 173.1 kB / 0.6215 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.967e-05/0.00514, allocations: 84.14 kB / 0.6216 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.621e-05/0.005177, allocations: 75.28 kB / 0.6217 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.86e-05/0.005245, allocations: 113.8 kB / 0.6218 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 1.163e-06/0.005246, allocations: 0 / 0.6218 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 8.598e-05/0.005332, allocations: 37.59 kB / 0.6218 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002133/0.005546, allocations: 395.7 kB / 0.6222 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.005706, allocations: 165.7 kB / 0.6224 GB, free: 392 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.005727, allocations: 33.7 kB / 0.6224 GB, free: 352 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.913e-05/0.005827, allocations: 151.5 kB / 0.6225 GB, free: 196 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.231e-06/0.005833, allocations: 3.984 kB / 0.6225 GB, free: 192 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.018e-05/0.005903, allocations: 57.66 kB / 0.6226 GB, free: 128 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.006057, allocations: 318.8 kB / 0.6229 GB, free: 15.8 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.753e-05/0.006105, allocations: 31.91 kB / 0.6229 GB, free: 15.77 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003324/0.006437, allocations: 477.2 kB / 0.6234 GB, free: 15.15 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002252/0.006662, allocations: 201.8 kB / 0.6236 GB, free: 14.89 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.006664, allocations: 96 / 0.6236 GB, free: 14.89 MB / 0.545 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003443/0.007009, allocations: 197.3 kB / 0.6238 GB, free: 14.69 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.007028, allocations: 8 kB / 0.6238 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.007036, allocations: 7.938 kB / 0.6238 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.351e-05/0.00706, allocations: 4 kB / 0.6238 GB, free: 14.67 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.007209, allocations: 39.92 kB / 0.6238 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.539e-05/0.007225, allocations: 7.984 kB / 0.6238 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.686e-05/0.007322, allocations: 28.27 kB / 0.6239 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.128e-05/0.007343, allocations: 19.94 kB / 0.6239 GB, free: 14.58 MB / 0.545 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 0.000161/0.007504, allocations: 214.8 kB / 0.6241 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.107e-05/0.007595, allocations: 116.9 kB / 0.6242 GB, free: 14.24 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.093e-05/0.007656, allocations: 112.8 kB / 0.6243 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.949e-05/0.007745, allocations: 180.2 kB / 0.6245 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.335e-05/0.007839, allocations: 184.2 kB / 0.6246 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001016/0.00794, allocations: 176.3 kB / 0.6248 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000257/0.008197, allocations: 376.7 kB / 0.6252 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.255e-05/0.00825, allocations: 104.9 kB / 0.6253 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.818e-05/0.008298, allocations: 109 kB / 0.6254 GB, free: 12.94 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.446e-05/0.008382, allocations: 184.4 kB / 0.6256 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.634e-05/0.008479, allocations: 184.3 kB / 0.6257 GB, free: 12.57 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.477e-05/0.008564, allocations: 184.2 kB / 0.6259 GB, free: 12.38 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.074e-05/0.008644, allocations: 184.3 kB / 0.6261 GB, free: 12.19 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001864/0.008831, allocations: 315.6 kB / 0.6264 GB, free: 11.86 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.735e-05/0.008888, allocations: 116.9 kB / 0.6265 GB, free: 11.74 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.642e-05/0.008984, allocations: 184.2 kB / 0.6267 GB, free: 11.55 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.459e-05/0.009079, allocations: 105 kB / 0.6268 GB, free: 11.44 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000142/0.009221, allocations: 184.2 kB / 0.6269 GB, free: 11.25 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.482e-05/0.009276, allocations: 105 kB / 0.627 GB, free: 11.14 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.867e-05/0.009365, allocations: 116.5 kB / 0.6272 GB, free: 11.03 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.009365, allocations: 4 kB / 0.6272 GB, free: 11.03 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003137/0.009678, allocations: 32 kB / 0.6272 GB, free: 11 MB / 0.545 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.0002112/0.00989, allocations: 182.5 kB / 0.6274 GB, free: 10.81 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001716/0.01006, allocations: 68.78 kB / 0.6274 GB, free: 10.74 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.01006, allocations: 0 / 0.6274 GB, free: 10.74 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.219e-06/0.01007, allocations: 8.25 kB / 0.6274 GB, free: 10.73 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004366/0.01051, allocations: 467.7 kB / 0.6279 GB, free: 10.27 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003349/0.01084, allocations: 228.5 kB / 0.6281 GB, free: 10.02 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.79e-05/0.01093, allocations: 75.97 kB / 0.6282 GB, free: 9.93 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001735/0.0111, allocations: 52.59 kB / 0.6282 GB, free: 9.875 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.122e-05/0.01112, allocations: 16.5 kB / 0.6282 GB, free: 9.859 MB / 0.545 GB Notification: Performance of SimCode: time 3e-07/0.01112, allocations: 0 / 0.6282 GB, free: 9.859 MB / 0.545 GB Notification: Performance of Templates: time 0.004895/0.01602, allocations: 1.801 MB / 0.63 GB, free: 8.137 MB / 0.545 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.70601961761713] Failed to read output from testmodel.py, exit status != 0: 0.024984903633594513 0.039661951 0.033456973 Calling exit ...