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.001145/0.001145, allocations: 105.4 kB / 15.69 MB, free: 140 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.001326/0.001326, allocations: 195.1 kB / 16.63 MB, free: 6.328 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.397/1.397, allocations: 205.1 MB / 222.5 MB, free: 4.566 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.704/1.704, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001567/0.001567, allocations: 79.73 kB / 0.6718 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2143/0.2159, allocations: 114.5 MB / 0.7836 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001934/0.2179, allocations: 0.6125 MB / 0.7842 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003227/0.2182, allocations: 67.84 kB / 0.7843 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.265e-05/0.2183, allocations: 0 / 0.7843 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.506e-05/0.2183, allocations: 0 / 0.7843 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.642e-05/0.2184, allocations: 15.92 kB / 0.7843 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002835/0.2187, allocations: 35.95 kB / 0.7843 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.228e-05/0.2188, allocations: 31.89 kB / 0.7844 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.246e-05/0.2188, allocations: 4 kB / 0.7844 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.458e-05/0.2188, allocations: 15.94 kB / 0.7844 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001864/0.219, allocations: 59.94 kB / 0.7845 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.2191, allocations: 4 kB / 0.7845 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.589e-05/0.2192, allocations: 31.97 kB / 0.7845 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.65e-05/0.2192, allocations: 23.91 kB / 0.7845 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.187e-05/0.2192, allocations: 23.88 kB / 0.7845 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001326/0.2194, allocations: 71.78 kB / 0.7846 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2194, allocations: 0 / 0.7846 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.452e-06/0.2194, allocations: 0 / 0.7846 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.2194, allocations: 0 / 0.7846 GB, free: 12.26 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.000456/0.2199, allocations: 367.7 kB / 0.785 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.2199, allocations: 11.97 kB / 0.785 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.863e-05/0.22, allocations: 38.75 kB / 0.785 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.444e-05/0.22, allocations: 8.844 kB / 0.785 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.085e-05/0.2201, allocations: 168.3 kB / 0.7852 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.2201, allocations: 8.375 kB / 0.7852 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.545e-05/0.2201, allocations: 4.359 kB / 0.7852 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002361/0.2204, allocations: 183.2 kB / 0.7854 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.2204, allocations: 0 / 0.7854 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/0.2204, allocations: 11.97 kB / 0.7854 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.25e-05/0.2205, allocations: 27.92 kB / 0.7854 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.968e-05/0.2205, allocations: 39.91 kB / 0.7854 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007824/0.2213, allocations: 0.8984 MB / 0.7863 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.797e-05/0.2214, allocations: 165.1 kB / 0.7865 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.336e-05/0.2215, allocations: 80.14 kB / 0.7865 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.639e-05/0.2215, allocations: 79.22 kB / 0.7866 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.821e-05/0.2216, allocations: 117.8 kB / 0.7867 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 1.362e-06/0.2216, allocations: 0 / 0.7867 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 8.918e-05/0.2217, allocations: 41.53 kB / 0.7868 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001986/0.2219, allocations: 387.7 kB / 0.7871 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.222, allocations: 164.8 kB / 0.7873 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.2221, allocations: 29.7 kB / 0.7873 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.211e-05/0.2222, allocations: 147.1 kB / 0.7875 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.492e-06/0.2222, allocations: 7.984 kB / 0.7875 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.153e-05/0.2223, allocations: 57.61 kB / 0.7875 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.2224, allocations: 326.8 kB / 0.7878 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.105e-05/0.2224, allocations: 23.98 kB / 0.7879 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001638/0.2226, allocations: 214.5 kB / 0.7881 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001878/0.2228, allocations: 205.7 kB / 0.7883 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.2228, allocations: 0 / 0.7883 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003032/0.2231, allocations: 193.1 kB / 0.7885 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.2231, allocations: 8 kB / 0.7885 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.2231, allocations: 4 kB / 0.7885 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.2232, allocations: 12.59 kB / 0.7885 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.2233, allocations: 39.92 kB / 0.7885 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/0.2233, allocations: 12 kB / 0.7885 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.293e-05/0.2234, allocations: 31.69 kB / 0.7886 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.189e-05/0.2234, allocations: 8 kB / 0.7886 GB, free: 7.711 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.0001279/0.2236, allocations: 213 kB / 0.7888 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.968e-05/0.2237, allocations: 112.9 kB / 0.7889 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.868e-05/0.2237, allocations: 120.6 kB / 0.789 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.81e-05/0.2238, allocations: 188.2 kB / 0.7892 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001519/0.224, allocations: 180.3 kB / 0.7893 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.683e-05/0.224, allocations: 176.3 kB / 0.7895 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002379/0.2243, allocations: 425.1 kB / 0.7899 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-05/0.2243, allocations: 101 kB / 0.79 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.562e-05/0.2244, allocations: 108.9 kB / 0.7901 GB, free: 6 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000166/0.2245, allocations: 180.4 kB / 0.7903 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.689e-05/0.2246, allocations: 189.2 kB / 0.7905 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.843e-05/0.2247, allocations: 184.2 kB / 0.7906 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001036/0.2248, allocations: 180.3 kB / 0.7908 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001373/0.2249, allocations: 319.6 kB / 0.7911 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001578/0.2251, allocations: 190 kB / 0.7913 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.543e-05/0.2252, allocations: 188.1 kB / 0.7915 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.016e-05/0.2253, allocations: 105 kB / 0.7916 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.322e-05/0.2254, allocations: 184.5 kB / 0.7918 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.522e-05/0.2254, allocations: 109 kB / 0.7919 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001549/0.2256, allocations: 118.4 kB / 0.792 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2256, allocations: 0 / 0.792 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003778/0.226, allocations: 28 kB / 0.792 GB, free: 3.965 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.0005124/0.2265, allocations: 0.8398 MB / 0.7928 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001591/0.2266, allocations: 71.78 kB / 0.7929 GB, free: 3.027 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.2267, allocations: 0 / 0.7929 GB, free: 3.027 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.894e-06/0.2267, allocations: 0 / 0.7929 GB, free: 3.027 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003693/0.227, allocations: 473.9 kB / 0.7933 GB, free: 2.562 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005529/0.2276, allocations: 274.3 kB / 0.7936 GB, free: 2.25 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/0.2279, allocations: 0.689 MB / 0.7943 GB, free: 1.535 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001776/0.228, allocations: 56.58 kB / 0.7943 GB, free: 1.48 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.576e-05/0.2281, allocations: 23.44 kB / 0.7943 GB, free: 1.457 MB / 0.6075 GB Notification: Performance of SimCode: time 3.81e-07/0.2281, allocations: 0 / 0.7943 GB, free: 1.457 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01952/0.2476, allocations: 2.896 MB / 0.7972 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.351/7.599, allocations: 10.5 kB / 0.7972 GB, free: 14.67 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)