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.001004/0.001004, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.00814/0.00814, allocations: 171.1 kB / 16.26 MB, free: 6.676 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: 223.2 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7583/0.7583, allocations: 132.3 MB / 423.7 MB, free: 1.996 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003034/0.0003032, allocations: 12 kB / 0.5041 GB, free: 3.789 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3694/0.3698, allocations: 81.57 MB / 0.5838 GB, free: 3.879 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic): time 0.0006227/0.3704, allocations: 341.7 kB / 0.5841 GB, free: 3.648 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003033/0.3708, allocations: 70.66 kB / 0.5841 GB, free: 3.609 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.75e-05/0.3708, allocations: 4 kB / 0.5842 GB, free: 3.605 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.239e-05/0.3708, allocations: 1.734 kB / 0.5842 GB, free: 3.605 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.759e-05/0.3709, allocations: 5.094 kB / 0.5842 GB, free: 3.605 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002342/0.3711, allocations: 32.84 kB / 0.5842 GB, free: 3.594 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.533e-05/0.3712, allocations: 28.77 kB / 0.5842 GB, free: 3.586 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.25e-05/0.3712, allocations: 2.672 kB / 0.5842 GB, free: 3.586 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.828e-05/0.3713, allocations: 20.88 kB / 0.5842 GB, free: 3.574 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001949/0.3715, allocations: 65.44 kB / 0.5843 GB, free: 3.562 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.3715, allocations: 1.25 kB / 0.5843 GB, free: 3.562 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.84e-05/0.3716, allocations: 38.7 kB / 0.5843 GB, free: 3.551 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.056e-05/0.3716, allocations: 23.83 kB / 0.5844 GB, free: 3.539 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.577e-05/0.3717, allocations: 45.56 kB / 0.5844 GB, free: 3.496 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00013/0.3718, allocations: 67.89 kB / 0.5845 GB, free: 3.473 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.3718, allocations: 0 / 0.5845 GB, free: 3.473 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3718, allocations: 3.938 kB / 0.5845 GB, free: 3.469 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.967e-06/0.3718, allocations: 0 / 0.5845 GB, free: 3.469 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.0002321/0.3721, allocations: 346.1 kB / 0.5848 GB, free: 3.102 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.3721, allocations: 9.281 kB / 0.5848 GB, free: 3.102 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.951e-05/0.3722, allocations: 45.45 kB / 0.5849 GB, free: 3.055 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.849e-05/0.3722, allocations: 9.094 kB / 0.5849 GB, free: 3.051 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.01e-05/0.3723, allocations: 167.4 kB / 0.585 GB, free: 2.852 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.3723, allocations: 5.266 kB / 0.585 GB, free: 2.848 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.265e-06/0.3723, allocations: 3.938 kB / 0.585 GB, free: 2.848 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002338/0.3725, allocations: 180.2 kB / 0.5852 GB, free: 2.742 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.124e-06/0.3725, allocations: 4 kB / 0.5852 GB, free: 2.738 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.3726, allocations: 2.891 kB / 0.5852 GB, free: 2.738 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.631e-05/0.3726, allocations: 27.92 kB / 0.5852 GB, free: 2.73 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.181e-05/0.3727, allocations: 36.72 kB / 0.5853 GB, free: 2.723 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004704/0.3732, allocations: 0.9015 MB / 0.5862 GB, free: 1.844 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.013e-05/0.3732, allocations: 166.9 kB / 0.5863 GB, free: 1.672 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.332e-05/0.3732, allocations: 88.08 kB / 0.5864 GB, free: 1.582 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.557e-06/0.3732, allocations: 79.28 kB / 0.5865 GB, free: 1.504 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/0.3733, allocations: 110 kB / 0.5866 GB, free: 1.391 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.3733, allocations: 0 / 0.5866 GB, free: 1.391 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 6.952e-05/0.3734, allocations: 39.52 kB / 0.5866 GB, free: 1.352 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.183e-05/0.3734, allocations: 390.9 kB / 0.587 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.3735, allocations: 166.3 kB / 0.5871 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.3736, allocations: 27.23 kB / 0.5872 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.436e-05/0.3736, allocations: 154.5 kB / 0.5873 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.558e-06/0.3736, allocations: 2.641 kB / 0.5873 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.669e-05/0.3737, allocations: 20.94 kB / 0.5873 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.991e-05/0.3737, allocations: 324.4 kB / 0.5877 GB, free: 272 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4e-05/0.3738, allocations: 26.11 kB / 0.5877 GB, free: 268 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001276/0.3739, allocations: 220.6 kB / 0.5879 GB, free: 16 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001986/0.3741, allocations: 206.5 kB / 0.5881 GB, free: 15.78 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.3741, allocations: 1.406 kB / 0.5881 GB, free: 15.78 MB / 446.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003147/0.3744, allocations: 191.6 kB / 0.5883 GB, free: 15.69 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.3745, allocations: 8.562 kB / 0.5883 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.3745, allocations: 4.469 kB / 0.5883 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.3745, allocations: 14.28 kB / 0.5883 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.3746, allocations: 38.86 kB / 0.5883 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.201e-05/0.3746, allocations: 7.391 kB / 0.5883 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001016/0.3747, allocations: 27.56 kB / 0.5884 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.455e-05/0.3748, allocations: 9.281 kB / 0.5884 GB, free: 15.66 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.0001278/0.3749, allocations: 215.5 kB / 0.5886 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.937e-05/0.375, allocations: 119 kB / 0.5887 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.33e-05/0.375, allocations: 116.2 kB / 0.5888 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-05/0.3751, allocations: 186.6 kB / 0.589 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.638e-05/0.3752, allocations: 181.9 kB / 0.5892 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.462e-05/0.3752, allocations: 179 kB / 0.5893 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002283/0.3755, allocations: 421.9 kB / 0.5897 GB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-05/0.3755, allocations: 106.7 kB / 0.5898 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.919e-05/0.3755, allocations: 110.6 kB / 0.5899 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.764e-05/0.3756, allocations: 178 kB / 0.5901 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.208e-05/0.3757, allocations: 178.7 kB / 0.5903 GB, free: 13.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.064e-05/0.3757, allocations: 184.9 kB / 0.5905 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.65e-05/0.3758, allocations: 185.8 kB / 0.5906 GB, free: 13.27 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001324/0.3759, allocations: 318.5 kB / 0.5909 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.331e-05/0.376, allocations: 181.4 kB / 0.5911 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.528e-05/0.3761, allocations: 188.3 kB / 0.5913 GB, free: 12.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.239e-05/0.3762, allocations: 108.9 kB / 0.5914 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.763e-05/0.3763, allocations: 188.9 kB / 0.5916 GB, free: 12.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.067e-05/0.3763, allocations: 103.3 kB / 0.5917 GB, free: 12.15 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.019e-05/0.3764, allocations: 115.4 kB / 0.5918 GB, free: 12.07 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3764, allocations: 0 / 0.5918 GB, free: 12.07 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003195/0.3767, allocations: 27.56 kB / 0.5918 GB, free: 12.07 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.0004286/0.3772, allocations: 0.8289 MB / 0.5926 GB, free: 11.24 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001503/0.3773, allocations: 71.34 kB / 0.5927 GB, free: 11.22 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.3773, allocations: 2.531 kB / 0.5927 GB, free: 11.22 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.904e-06/0.3773, allocations: 352 / 0.5927 GB, free: 11.22 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003807/0.3777, allocations: 0.5435 MB / 0.5932 GB, free: 10.69 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004926/0.3782, allocations: 290.8 kB / 0.5935 GB, free: 10.43 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002527/0.3785, allocations: 0.6964 MB / 0.5942 GB, free: 9.73 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002027/0.3787, allocations: 50.97 kB / 0.5942 GB, free: 9.719 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.36e-05/0.3787, allocations: 24.03 kB / 0.5942 GB, free: 9.703 MB / 446.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3787, allocations: 0 / 0.5942 GB, free: 9.703 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5136/0.8923, allocations: 2.809 MB / 0.597 GB, free: 9.445 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002285/0.8926, allocations: 192.8 kB / 0.5972 GB, free: 9.191 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.764/2.657, allocations: 0 / 0.5972 GB, free: 9.191 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)