Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="Buildings_8_Buildings_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.001158/0.001158, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001545/0.001545, allocations: 194.6 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.339/1.339, allocations: 205.1 MB / 222.4 MB, free: 4.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.723/1.723, allocations: 292.3 MB / 0.5489 GB, free: 13.54 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001489/0.00149, allocations: 77.52 kB / 0.6716 GB, free: 25.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2936/0.2951, allocations: 114.5 MB / 0.7835 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.002103/0.2973, allocations: 0.6095 MB / 0.7841 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003638/0.2977, allocations: 67.84 kB / 0.7841 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.663e-05/0.2977, allocations: 0 / 0.7841 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.955e-05/0.2977, allocations: 7.938 kB / 0.7841 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.223e-05/0.2978, allocations: 4 kB / 0.7842 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003193/0.2981, allocations: 43.88 kB / 0.7842 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.281e-05/0.2982, allocations: 19.98 kB / 0.7842 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.061e-05/0.2983, allocations: 7.984 kB / 0.7842 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.196e-05/0.2983, allocations: 23.91 kB / 0.7842 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001922/0.2985, allocations: 55.95 kB / 0.7843 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.624e-05/0.2985, allocations: 8 kB / 0.7843 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001083/0.2986, allocations: 39.89 kB / 0.7843 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.279e-05/0.2987, allocations: 19.92 kB / 0.7844 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.144e-05/0.2987, allocations: 23.86 kB / 0.7844 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001402/0.2989, allocations: 63.8 kB / 0.7844 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2989, allocations: 0 / 0.7844 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.773e-06/0.2989, allocations: 4 kB / 0.7844 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.551e-06/0.2989, allocations: 0 / 0.7844 GB, free: 12.48 MB / 0.6075 GB 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.0004068/0.2993, allocations: 359.7 kB / 0.7848 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.2994, allocations: 12.03 kB / 0.7848 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.941e-05/0.2994, allocations: 50.72 kB / 0.7849 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.805e-05/0.2995, allocations: 8.844 kB / 0.7849 GB, free: 12 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.2996, allocations: 168.3 kB / 0.785 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.2996, allocations: 4.375 kB / 0.785 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.538e-06/0.2996, allocations: 384 / 0.785 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002523/0.2999, allocations: 185.6 kB / 0.7852 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.2999, allocations: 7.938 kB / 0.7852 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.2999, allocations: 4 kB / 0.7852 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.172e-05/0.3, allocations: 15.98 kB / 0.7852 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.231e-05/0.3, allocations: 43.91 kB / 0.7853 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007336/0.3008, allocations: 0.9023 MB / 0.7862 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.734e-05/0.3009, allocations: 165.1 kB / 0.7863 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.142e-05/0.3009, allocations: 80.14 kB / 0.7864 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.095e-05/0.301, allocations: 79.28 kB / 0.7865 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.402e-05/0.301, allocations: 121.7 kB / 0.7866 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.301, allocations: 0 / 0.7866 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 9.064e-05/0.3011, allocations: 33.61 kB / 0.7866 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001833/0.3013, allocations: 391.7 kB / 0.787 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001524/0.3015, allocations: 164.7 kB / 0.7871 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.3015, allocations: 25.7 kB / 0.7872 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.3016, allocations: 155.1 kB / 0.7873 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.121e-06/0.3016, allocations: 4 kB / 0.7873 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.234e-05/0.3017, allocations: 53.61 kB / 0.7874 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001996/0.3019, allocations: 322.8 kB / 0.7877 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.197e-05/0.3019, allocations: 23.98 kB / 0.7877 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001712/0.3021, allocations: 222.5 kB / 0.7879 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001997/0.3023, allocations: 197.7 kB / 0.7881 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3023, allocations: 0 / 0.7881 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002991/0.3026, allocations: 193.7 kB / 0.7883 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.3027, allocations: 8.938 kB / 0.7883 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.3027, allocations: 8.031 kB / 0.7883 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.3027, allocations: 11.94 kB / 0.7883 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.3028, allocations: 43.92 kB / 0.7884 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.107e-05/0.3029, allocations: 15.92 kB / 0.7884 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.89e-05/0.303, allocations: 27.69 kB / 0.7884 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.861e-05/0.303, allocations: 12 kB / 0.7884 GB, free: 7.938 MB / 0.6075 GB 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.0001566/0.3031, allocations: 213 kB / 0.7886 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.711e-05/0.3032, allocations: 109 kB / 0.7887 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.892e-05/0.3033, allocations: 116.8 kB / 0.7888 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.683e-05/0.3034, allocations: 188.2 kB / 0.789 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.611e-05/0.3035, allocations: 180.3 kB / 0.7892 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.516e-05/0.3036, allocations: 184.2 kB / 0.7894 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002914/0.3039, allocations: 413.2 kB / 0.7897 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.123e-05/0.304, allocations: 112.9 kB / 0.7899 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.516e-05/0.304, allocations: 105 kB / 0.79 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.586e-05/0.3041, allocations: 176.4 kB / 0.7901 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.889e-05/0.3042, allocations: 189.1 kB / 0.7903 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.051e-05/0.3043, allocations: 180.3 kB / 0.7905 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.668e-05/0.3044, allocations: 180.2 kB / 0.7906 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002039/0.3046, allocations: 315.7 kB / 0.7909 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001151/0.3047, allocations: 193.9 kB / 0.7911 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001139/0.3048, allocations: 180.2 kB / 0.7913 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.3049, allocations: 116.9 kB / 0.7914 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.3051, allocations: 180.6 kB / 0.7916 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.225e-05/0.3051, allocations: 113 kB / 0.7917 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.971e-05/0.3052, allocations: 115.2 kB / 0.7918 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3052, allocations: 0 / 0.7918 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003484/0.3056, allocations: 28 kB / 0.7918 GB, free: 4.199 MB / 0.6075 GB 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.0006503/0.3062, allocations: 0.8321 MB / 0.7926 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001626/0.3064, allocations: 68.97 kB / 0.7927 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.3064, allocations: 4 kB / 0.7927 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.957e-06/0.3064, allocations: 3.938 kB / 0.7927 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004662/0.3069, allocations: 479.8 kB / 0.7932 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005879/0.3075, allocations: 266.4 kB / 0.7934 GB, free: 2.488 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003872/0.3079, allocations: 0.6929 MB / 0.7941 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002865/0.3082, allocations: 60.38 kB / 0.7942 GB, free: 1.711 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.042e-05/0.3082, allocations: 23.44 kB / 0.7942 GB, free: 1.688 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.3082, allocations: 4 kB / 0.7942 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02184/0.3301, allocations: 2.876 MB / 0.797 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.409/7.739, allocations: 18.28 kB / 0.797 GB, free: 14.9 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_IsMonotonic.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)