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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic") translateModel(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006959/0.006959, allocations: 94.7 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 200.5 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7715/0.7715, allocations: 132.2 MB / 422.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 65.84 kB / 0.5814 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1958/0.197, allocations: 80.21 MB / 0.6597 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001879/0.199, allocations: 0.6031 MB / 0.6603 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004619/0.1994, allocations: 67.84 kB / 0.6604 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.309e-05/0.1995, allocations: 4 kB / 0.6604 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.264e-05/0.1995, allocations: 3.984 kB / 0.6604 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.706e-05/0.1996, allocations: 7.938 kB / 0.6604 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004111/0.2, allocations: 43.94 kB / 0.6604 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.924e-05/0.2001, allocations: 27.86 kB / 0.6605 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.814e-05/0.2002, allocations: 4 kB / 0.6605 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.704e-05/0.2002, allocations: 15.98 kB / 0.6605 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000233/0.2005, allocations: 63.88 kB / 0.6605 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.812e-05/0.2005, allocations: 4 kB / 0.6605 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001245/0.2006, allocations: 35.95 kB / 0.6606 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.844e-05/0.2007, allocations: 12 kB / 0.6606 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.109e-05/0.2007, allocations: 31.78 kB / 0.6606 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001645/0.2009, allocations: 67.73 kB / 0.6607 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2009, allocations: 0 / 0.6607 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.884e-06/0.2009, allocations: 0 / 0.6607 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.47e-05/0.201, allocations: 4 kB / 0.6607 GB, free: 12.5 MB / 0.4981 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.0004073/0.2014, allocations: 355.3 kB / 0.661 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.2014, allocations: 15.97 kB / 0.661 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.427e-05/0.2015, allocations: 8.891 kB / 0.661 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.2016, allocations: 168.3 kB / 0.6612 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.2016, allocations: 4.359 kB / 0.6612 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.067e-05/0.2016, allocations: 4.375 kB / 0.6612 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002561/0.2019, allocations: 188.3 kB / 0.6614 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.2019, allocations: 0 / 0.6614 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.2019, allocations: 0 / 0.6614 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.34e-05/0.202, allocations: 19.98 kB / 0.6614 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.424e-05/0.202, allocations: 47.84 kB / 0.6615 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006605/0.2027, allocations: 0.8985 MB / 0.6623 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.511e-05/0.2028, allocations: 177.4 kB / 0.6625 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.673e-05/0.2028, allocations: 80.14 kB / 0.6626 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.91e-05/0.2029, allocations: 75.31 kB / 0.6627 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.342e-05/0.2029, allocations: 113.8 kB / 0.6628 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 8.02e-07/0.2029, allocations: 0 / 0.6628 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 8.519e-05/0.203, allocations: 39.98 kB / 0.6628 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001768/0.2032, allocations: 391.6 kB / 0.6632 GB, free: 9.66 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.2034, allocations: 167 kB / 0.6633 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.2034, allocations: 29.7 kB / 0.6634 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.85e-05/0.2035, allocations: 151.5 kB / 0.6635 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.332e-06/0.2035, allocations: 8 kB / 0.6635 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.073e-05/0.2036, allocations: 49.66 kB / 0.6636 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.2037, allocations: 330.8 kB / 0.6639 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.782e-05/0.2037, allocations: 23.98 kB / 0.6639 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001749/0.2039, allocations: 221.5 kB / 0.6641 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001771/0.2041, allocations: 205.8 kB / 0.6643 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.2041, allocations: 0 / 0.6643 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002912/0.2044, allocations: 185.3 kB / 0.6645 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.2044, allocations: 4 kB / 0.6645 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.2044, allocations: 11.98 kB / 0.6645 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.2044, allocations: 7.938 kB / 0.6645 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.2046, allocations: 43.92 kB / 0.6645 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.2046, allocations: 8.469 kB / 0.6646 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.325e-05/0.2047, allocations: 27.84 kB / 0.6646 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.848e-05/0.2047, allocations: 20.09 kB / 0.6646 GB, free: 8 MB / 0.4981 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.0001182/0.2048, allocations: 216.9 kB / 0.6648 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.695e-05/0.2049, allocations: 116.9 kB / 0.6649 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.37e-05/0.205, allocations: 120.8 kB / 0.665 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.904e-05/0.205, allocations: 180.2 kB / 0.6652 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.186e-05/0.2051, allocations: 184.2 kB / 0.6654 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.869e-05/0.2052, allocations: 184.3 kB / 0.6656 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002173/0.2054, allocations: 417.2 kB / 0.666 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.042e-05/0.2054, allocations: 112.9 kB / 0.6661 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.976e-05/0.2055, allocations: 101 kB / 0.6662 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.554e-05/0.2055, allocations: 180.2 kB / 0.6663 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.606e-05/0.2056, allocations: 180.3 kB / 0.6665 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.012e-05/0.2057, allocations: 188.2 kB / 0.6667 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.075e-05/0.2057, allocations: 180.2 kB / 0.6669 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001445/0.2059, allocations: 311.7 kB / 0.6672 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.312e-05/0.206, allocations: 186 kB / 0.6673 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.91e-05/0.2061, allocations: 188.2 kB / 0.6675 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.427e-05/0.2062, allocations: 112.9 kB / 0.6676 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.151e-05/0.2062, allocations: 176.6 kB / 0.6678 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.668e-05/0.2063, allocations: 104.9 kB / 0.6679 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.051e-05/0.2063, allocations: 115.2 kB / 0.668 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2063, allocations: 4 kB / 0.668 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002912/0.2066, allocations: 31.98 kB / 0.668 GB, free: 4.258 MB / 0.4981 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.0002106/0.2069, allocations: 186.5 kB / 0.6682 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001556/0.207, allocations: 76.69 kB / 0.6683 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.207, allocations: 448 / 0.6683 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.182e-06/0.207, allocations: 4 kB / 0.6683 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003686/0.2074, allocations: 467.6 kB / 0.6687 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002802/0.2077, allocations: 230.8 kB / 0.6689 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/0.208, allocations: 0.689 MB / 0.6696 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001807/0.2082, allocations: 60.38 kB / 0.6697 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.79e-05/0.2082, allocations: 15.44 kB / 0.6697 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.2082, allocations: 4 kB / 0.6697 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of Templates: time 0.004326/0.2125, allocations: 1.678 MB / 0.6713 GB, free: 0.8359 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.makefile (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)