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.0008238/0.0008238, allocations: 91.45 kB / 15.06 MB, free: 1.098 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.0008994/0.0008994, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.156/1.156, allocations: 223.3 MB / 240 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.65/0.65, allocations: 132.4 MB / 423.4 MB, free: 2.074 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002642/0.0002643, allocations: 8.812 kB / 0.5034 GB, free: 4.27 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.3311, allocations: 81.58 MB / 0.5831 GB, free: 4.004 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic): time 0.0005435/0.3317, allocations: 331.7 kB / 0.5834 GB, free: 3.781 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002331/0.3319, allocations: 67.42 kB / 0.5835 GB, free: 3.742 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.856e-05/0.332, allocations: 5.438 kB / 0.5835 GB, free: 3.738 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.142e-05/0.332, allocations: 1.172 kB / 0.5835 GB, free: 3.738 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.19e-05/0.332, allocations: 4.656 kB / 0.5835 GB, free: 3.738 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001934/0.3322, allocations: 37.41 kB / 0.5835 GB, free: 3.723 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.271e-05/0.3323, allocations: 19.72 kB / 0.5835 GB, free: 3.719 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.659e-05/0.3323, allocations: 3.047 kB / 0.5835 GB, free: 3.719 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.621e-05/0.3324, allocations: 25.73 kB / 0.5836 GB, free: 3.707 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001866/0.3325, allocations: 70.02 kB / 0.5836 GB, free: 3.695 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.069e-05/0.3326, allocations: 1.406 kB / 0.5836 GB, free: 3.695 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.974e-05/0.3327, allocations: 42.59 kB / 0.5837 GB, free: 3.68 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.831e-05/0.3327, allocations: 18.97 kB / 0.5837 GB, free: 3.672 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.698e-05/0.3327, allocations: 30.83 kB / 0.5837 GB, free: 3.641 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 7.378e-05/0.3328, allocations: 41.47 kB / 0.5838 GB, free: 3.629 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3328, allocations: 1.641 kB / 0.5838 GB, free: 3.629 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.3328, allocations: 0 / 0.5838 GB, free: 3.629 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.826e-06/0.3328, allocations: 0 / 0.5838 GB, free: 3.629 MB / 430.1 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.0002102/0.333, allocations: 345.2 kB / 0.5841 GB, free: 3.266 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.845e-05/0.3331, allocations: 17.62 kB / 0.5841 GB, free: 3.258 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.941e-05/0.3331, allocations: 12.56 kB / 0.5841 GB, free: 3.25 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.621e-05/0.3331, allocations: 172.8 kB / 0.5843 GB, free: 3.043 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.3332, allocations: 5.984 kB / 0.5843 GB, free: 3.039 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.788e-06/0.3332, allocations: 1.281 kB / 0.5843 GB, free: 3.039 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001973/0.3334, allocations: 177.3 kB / 0.5845 GB, free: 2.934 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.605e-06/0.3334, allocations: 0 / 0.5845 GB, free: 2.934 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.3334, allocations: 6.875 kB / 0.5845 GB, free: 2.93 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.769e-05/0.3335, allocations: 24.67 kB / 0.5845 GB, free: 2.926 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.125e-05/0.3335, allocations: 40.48 kB / 0.5845 GB, free: 2.914 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004073/0.3339, allocations: 0.9001 MB / 0.5854 GB, free: 2.035 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.454e-05/0.334, allocations: 166.5 kB / 0.5856 GB, free: 1.863 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.3e-05/0.334, allocations: 84.75 kB / 0.5856 GB, free: 1.777 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.022e-05/0.334, allocations: 76.59 kB / 0.5857 GB, free: 1.703 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.762e-05/0.334, allocations: 111.9 kB / 0.5858 GB, free: 1.586 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 1.342e-06/0.334, allocations: 5.297 kB / 0.5858 GB, free: 1.582 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 5.939e-05/0.3341, allocations: 39.27 kB / 0.5859 GB, free: 1.543 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.485e-05/0.3342, allocations: 391.4 kB / 0.5862 GB, free: 1.09 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.3343, allocations: 165.8 kB / 0.5864 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.227e-06/0.3343, allocations: 27.86 kB / 0.5864 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.805e-05/0.3343, allocations: 149.7 kB / 0.5866 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.679e-06/0.3343, allocations: 7 kB / 0.5866 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.779e-06/0.3344, allocations: 4.938 kB / 0.5866 GB, free: 0.793 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.565e-05/0.3344, allocations: 320.2 kB / 0.5869 GB, free: 488 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.739e-05/0.3344, allocations: 25.53 kB / 0.5869 GB, free: 484 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001027/0.3345, allocations: 220.7 kB / 0.5871 GB, free: 212 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.721e-05/0.3346, allocations: 66.66 kB / 0.5872 GB, free: 188 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.3346, allocations: 2.188 kB / 0.5872 GB, free: 188 kB / 430.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002501/0.3349, allocations: 189.9 kB / 0.5874 GB, free: 96 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.3349, allocations: 12.47 kB / 0.5874 GB, free: 92 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.3349, allocations: 7.938 kB / 0.5874 GB, free: 88 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.3349, allocations: 11.06 kB / 0.5874 GB, free: 84 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.3351, allocations: 38.28 kB / 0.5874 GB, free: 80 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.3351, allocations: 11.36 kB / 0.5874 GB, free: 76 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.526e-05/0.3351, allocations: 26.94 kB / 0.5875 GB, free: 60 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-05/0.3352, allocations: 14.7 kB / 0.5875 GB, free: 56 kB / 430.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00012/0.3353, allocations: 216.1 kB / 0.5877 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.519e-05/0.3354, allocations: 114.5 kB / 0.5878 GB, free: 15.74 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.218e-05/0.3354, allocations: 119.1 kB / 0.5879 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.975e-05/0.3355, allocations: 178 kB / 0.5881 GB, free: 15.44 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.082e-05/0.3355, allocations: 182.1 kB / 0.5883 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-05/0.3356, allocations: 181.9 kB / 0.5884 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002005/0.3358, allocations: 425.6 kB / 0.5888 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.368e-05/0.3358, allocations: 102.5 kB / 0.5889 GB, free: 14.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.678e-05/0.3359, allocations: 106.9 kB / 0.589 GB, free: 14.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.167e-05/0.3359, allocations: 181.7 kB / 0.5892 GB, free: 14.22 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.606e-05/0.336, allocations: 181.6 kB / 0.5894 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.143e-05/0.336, allocations: 183.2 kB / 0.5896 GB, free: 13.85 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.896e-05/0.3361, allocations: 177.3 kB / 0.5897 GB, free: 13.67 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001163/0.3362, allocations: 321.6 kB / 0.59 GB, free: 13.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.372e-05/0.3363, allocations: 186.4 kB / 0.5902 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.763e-05/0.3363, allocations: 187.5 kB / 0.5904 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.165e-05/0.3364, allocations: 108.6 kB / 0.5905 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.964e-05/0.3365, allocations: 190.7 kB / 0.5907 GB, free: 12.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.212e-05/0.3365, allocations: 102.4 kB / 0.5908 GB, free: 12.55 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.996e-05/0.3366, allocations: 116.8 kB / 0.5909 GB, free: 12.46 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3366, allocations: 0 / 0.5909 GB, free: 12.46 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002766/0.3369, allocations: 25.78 kB / 0.5909 GB, free: 12.46 MB / 446.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001698/0.337, allocations: 181.2 kB / 0.5911 GB, free: 12.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001315/0.3372, allocations: 74.38 kB / 0.5911 GB, free: 12.27 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3372, allocations: 0.8438 kB / 0.5911 GB, free: 12.27 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.056e-06/0.3372, allocations: 5.062 kB / 0.5912 GB, free: 12.27 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003269/0.3375, allocations: 0.5384 MB / 0.5917 GB, free: 11.74 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00024/0.3378, allocations: 243.6 kB / 0.5919 GB, free: 11.52 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002271/0.338, allocations: 0.6927 MB / 0.5926 GB, free: 10.83 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001747/0.3382, allocations: 54.91 kB / 0.5926 GB, free: 10.81 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.6e-05/0.3382, allocations: 14.62 kB / 0.5927 GB, free: 10.8 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3382, allocations: 0 / 0.5927 GB, free: 10.8 MB / 446.1 MB Notification: Performance of Templates: time 0.003913/0.3421, allocations: 1.685 MB / 0.5943 GB, free: 10.64 MB / 446.1 MB 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)