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.001142/0.001142, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001449/0.001449, allocations: 169 kB / 23.49 MB, free: 1.062 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.115/1.115, allocations: 177.1 MB / 203.8 MB, free: 5.617 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.8138/0.8138, allocations: 154.8 MB / 415.1 MB, free: 480 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 2.004e-06/2.004e-06, allocations: 0 / 0.5206 GB, free: 2.203 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.747e-05/2.948e-05, allocations: 5.594 kB / 0.5206 GB, free: 2.199 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic): time 0.00487/0.0049, allocations: 0.6234 MB / 0.5212 GB, free: 1.598 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003531/0.005253, allocations: 64.67 kB / 0.5213 GB, free: 1.535 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.364e-05/0.005286, allocations: 1.625 kB / 0.5213 GB, free: 1.535 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.254e-05/0.005329, allocations: 3.984 kB / 0.5213 GB, free: 1.531 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.838e-05/0.005377, allocations: 7.594 kB / 0.5213 GB, free: 1.527 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003583/0.005736, allocations: 51.88 kB / 0.5214 GB, free: 1.477 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.035e-05/0.005816, allocations: 27.91 kB / 0.5214 GB, free: 1.449 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.832e-05/0.005864, allocations: 0 / 0.5214 GB, free: 1.449 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.751e-05/0.005912, allocations: 23.97 kB / 0.5214 GB, free: 1.426 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002209/0.006133, allocations: 72.41 kB / 0.5215 GB, free: 1.355 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.00615, allocations: 0 / 0.5215 GB, free: 1.355 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001068/0.006256, allocations: 40.52 kB / 0.5215 GB, free: 1.316 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.404e-05/0.0063, allocations: 20.88 kB / 0.5215 GB, free: 1.297 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.759e-05/0.006328, allocations: 11.94 kB / 0.5216 GB, free: 1.285 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001628/0.006491, allocations: 79.77 kB / 0.5216 GB, free: 1.207 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.006494, allocations: 0.5312 kB / 0.5216 GB, free: 1.207 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.163e-06/0.006495, allocations: 1.438 kB / 0.5216 GB, free: 1.207 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.0065, allocations: 0 / 0.5216 GB, free: 1.207 MB / 490.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.00338/0.009881, allocations: 392.5 kB / 0.522 GB, free: 0.7852 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.009926, allocations: 12.03 kB / 0.522 GB, free: 0.7734 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.768e-05/0.009984, allocations: 5.875 kB / 0.522 GB, free: 0.7695 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.732e-05/0.01006, allocations: 112.6 kB / 0.5221 GB, free: 0.6328 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.01008, allocations: 5.891 kB / 0.5221 GB, free: 0.6289 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.945e-05/0.0101, allocations: 8.375 kB / 0.5221 GB, free: 0.6211 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002788/0.01037, allocations: 395.2 kB / 0.5225 GB, free: 148 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.01038, allocations: 192 / 0.5225 GB, free: 148 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.724e-05/0.0104, allocations: 4.125 kB / 0.5225 GB, free: 144 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.804e-05/0.01046, allocations: 25.02 kB / 0.5225 GB, free: 120 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.455e-05/0.01051, allocations: 27.86 kB / 0.5226 GB, free: 92 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007199/0.01123, allocations: 1.212 MB / 0.5238 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001024/0.01133, allocations: 269.4 kB / 0.524 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.175e-05/0.01138, allocations: 132.2 kB / 0.5241 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.088e-05/0.01141, allocations: 119.2 kB / 0.5243 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.759e-05/0.01146, allocations: 160.5 kB / 0.5244 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 1.183e-06/0.01147, allocations: 0.625 kB / 0.5244 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 8.479e-05/0.01155, allocations: 33.66 kB / 0.5244 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001555/0.01171, allocations: 440.5 kB / 0.5249 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001617/0.01187, allocations: 235.5 kB / 0.5251 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.01188, allocations: 26.2 kB / 0.5251 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.475e-05/0.01198, allocations: 202.2 kB / 0.5253 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.978e-06/0.01198, allocations: 0.7188 kB / 0.5253 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.062e-05/0.01205, allocations: 63.31 kB / 0.5254 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.01219, allocations: 0.4981 MB / 0.5259 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.359e-05/0.01222, allocations: 19.92 kB / 0.5259 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002652/0.01249, allocations: 0.5389 MB / 0.5264 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00323/0.01572, allocations: 244.7 kB / 0.5266 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/0.01573, allocations: 4 kB / 0.5266 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003038/0.01603, allocations: 177.1 kB / 0.5268 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.01605, allocations: 8 kB / 0.5268 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.01606, allocations: 4 kB / 0.5268 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.01608, allocations: 4.625 kB / 0.5268 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.01621, allocations: 40.42 kB / 0.5269 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.419e-05/0.01623, allocations: 11.98 kB / 0.5269 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.464e-05/0.01632, allocations: 30.31 kB / 0.5269 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.653e-05/0.01634, allocations: 15.94 kB / 0.5269 GB, free: 11.16 MB / 0.4948 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.0002104/0.01655, allocations: 295.6 kB / 0.5272 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.193e-05/0.01663, allocations: 156.8 kB / 0.5273 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.505e-05/0.0167, allocations: 164.7 kB / 0.5275 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.764e-05/0.01677, allocations: 268 kB / 0.5278 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.068e-05/0.01684, allocations: 266.5 kB / 0.528 GB, free: 9.996 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.038e-05/0.01691, allocations: 276 kB / 0.5283 GB, free: 9.719 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002393/0.01715, allocations: 0.5115 MB / 0.5288 GB, free: 9.164 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.063e-05/0.01719, allocations: 144.9 kB / 0.5289 GB, free: 9.016 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.04e-05/0.01723, allocations: 148.8 kB / 0.5291 GB, free: 8.863 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.237e-05/0.0173, allocations: 268.1 kB / 0.5293 GB, free: 8.594 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.345e-05/0.01737, allocations: 269.7 kB / 0.5296 GB, free: 8.324 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.236e-05/0.01744, allocations: 264.1 kB / 0.5298 GB, free: 8.059 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.33e-05/0.01752, allocations: 276 kB / 0.5301 GB, free: 7.781 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001709/0.01769, allocations: 448 kB / 0.5305 GB, free: 7.316 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.889e-05/0.01775, allocations: 156.8 kB / 0.5307 GB, free: 7.156 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.329e-05/0.01784, allocations: 273.1 kB / 0.5309 GB, free: 6.883 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.939e-05/0.01794, allocations: 156.8 kB / 0.5311 GB, free: 6.723 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.241e-05/0.01802, allocations: 265 kB / 0.5313 GB, free: 6.457 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.5e-05/0.01807, allocations: 144.9 kB / 0.5315 GB, free: 6.309 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.736e-05/0.01816, allocations: 157 kB / 0.5316 GB, free: 6.156 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.01e-07/0.01816, allocations: 5.375 kB / 0.5316 GB, free: 6.152 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003412/0.02157, allocations: 28 kB / 0.5316 GB, free: 6.125 MB / 0.4948 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.0002735/0.02184, allocations: 231.6 kB / 0.5319 GB, free: 5.887 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000217/0.02206, allocations: 78.25 kB / 0.5319 GB, free: 5.809 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.02206, allocations: 0 / 0.5319 GB, free: 5.809 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.314e-06/0.02206, allocations: 0 / 0.5319 GB, free: 5.809 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004417/0.02251, allocations: 0.7229 MB / 0.5326 GB, free: 5.086 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003419/0.02285, allocations: 269.7 kB / 0.5329 GB, free: 4.793 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.671e-05/0.02289, allocations: 68.52 kB / 0.533 GB, free: 4.707 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001516/0.02305, allocations: 48.45 kB / 0.533 GB, free: 4.668 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.244e-05/0.02307, allocations: 18.94 kB / 0.533 GB, free: 4.648 MB / 0.4948 GB Notification: Performance of SimCode: time 9.82e-07/0.02307, allocations: 0 / 0.533 GB, free: 4.648 MB / 0.4948 GB Notification: Performance of Templates: time 0.0102/0.03327, allocations: 1.812 MB / 0.5348 GB, free: 2.984 MB / 0.4948 GB " [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.9480170467868447]