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.001583/0.001583, allocations: 98.92 kB / 15.05 MB, free: 1.105 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.002175/0.002175, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.947/1.947, allocations: 223.2 MB / 239.9 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.279/1.279, allocations: 132.2 MB / 423.2 MB, free: 2.188 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005082/0.0005082, allocations: 12 kB / 0.5033 GB, free: 4.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7852/0.7857, allocations: 81.57 MB / 0.583 GB, free: 4.031 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic): time 0.00103/0.7868, allocations: 340.2 kB / 0.5833 GB, free: 3.801 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004073/0.7873, allocations: 65.48 kB / 0.5834 GB, free: 3.766 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.792e-05/0.7873, allocations: 0 / 0.5834 GB, free: 3.766 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 4.365e-05/0.7874, allocations: 1.641 kB / 0.5834 GB, free: 3.766 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.24e-05/0.7874, allocations: 5.031 kB / 0.5834 GB, free: 3.766 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003221/0.7878, allocations: 32.7 kB / 0.5834 GB, free: 3.754 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 9.901e-05/0.7879, allocations: 21.94 kB / 0.5834 GB, free: 3.746 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.122e-05/0.788, allocations: 5.969 kB / 0.5834 GB, free: 3.742 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.75e-05/0.788, allocations: 25.98 kB / 0.5835 GB, free: 3.73 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003311/0.7884, allocations: 67.72 kB / 0.5835 GB, free: 3.723 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.707e-05/0.7884, allocations: 1.281 kB / 0.5835 GB, free: 3.723 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001474/0.7886, allocations: 31.67 kB / 0.5835 GB, free: 3.715 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.594e-05/0.7886, allocations: 19.16 kB / 0.5836 GB, free: 3.707 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.275e-05/0.7887, allocations: 29.67 kB / 0.5836 GB, free: 3.676 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001449/0.7888, allocations: 47.3 kB / 0.5836 GB, free: 3.66 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.7888, allocations: 3.938 kB / 0.5836 GB, free: 3.656 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.7888, allocations: 0.9688 kB / 0.5836 GB, free: 3.656 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.7889, allocations: 3.938 kB / 0.5836 GB, free: 3.652 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.0003785/0.7892, allocations: 354.6 kB / 0.584 GB, free: 3.281 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.509e-05/0.7893, allocations: 8.656 kB / 0.584 GB, free: 3.281 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.96e-05/0.7894, allocations: 41.47 kB / 0.584 GB, free: 3.238 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.658e-05/0.7894, allocations: 7.688 kB / 0.584 GB, free: 3.234 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001001/0.7895, allocations: 174.6 kB / 0.5842 GB, free: 3.027 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.7896, allocations: 1.094 kB / 0.5842 GB, free: 3.027 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.664e-05/0.7896, allocations: 1.75 kB / 0.5842 GB, free: 3.027 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004162/0.79, allocations: 176.6 kB / 0.5844 GB, free: 2.922 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.79, allocations: 0.5625 kB / 0.5844 GB, free: 2.922 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.383e-05/0.7901, allocations: 6.688 kB / 0.5844 GB, free: 2.918 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.017e-05/0.7902, allocations: 23.84 kB / 0.5844 GB, free: 2.914 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001203/0.7903, allocations: 35.83 kB / 0.5844 GB, free: 2.906 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000772/0.7911, allocations: 0.9049 MB / 0.5853 GB, free: 2.023 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.719e-05/0.7912, allocations: 171 kB / 0.5855 GB, free: 1.848 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.586e-05/0.7912, allocations: 79.28 kB / 0.5856 GB, free: 1.77 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.262e-05/0.7913, allocations: 108.4 kB / 0.5857 GB, free: 1.656 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 1.362e-06/0.7913, allocations: 0.5938 kB / 0.5857 GB, free: 1.656 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001002/0.7914, allocations: 40.06 kB / 0.5857 GB, free: 1.617 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001134/0.7915, allocations: 390.5 kB / 0.5861 GB, free: 1.164 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002281/0.7917, allocations: 167.5 kB / 0.5862 GB, free: 1.043 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.7918, allocations: 31.83 kB / 0.5863 GB, free: 1.008 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.063e-05/0.7919, allocations: 145.5 kB / 0.5864 GB, free: 0.875 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.943e-06/0.7919, allocations: 2.609 kB / 0.5864 GB, free: 0.875 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.156e-06/0.7919, allocations: 4.969 kB / 0.5864 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.034e-05/0.792, allocations: 324.1 kB / 0.5867 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.219e-05/0.7921, allocations: 26.33 kB / 0.5867 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002348/0.7923, allocations: 219.3 kB / 0.587 GB, free: 288 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001633/0.7925, allocations: 66.8 kB / 0.587 GB, free: 264 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.7925, allocations: 5.531 kB / 0.587 GB, free: 260 kB / 430.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004885/0.793, allocations: 186.4 kB / 0.5872 GB, free: 172 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.246e-05/0.7931, allocations: 14.77 kB / 0.5872 GB, free: 168 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/0.7931, allocations: 8.531 kB / 0.5872 GB, free: 164 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.825e-05/0.7931, allocations: 6.781 kB / 0.5872 GB, free: 164 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002262/0.7934, allocations: 38.05 kB / 0.5873 GB, free: 160 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.941e-05/0.7934, allocations: 8.016 kB / 0.5873 GB, free: 160 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001512/0.7936, allocations: 26.75 kB / 0.5873 GB, free: 144 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.306e-05/0.7936, allocations: 14.22 kB / 0.5873 GB, free: 140 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002103/0.7938, allocations: 215.5 kB / 0.5875 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001168/0.7939, allocations: 119.2 kB / 0.5876 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.284e-05/0.794, allocations: 115.3 kB / 0.5877 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.087e-05/0.7941, allocations: 185.8 kB / 0.5879 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.732e-05/0.7942, allocations: 181.7 kB / 0.5881 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.513e-05/0.7943, allocations: 182.8 kB / 0.5883 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003916/0.7947, allocations: 429.5 kB / 0.5887 GB, free: 14.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.671e-05/0.7948, allocations: 102.5 kB / 0.5888 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.467e-05/0.7949, allocations: 106.3 kB / 0.5889 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.807e-05/0.795, allocations: 177.6 kB / 0.589 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.872e-05/0.7951, allocations: 182.8 kB / 0.5892 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001568/0.7952, allocations: 181.7 kB / 0.5894 GB, free: 13.93 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001008/0.7953, allocations: 182.4 kB / 0.5896 GB, free: 13.74 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002385/0.7956, allocations: 316.6 kB / 0.5899 GB, free: 13.42 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001273/0.7957, allocations: 186.7 kB / 0.5901 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/0.7959, allocations: 184.2 kB / 0.5902 GB, free: 13.03 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.796, allocations: 112.3 kB / 0.5903 GB, free: 12.92 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/0.7961, allocations: 186 kB / 0.5905 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-05/0.7962, allocations: 102.2 kB / 0.5906 GB, free: 12.62 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001544/0.7964, allocations: 116 kB / 0.5907 GB, free: 12.54 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.7964, allocations: 0 / 0.5907 GB, free: 12.54 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005386/0.7969, allocations: 28 kB / 0.5907 GB, free: 12.54 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007367/0.7977, allocations: 0.828 MB / 0.5916 GB, free: 11.71 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002868/0.798, allocations: 71.8 kB / 0.5916 GB, free: 11.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.798, allocations: 1.281 kB / 0.5916 GB, free: 11.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.773e-06/0.798, allocations: 4 kB / 0.5916 GB, free: 11.69 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004605/0.7985, allocations: 0.5333 MB / 0.5921 GB, free: 11.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008477/0.7993, allocations: 289.3 kB / 0.5924 GB, free: 10.91 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003647/0.7997, allocations: 0.6957 MB / 0.5931 GB, free: 10.21 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003449/0.8001, allocations: 54.69 kB / 0.5932 GB, free: 10.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.55e-05/0.8001, allocations: 23.38 kB / 0.5932 GB, free: 10.18 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.8001, allocations: 0.8438 kB / 0.5932 GB, free: 10.18 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02191/0.8221, allocations: 2.737 MB / 0.5959 GB, free: 9.938 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002817/0.8224, allocations: 172.1 kB / 0.596 GB, free: 9.699 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.435/3.258, allocations: 3.25 kB / 0.596 GB, free: 9.699 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/linux/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) Environment - environmentSimulation: