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.001092/0.001092, allocations: 101.8 kB / 16.35 MB, free: 6.336 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.001242/0.001242, allocations: 198.1 kB / 17.3 MB, free: 5.883 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.326/1.326, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.793/0.793, allocations: 132.2 MB / 423.3 MB, free: 6.645 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 71.88 kB / 0.5032 GB, free: 10.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.3224, allocations: 80.18 MB / 0.5815 GB, free: 27.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001725/0.3242, allocations: 0.6076 MB / 0.5821 GB, free: 27.07 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002993/0.3245, allocations: 69.47 kB / 0.5822 GB, free: 27.02 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.124e-05/0.3245, allocations: 0 / 0.5822 GB, free: 27.02 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.739e-05/0.3246, allocations: 1.125 kB / 0.5822 GB, free: 27.02 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.687e-05/0.3246, allocations: 7.453 kB / 0.5822 GB, free: 27.02 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000264/0.3249, allocations: 46.61 kB / 0.5822 GB, free: 26.99 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.023e-05/0.3249, allocations: 26.66 kB / 0.5822 GB, free: 26.98 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.963e-05/0.325, allocations: 2.656 kB / 0.5822 GB, free: 26.98 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.332e-05/0.325, allocations: 19.73 kB / 0.5823 GB, free: 26.97 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001638/0.3252, allocations: 58.62 kB / 0.5823 GB, free: 26.94 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.285e-05/0.3252, allocations: 1.062 kB / 0.5823 GB, free: 26.94 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.597e-05/0.3253, allocations: 40.94 kB / 0.5823 GB, free: 26.92 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.285e-05/0.3253, allocations: 21.11 kB / 0.5824 GB, free: 26.91 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.741e-05/0.3254, allocations: 17.42 kB / 0.5824 GB, free: 26.89 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001138/0.3255, allocations: 71.47 kB / 0.5825 GB, free: 26.85 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3255, allocations: 0.5625 kB / 0.5825 GB, free: 26.85 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.3255, allocations: 1.281 kB / 0.5825 GB, free: 26.85 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.3255, allocations: 0 / 0.5825 GB, free: 26.85 MB / 446.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.000251/0.3258, allocations: 361.6 kB / 0.5828 GB, free: 26.47 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.066e-05/0.3258, allocations: 9.75 kB / 0.5828 GB, free: 26.47 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.309e-05/0.3258, allocations: 8.844 kB / 0.5828 GB, free: 26.47 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.105e-05/0.3259, allocations: 170.2 kB / 0.583 GB, free: 26.27 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.3259, allocations: 5.453 kB / 0.583 GB, free: 26.27 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.14e-05/0.3259, allocations: 3.938 kB / 0.583 GB, free: 26.27 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002003/0.3261, allocations: 185 kB / 0.5832 GB, free: 26.14 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.3262, allocations: 3.938 kB / 0.5832 GB, free: 26.14 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.3262, allocations: 2.344 kB / 0.5832 GB, free: 26.14 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.714e-05/0.3262, allocations: 20.52 kB / 0.5832 GB, free: 26.13 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.787e-05/0.3263, allocations: 36.97 kB / 0.5832 GB, free: 26.12 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004454/0.3267, allocations: 0.9059 MB / 0.5841 GB, free: 25.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.728e-05/0.3268, allocations: 168.8 kB / 0.5843 GB, free: 25.03 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.568e-05/0.3268, allocations: 83.33 kB / 0.5844 GB, free: 24.95 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.174e-05/0.3268, allocations: 79.22 kB / 0.5844 GB, free: 24.87 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.3268, allocations: 115.3 kB / 0.5845 GB, free: 24.75 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.3269, allocations: 0 / 0.5845 GB, free: 24.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 7.723e-05/0.3269, allocations: 35.67 kB / 0.5846 GB, free: 24.71 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.74e-05/0.327, allocations: 387.2 kB / 0.5849 GB, free: 24.27 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.3271, allocations: 169.5 kB / 0.5851 GB, free: 24.13 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.021e-05/0.3271, allocations: 26.86 kB / 0.5851 GB, free: 24.1 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.981e-05/0.3272, allocations: 152.9 kB / 0.5853 GB, free: 23.95 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.288e-06/0.3272, allocations: 6.156 kB / 0.5853 GB, free: 23.95 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.176e-05/0.3273, allocations: 54.17 kB / 0.5853 GB, free: 23.91 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.928e-05/0.3273, allocations: 321.4 kB / 0.5856 GB, free: 23.59 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.56e-05/0.3273, allocations: 31.62 kB / 0.5857 GB, free: 23.58 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001145/0.3275, allocations: 227.5 kB / 0.5859 GB, free: 23.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001267/0.3276, allocations: 199.9 kB / 0.5861 GB, free: 23.1 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.3276, allocations: 1.281 kB / 0.5861 GB, free: 23.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002565/0.3279, allocations: 193.5 kB / 0.5863 GB, free: 22.99 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.3279, allocations: 9.875 kB / 0.5863 GB, free: 22.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.3279, allocations: 5.219 kB / 0.5863 GB, free: 22.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.3279, allocations: 10.53 kB / 0.5863 GB, free: 22.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.3281, allocations: 42.27 kB / 0.5863 GB, free: 22.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.3281, allocations: 14.17 kB / 0.5863 GB, free: 22.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.22e-05/0.3282, allocations: 24.91 kB / 0.5864 GB, free: 22.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.3282, allocations: 17.38 kB / 0.5864 GB, free: 22.95 MB / 446.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.296e-05/0.3283, allocations: 209.7 kB / 0.5866 GB, free: 22.75 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.181e-05/0.3283, allocations: 112 kB / 0.5867 GB, free: 22.64 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.501e-05/0.3283, allocations: 115.1 kB / 0.5868 GB, free: 22.53 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.096e-05/0.3284, allocations: 188.9 kB / 0.587 GB, free: 22.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.208e-05/0.3284, allocations: 180.2 kB / 0.5871 GB, free: 22.16 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.167e-05/0.3284, allocations: 180.8 kB / 0.5873 GB, free: 21.97 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001267/0.3285, allocations: 416.9 kB / 0.5877 GB, free: 21.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-05/0.3286, allocations: 101.5 kB / 0.5878 GB, free: 21.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.511e-05/0.3286, allocations: 113.6 kB / 0.5879 GB, free: 21.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.167e-05/0.3286, allocations: 182.3 kB / 0.5881 GB, free: 21.12 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.445e-05/0.3286, allocations: 184.3 kB / 0.5883 GB, free: 20.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.243e-05/0.3287, allocations: 188.1 kB / 0.5885 GB, free: 20.74 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.037e-05/0.3287, allocations: 184 kB / 0.5886 GB, free: 20.55 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.059e-05/0.3288, allocations: 311.8 kB / 0.5889 GB, free: 20.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.424e-05/0.3288, allocations: 192.6 kB / 0.5891 GB, free: 20.02 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.65e-05/0.3288, allocations: 180.3 kB / 0.5893 GB, free: 19.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.353e-05/0.3289, allocations: 121.4 kB / 0.5894 GB, free: 19.72 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.628e-05/0.3289, allocations: 177.7 kB / 0.5896 GB, free: 19.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.502e-05/0.329, allocations: 102.4 kB / 0.5897 GB, free: 19.44 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.374e-05/0.329, allocations: 114.7 kB / 0.5898 GB, free: 19.35 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.31e-07/0.329, allocations: 0 / 0.5898 GB, free: 19.35 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003025/0.3293, allocations: 30.62 kB / 0.5898 GB, free: 19.34 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 (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.0001536/0.3295, allocations: 184.4 kB / 0.59 GB, free: 19.17 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001327/0.3296, allocations: 73.75 kB / 0.59 GB, free: 19.14 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.3296, allocations: 2.719 kB / 0.5901 GB, free: 19.14 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.272e-06/0.3296, allocations: 0 / 0.5901 GB, free: 19.14 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002615/0.3299, allocations: 468.9 kB / 0.5905 GB, free: 18.69 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002079/0.3301, allocations: 229.7 kB / 0.5907 GB, free: 18.48 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001146/0.3303, allocations: 0.6943 MB / 0.5914 GB, free: 17.78 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001455/0.3304, allocations: 60.25 kB / 0.5915 GB, free: 17.75 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.501e-05/0.3304, allocations: 14.12 kB / 0.5915 GB, free: 17.74 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3304, allocations: 1.031 kB / 0.5915 GB, free: 17.74 MB / 446.1 MB Notification: Performance of Templates: time 0.003877/0.3343, allocations: 1.648 MB / 0.5931 GB, free: 16.99 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)