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.001591/0.001591, allocations: 104.9 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.001837/0.001837, allocations: 189.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.41/1.41, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8451/0.8451, allocations: 135.2 MB / 426.2 MB, free: 4.176 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00187/0.00187, allocations: 67.91 kB / 0.506 GB, free: 8.355 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3687/0.3706, allocations: 80.92 MB / 0.5851 GB, free: 25.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic): time 0.002079/0.3727, allocations: 0.5963 MB / 0.5856 GB, free: 25.12 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003268/0.373, allocations: 67.44 kB / 0.5857 GB, free: 25.07 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.357e-05/0.3731, allocations: 0 / 0.5857 GB, free: 25.07 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3e-05/0.3731, allocations: 7.938 kB / 0.5857 GB, free: 25.06 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.694e-05/0.3732, allocations: 4.531 kB / 0.5857 GB, free: 25.06 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002933/0.3735, allocations: 46.78 kB / 0.5858 GB, free: 25.04 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.168e-05/0.3735, allocations: 25.06 kB / 0.5858 GB, free: 25.02 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.57e-05/0.3736, allocations: 4.031 kB / 0.5858 GB, free: 25.02 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.565e-05/0.3736, allocations: 14.45 kB / 0.5858 GB, free: 25.02 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002064/0.3738, allocations: 63.31 kB / 0.5859 GB, free: 24.98 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.3739, allocations: 1.438 kB / 0.5859 GB, free: 24.98 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000111/0.374, allocations: 41.92 kB / 0.5859 GB, free: 24.96 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.197e-05/0.374, allocations: 17.3 kB / 0.5859 GB, free: 24.95 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.273e-05/0.3741, allocations: 18.12 kB / 0.5859 GB, free: 24.94 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001376/0.3742, allocations: 70.52 kB / 0.586 GB, free: 24.9 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.3742, allocations: 0 / 0.586 GB, free: 24.9 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3743, allocations: 0.7188 kB / 0.586 GB, free: 24.9 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.3743, allocations: 0 / 0.586 GB, free: 24.9 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.0002995/0.3746, allocations: 367.3 kB / 0.5864 GB, free: 24.52 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.3746, allocations: 10.55 kB / 0.5864 GB, free: 24.52 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.978e-05/0.3747, allocations: 8.5 kB / 0.5864 GB, free: 24.51 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.331e-05/0.3748, allocations: 169.5 kB / 0.5865 GB, free: 24.31 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-06/0.3748, allocations: 2.281 kB / 0.5865 GB, free: 24.31 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.516e-05/0.3748, allocations: 6.391 kB / 0.5866 GB, free: 24.3 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002637/0.3751, allocations: 178 kB / 0.5867 GB, free: 24.19 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.3751, allocations: 0 / 0.5867 GB, free: 24.19 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.922e-05/0.3751, allocations: 3.875 kB / 0.5867 GB, free: 24.19 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.245e-05/0.3752, allocations: 26.44 kB / 0.5868 GB, free: 24.18 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.498e-05/0.3753, allocations: 38.38 kB / 0.5868 GB, free: 24.16 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005748/0.3759, allocations: 0.9011 MB / 0.5877 GB, free: 23.25 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.444e-05/0.3759, allocations: 172 kB / 0.5878 GB, free: 23.07 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.654e-05/0.376, allocations: 81.23 kB / 0.5879 GB, free: 22.99 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.014e-05/0.376, allocations: 85.02 kB / 0.588 GB, free: 22.91 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.376, allocations: 111.9 kB / 0.5881 GB, free: 22.79 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.376, allocations: 1.094 kB / 0.5881 GB, free: 22.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 9.697e-05/0.3761, allocations: 47.98 kB / 0.5881 GB, free: 22.75 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.863e-05/0.3762, allocations: 386.9 kB / 0.5885 GB, free: 22.3 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001567/0.3764, allocations: 163.3 kB / 0.5887 GB, free: 22.16 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.3764, allocations: 26.77 kB / 0.5887 GB, free: 22.13 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.378e-05/0.3765, allocations: 149.7 kB / 0.5888 GB, free: 21.99 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.408e-06/0.3765, allocations: 2.781 kB / 0.5888 GB, free: 21.99 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.045e-05/0.3766, allocations: 56.64 kB / 0.5889 GB, free: 21.95 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.124e-05/0.3766, allocations: 325.8 kB / 0.5892 GB, free: 21.63 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.52e-05/0.3767, allocations: 28.5 kB / 0.5892 GB, free: 21.62 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001508/0.3768, allocations: 229.6 kB / 0.5895 GB, free: 21.34 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001867/0.377, allocations: 199.6 kB / 0.5896 GB, free: 21.13 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.377, allocations: 1.281 kB / 0.5896 GB, free: 21.13 MB / 446.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000385/0.3774, allocations: 193 kB / 0.5898 GB, free: 21.03 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.3775, allocations: 6.656 kB / 0.5898 GB, free: 21.03 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.3775, allocations: 5.156 kB / 0.5898 GB, free: 21.03 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.388e-05/0.3775, allocations: 10.66 kB / 0.5898 GB, free: 21.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001658/0.3777, allocations: 38.08 kB / 0.5899 GB, free: 21.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.3777, allocations: 7.5 kB / 0.5899 GB, free: 21.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001482/0.3779, allocations: 26.78 kB / 0.5899 GB, free: 21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.799e-05/0.3779, allocations: 16.41 kB / 0.5899 GB, free: 21 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 0.0001007/0.378, allocations: 210.5 kB / 0.5901 GB, free: 20.79 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.86e-05/0.3781, allocations: 113.8 kB / 0.5902 GB, free: 20.68 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.182e-05/0.3781, allocations: 119.2 kB / 0.5904 GB, free: 20.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.256e-05/0.3781, allocations: 185.4 kB / 0.5905 GB, free: 20.38 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.49e-05/0.3782, allocations: 178.5 kB / 0.5907 GB, free: 20.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.246e-05/0.3782, allocations: 177.7 kB / 0.5909 GB, free: 20.02 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002017/0.3784, allocations: 424.5 kB / 0.5913 GB, free: 19.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.38e-05/0.3784, allocations: 104.6 kB / 0.5914 GB, free: 19.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.403e-05/0.3785, allocations: 106.3 kB / 0.5915 GB, free: 19.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.393e-05/0.3785, allocations: 176.3 kB / 0.5916 GB, free: 19.17 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.699e-05/0.3785, allocations: 189.5 kB / 0.5918 GB, free: 18.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.353e-05/0.3786, allocations: 186.1 kB / 0.592 GB, free: 18.79 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.297e-05/0.3786, allocations: 178.8 kB / 0.5922 GB, free: 18.61 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.593e-05/0.3787, allocations: 317.5 kB / 0.5925 GB, free: 18.29 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.359e-05/0.3787, allocations: 192.8 kB / 0.5927 GB, free: 18.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.14e-05/0.3788, allocations: 180.5 kB / 0.5928 GB, free: 17.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.3789, allocations: 107.4 kB / 0.5929 GB, free: 17.79 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.824e-05/0.379, allocations: 186.7 kB / 0.5931 GB, free: 17.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.379, allocations: 102.5 kB / 0.5932 GB, free: 17.49 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.818e-05/0.3791, allocations: 121.4 kB / 0.5933 GB, free: 17.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3791, allocations: 1.625 kB / 0.5933 GB, free: 17.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005914/0.3797, allocations: 25.38 kB / 0.5934 GB, free: 17.39 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.0001795/0.3799, allocations: 188.6 kB / 0.5935 GB, free: 17.22 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001896/0.3801, allocations: 76.5 kB / 0.5936 GB, free: 17.19 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.3801, allocations: 2.469 kB / 0.5936 GB, free: 17.19 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.473e-06/0.3801, allocations: 0 / 0.5936 GB, free: 17.19 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000435/0.3805, allocations: 476.7 kB / 0.5941 GB, free: 16.73 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002902/0.3808, allocations: 249.2 kB / 0.5943 GB, free: 16.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001226/0.381, allocations: 0.6951 MB / 0.595 GB, free: 15.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.196e-05/0.381, allocations: 17.94 kB / 0.595 GB, free: 15.79 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.381, allocations: 0 / 0.595 GB, free: 15.79 MB / 446.1 MB Notification: Performance of Templates: time 0.004061/0.3851, allocations: 1.708 MB / 0.5967 GB, free: 14.14 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)