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: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001686/0.001687, allocations: 195.3 kB / 16.14 MB, free: 6.707 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.311/1.311, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7426/0.7426, allocations: 132.2 MB / 422.1 MB, free: 2.016 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 60.22 kB / 0.5012 GB, free: 4.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3595/0.3607, allocations: 80.21 MB / 0.5795 GB, free: 4.547 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001609/0.3624, allocations: 0.6616 MB / 0.5802 GB, free: 4.125 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002928/0.3627, allocations: 70.39 kB / 0.5802 GB, free: 4.086 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.616e-05/0.3627, allocations: 5.281 kB / 0.5802 GB, free: 4.082 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.86e-05/0.3628, allocations: 4.703 kB / 0.5802 GB, free: 4.078 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.069e-05/0.3628, allocations: 9 kB / 0.5802 GB, free: 4.074 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000212/0.363, allocations: 33.06 kB / 0.5803 GB, free: 4.062 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.189e-05/0.3631, allocations: 28.86 kB / 0.5803 GB, free: 4.055 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.116e-05/0.3631, allocations: 1.75 kB / 0.5803 GB, free: 4.055 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.503e-05/0.3632, allocations: 17.91 kB / 0.5803 GB, free: 4.047 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001886/0.3633, allocations: 69.47 kB / 0.5804 GB, free: 4.031 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.3634, allocations: 5.188 kB / 0.5804 GB, free: 4.027 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.29e-05/0.3635, allocations: 34.38 kB / 0.5804 GB, free: 4.02 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.832e-05/0.3635, allocations: 19.73 kB / 0.5804 GB, free: 4.012 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.055e-05/0.3636, allocations: 20.64 kB / 0.5805 GB, free: 4 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001202/0.3637, allocations: 67.08 kB / 0.5805 GB, free: 3.977 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3637, allocations: 3.938 kB / 0.5805 GB, free: 3.973 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.3637, allocations: 1.375 kB / 0.5805 GB, free: 3.973 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.567e-06/0.3637, allocations: 0 / 0.5805 GB, free: 3.973 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.0002469/0.364, allocations: 361.4 kB / 0.5809 GB, free: 3.602 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.364, allocations: 10.28 kB / 0.5809 GB, free: 3.602 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.311e-05/0.364, allocations: 49.38 kB / 0.5809 GB, free: 3.551 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.962e-05/0.3641, allocations: 8.469 kB / 0.5809 GB, free: 3.547 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.594e-05/0.3641, allocations: 171.2 kB / 0.5811 GB, free: 3.344 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.966e-06/0.3641, allocations: 1.188 kB / 0.5811 GB, free: 3.344 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.688e-06/0.3641, allocations: 2.469 kB / 0.5811 GB, free: 3.344 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000221/0.3644, allocations: 177.5 kB / 0.5813 GB, free: 3.242 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.3644, allocations: 5.094 kB / 0.5813 GB, free: 3.238 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.3644, allocations: 6.062 kB / 0.5813 GB, free: 3.234 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.44e-05/0.3645, allocations: 19.95 kB / 0.5813 GB, free: 3.234 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.925e-05/0.3645, allocations: 44.5 kB / 0.5814 GB, free: 3.219 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000442/0.365, allocations: 0.9022 MB / 0.5822 GB, free: 2.34 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.674e-05/0.365, allocations: 173.9 kB / 0.5824 GB, free: 2.16 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.307e-05/0.365, allocations: 80.14 kB / 0.5825 GB, free: 2.078 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.279e-05/0.3651, allocations: 81.3 kB / 0.5826 GB, free: 2 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.3651, allocations: 108.5 kB / 0.5827 GB, free: 1.887 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 1.523e-06/0.3651, allocations: 3.984 kB / 0.5827 GB, free: 1.883 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 6.851e-05/0.3652, allocations: 35.11 kB / 0.5827 GB, free: 1.848 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.176e-05/0.3652, allocations: 395.6 kB / 0.5831 GB, free: 1.391 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.3654, allocations: 165.6 kB / 0.5832 GB, free: 1.27 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.097e-05/0.3654, allocations: 27.53 kB / 0.5833 GB, free: 1.238 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.469e-05/0.3654, allocations: 150.7 kB / 0.5834 GB, free: 1.102 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.89e-06/0.3655, allocations: 2.547 kB / 0.5834 GB, free: 1.102 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.981e-05/0.3655, allocations: 55.92 kB / 0.5835 GB, free: 1.066 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.515e-05/0.3656, allocations: 324.8 kB / 0.5838 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.497e-05/0.3656, allocations: 25.59 kB / 0.5838 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001148/0.3657, allocations: 222.2 kB / 0.584 GB, free: 488 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001382/0.3659, allocations: 197.2 kB / 0.5842 GB, free: 276 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.3659, allocations: 1.844 kB / 0.5842 GB, free: 276 kB / 430.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002923/0.3662, allocations: 192.1 kB / 0.5844 GB, free: 184 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.3662, allocations: 6.906 kB / 0.5844 GB, free: 184 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.3662, allocations: 9.203 kB / 0.5844 GB, free: 180 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.3663, allocations: 10.16 kB / 0.5844 GB, free: 176 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.3664, allocations: 38.7 kB / 0.5844 GB, free: 172 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.3664, allocations: 11.88 kB / 0.5844 GB, free: 168 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.583e-05/0.3665, allocations: 26.19 kB / 0.5845 GB, free: 152 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.297e-05/0.3665, allocations: 10.94 kB / 0.5845 GB, free: 152 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001095/0.3666, allocations: 218.6 kB / 0.5847 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.717e-05/0.3667, allocations: 115.8 kB / 0.5848 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.588e-05/0.3668, allocations: 123.5 kB / 0.5849 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.453e-05/0.3668, allocations: 179.3 kB / 0.5851 GB, free: 15.53 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.212e-05/0.3669, allocations: 182.5 kB / 0.5853 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.643e-05/0.3669, allocations: 178.2 kB / 0.5854 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002085/0.3671, allocations: 417.8 kB / 0.5858 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.463e-05/0.3672, allocations: 114.5 kB / 0.5859 GB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.961e-05/0.3672, allocations: 102.7 kB / 0.586 GB, free: 14.49 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.562e-05/0.3673, allocations: 185.7 kB / 0.5862 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.438e-05/0.3673, allocations: 181.9 kB / 0.5864 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.86e-05/0.3674, allocations: 185.8 kB / 0.5866 GB, free: 13.93 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.288e-05/0.3674, allocations: 187.4 kB / 0.5867 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001234/0.3676, allocations: 308.7 kB / 0.587 GB, free: 13.43 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.404e-05/0.3676, allocations: 186 kB / 0.5872 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.03e-05/0.3677, allocations: 187.6 kB / 0.5874 GB, free: 13.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.395e-05/0.3678, allocations: 105.2 kB / 0.5875 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.125e-05/0.3679, allocations: 182 kB / 0.5877 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.478e-05/0.3679, allocations: 110.5 kB / 0.5878 GB, free: 12.64 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.869e-05/0.368, allocations: 117.5 kB / 0.5879 GB, free: 12.55 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.368, allocations: 0 / 0.5879 GB, free: 12.55 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003356/0.3683, allocations: 26.45 kB / 0.5879 GB, free: 12.55 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.000521/0.3689, allocations: 0.8257 MB / 0.5887 GB, free: 11.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000183/0.3691, allocations: 76.23 kB / 0.5888 GB, free: 11.71 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.3691, allocations: 1.031 kB / 0.5888 GB, free: 11.71 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.625e-06/0.3691, allocations: 1.312 kB / 0.5888 GB, free: 11.71 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004778/0.3696, allocations: 0.5348 MB / 0.5893 GB, free: 11.18 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005075/0.3701, allocations: 288.3 kB / 0.5896 GB, free: 10.92 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002233/0.3703, allocations: 0.7006 MB / 0.5903 GB, free: 10.22 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002244/0.3705, allocations: 57.98 kB / 0.5903 GB, free: 10.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.014e-05/0.3706, allocations: 22.7 kB / 0.5904 GB, free: 10.18 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3706, allocations: 0.8125 kB / 0.5904 GB, free: 10.18 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01235/0.3829, allocations: 2.86 MB / 0.5931 GB, free: 9.848 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001641/0.3831, allocations: 194.6 kB / 0.5933 GB, free: 9.594 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.733/2.116, allocations: 0 / 0.5933 GB, free: 9.594 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_IsMonotonic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_IsMonotonic.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)