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.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic") translateModel(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001722/0.001721, allocations: 110.5 kB / 16.27 MB, free: 6.414 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.001796/0.001796, allocations: 191.8 kB / 17.2 MB, free: 5.953 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.321/1.321, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8278/0.8278, allocations: 135.2 MB / 426.2 MB, free: 4.168 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00187/0.00187, allocations: 71.88 kB / 0.506 GB, free: 8.363 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3227/0.3246, allocations: 80.91 MB / 0.5851 GB, free: 25.3 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001678/0.3263, allocations: 0.5965 MB / 0.5856 GB, free: 24.87 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002982/0.3267, allocations: 77.62 kB / 0.5857 GB, free: 24.81 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.157e-05/0.3267, allocations: 0 / 0.5857 GB, free: 24.81 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.977e-05/0.3267, allocations: 3.984 kB / 0.5857 GB, free: 24.8 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.684e-05/0.3268, allocations: 7.812 kB / 0.5857 GB, free: 24.8 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002808/0.3271, allocations: 42.81 kB / 0.5858 GB, free: 24.78 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.32e-05/0.3271, allocations: 24.91 kB / 0.5858 GB, free: 24.77 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.92e-05/0.3272, allocations: 2.625 kB / 0.5858 GB, free: 24.77 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.903e-05/0.3272, allocations: 19.67 kB / 0.5858 GB, free: 24.75 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001922/0.3274, allocations: 62.95 kB / 0.5859 GB, free: 24.72 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.3275, allocations: 2.125 kB / 0.5859 GB, free: 24.72 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.7e-05/0.3276, allocations: 36.58 kB / 0.5859 GB, free: 24.7 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.501e-05/0.3276, allocations: 22.39 kB / 0.5859 GB, free: 24.69 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.874e-05/0.3276, allocations: 22.2 kB / 0.586 GB, free: 24.68 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001117/0.3277, allocations: 64.86 kB / 0.586 GB, free: 24.64 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.3278, allocations: 1.719 kB / 0.586 GB, free: 24.64 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3278, allocations: 0 / 0.586 GB, free: 24.64 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.3278, allocations: 0.9375 kB / 0.586 GB, free: 24.64 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.0002732/0.328, allocations: 361.7 kB / 0.5864 GB, free: 24.26 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.3281, allocations: 11.52 kB / 0.5864 GB, free: 24.26 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.994e-05/0.3281, allocations: 8.156 kB / 0.5864 GB, free: 24.25 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.679e-05/0.3282, allocations: 169.9 kB / 0.5865 GB, free: 24.05 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.766e-06/0.3282, allocations: 2.531 kB / 0.5865 GB, free: 24.05 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.182e-05/0.3282, allocations: 3.406 kB / 0.5866 GB, free: 24.05 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002195/0.3285, allocations: 186.2 kB / 0.5867 GB, free: 23.93 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.3285, allocations: 0 / 0.5867 GB, free: 23.93 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.3285, allocations: 2.656 kB / 0.5867 GB, free: 23.93 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.952e-05/0.3285, allocations: 21.58 kB / 0.5868 GB, free: 23.92 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.023e-05/0.3286, allocations: 40.34 kB / 0.5868 GB, free: 23.9 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004299/0.329, allocations: 0.9054 MB / 0.5877 GB, free: 22.99 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.324e-05/0.3291, allocations: 168 kB / 0.5878 GB, free: 22.82 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.78e-05/0.3291, allocations: 89.17 kB / 0.5879 GB, free: 22.73 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.568e-06/0.3291, allocations: 75.28 kB / 0.588 GB, free: 22.65 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.3292, allocations: 113.5 kB / 0.5881 GB, free: 22.54 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/0.3292, allocations: 0 / 0.5881 GB, free: 22.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 6.901e-05/0.3292, allocations: 37.64 kB / 0.5881 GB, free: 22.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.679e-05/0.3293, allocations: 388.9 kB / 0.5885 GB, free: 22.05 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.3294, allocations: 164.9 kB / 0.5887 GB, free: 21.91 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.068e-05/0.3294, allocations: 31.86 kB / 0.5887 GB, free: 21.88 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.138e-05/0.3295, allocations: 145 kB / 0.5888 GB, free: 21.74 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.729e-06/0.3295, allocations: 6.312 kB / 0.5888 GB, free: 21.74 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.363e-05/0.3296, allocations: 56.23 kB / 0.5889 GB, free: 21.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.291e-05/0.3296, allocations: 330.6 kB / 0.5892 GB, free: 21.37 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.777e-05/0.3297, allocations: 24.48 kB / 0.5892 GB, free: 21.36 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001071/0.3298, allocations: 222.1 kB / 0.5894 GB, free: 21.09 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001253/0.3299, allocations: 207.3 kB / 0.5896 GB, free: 20.88 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.3299, allocations: 1.281 kB / 0.5896 GB, free: 20.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002524/0.3302, allocations: 185.4 kB / 0.5898 GB, free: 20.78 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.3302, allocations: 8.219 kB / 0.5898 GB, free: 20.78 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.3302, allocations: 7.797 kB / 0.5898 GB, free: 20.78 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.3302, allocations: 10.53 kB / 0.5898 GB, free: 20.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.3303, allocations: 42.8 kB / 0.5899 GB, free: 20.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.886e-06/0.3304, allocations: 8.875 kB / 0.5899 GB, free: 20.76 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.142e-05/0.3304, allocations: 29.12 kB / 0.5899 GB, free: 20.74 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.3305, allocations: 9.969 kB / 0.5899 GB, free: 20.74 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.69e-05/0.3305, allocations: 212.2 kB / 0.5901 GB, free: 20.54 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.658e-05/0.3306, allocations: 115.4 kB / 0.5902 GB, free: 20.43 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.742e-05/0.3306, allocations: 122.1 kB / 0.5904 GB, free: 20.31 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.401e-05/0.3307, allocations: 184.2 kB / 0.5905 GB, free: 20.12 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.158e-05/0.3307, allocations: 177.4 kB / 0.5907 GB, free: 19.95 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.318e-05/0.3307, allocations: 186.4 kB / 0.5909 GB, free: 19.76 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001271/0.3308, allocations: 417.4 kB / 0.5913 GB, free: 19.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.496e-05/0.3309, allocations: 110.1 kB / 0.5914 GB, free: 19.19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.274e-05/0.3309, allocations: 103.4 kB / 0.5915 GB, free: 19.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.256e-05/0.3309, allocations: 177.3 kB / 0.5917 GB, free: 18.91 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.434e-05/0.3309, allocations: 186.1 kB / 0.5918 GB, free: 18.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-05/0.331, allocations: 182.6 kB / 0.592 GB, free: 18.54 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.185e-05/0.331, allocations: 189.2 kB / 0.5922 GB, free: 18.34 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.337e-05/0.3311, allocations: 314.1 kB / 0.5925 GB, free: 18.02 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.095e-05/0.3311, allocations: 185.1 kB / 0.5927 GB, free: 17.82 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.97e-05/0.3311, allocations: 182.6 kB / 0.5928 GB, free: 17.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.361e-05/0.3312, allocations: 118.4 kB / 0.5929 GB, free: 17.52 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.451e-05/0.3312, allocations: 176.3 kB / 0.5931 GB, free: 17.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.3313, allocations: 107.5 kB / 0.5932 GB, free: 17.23 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.575e-05/0.3313, allocations: 114.5 kB / 0.5933 GB, free: 17.14 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3313, allocations: 0.5312 kB / 0.5933 GB, free: 17.14 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002961/0.3316, allocations: 30.83 kB / 0.5934 GB, free: 17.13 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.0001459/0.3318, allocations: 185.8 kB / 0.5935 GB, free: 16.96 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001426/0.3319, allocations: 75.44 kB / 0.5936 GB, free: 16.94 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3319, allocations: 1.281 kB / 0.5936 GB, free: 16.94 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.323e-06/0.3319, allocations: 0 / 0.5936 GB, free: 16.94 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000261/0.3322, allocations: 466.5 kB / 0.5941 GB, free: 16.49 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002417/0.3325, allocations: 263.4 kB / 0.5943 GB, free: 16.25 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001475/0.3326, allocations: 0.6974 MB / 0.595 GB, free: 15.54 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.869e-05/0.3326, allocations: 16.44 kB / 0.595 GB, free: 15.53 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3326, allocations: 0 / 0.595 GB, free: 15.53 MB / 446.1 MB Notification: Performance of Templates: time 0.003012/0.3357, allocations: 1.708 MB / 0.5967 GB, free: 13.96 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.makefile (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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)