Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.684/2.684, allocations: 287.5 MB / 302.4 MB, free: 8.344 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001394/0.001393, allocations: 177.9 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.229/2.229, allocations: 205.4 MB / 0.6297 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00195/0.001951, allocations: 86.36 kB / 0.743 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006949/0.0006951, allocations: 13.22 kB / 0.8659 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2162/0.2169, allocations: 115.3 MB / 0.9785 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.0007744/0.2178, allocations: 343.5 kB / 0.9788 GB, free: 27.91 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0003276/0.2181, allocations: 59.89 kB / 0.9788 GB, free: 27.85 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.584e-05/0.2182, allocations: 0 / 0.9788 GB, free: 27.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.645e-05/0.2182, allocations: 0 / 0.9788 GB, free: 27.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.621e-05/0.2183, allocations: 11.92 kB / 0.9789 GB, free: 27.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002735/0.2185, allocations: 39.95 kB / 0.9789 GB, free: 27.8 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.015e-05/0.2186, allocations: 23.97 kB / 0.9789 GB, free: 27.78 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.79e-05/0.2187, allocations: 3.938 kB / 0.9789 GB, free: 27.77 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.766e-05/0.2187, allocations: 15.98 kB / 0.9789 GB, free: 27.76 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002294/0.219, allocations: 71.92 kB / 0.979 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.049e-05/0.219, allocations: 0 / 0.979 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001152/0.2191, allocations: 43.89 kB / 0.979 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.548e-05/0.2192, allocations: 15.98 kB / 0.9791 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.419e-05/0.2192, allocations: 33.64 kB / 0.9791 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.514e-05/0.2193, allocations: 39.94 kB / 0.9791 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2193, allocations: 4 kB / 0.9791 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.954e-06/0.2193, allocations: 0 / 0.9791 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.2193, allocations: 0 / 0.9791 GB, free: 27.55 MB / 0.6198 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.0002832/0.2196, allocations: 347.5 kB / 0.9795 GB, free: 27.16 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.2197, allocations: 12.02 kB / 0.9795 GB, free: 27.15 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.203e-05/0.2197, allocations: 46.55 kB / 0.9795 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.571e-05/0.2198, allocations: 7.906 kB / 0.9795 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.258e-05/0.2199, allocations: 171 kB / 0.9797 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.2199, allocations: 3.938 kB / 0.9797 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.707e-05/0.2199, allocations: 11.92 kB / 0.9797 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002797/0.2202, allocations: 171.3 kB / 0.9799 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.2202, allocations: 7.938 kB / 0.9799 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.877e-05/0.2203, allocations: 7.984 kB / 0.9799 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-05/0.2203, allocations: 19.98 kB / 0.9799 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.368e-05/0.2204, allocations: 39.91 kB / 0.9799 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006637/0.2211, allocations: 0.8946 MB / 0.9808 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.481e-05/0.2212, allocations: 177.1 kB / 0.981 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.15e-05/0.2212, allocations: 80.14 kB / 0.9811 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.117e-05/0.2212, allocations: 83.27 kB / 0.9811 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.396e-05/0.2213, allocations: 109.8 kB / 0.9812 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.963e-06/0.2213, allocations: 0 / 0.9812 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 9.235e-05/0.2214, allocations: 41.61 kB / 0.9813 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.2215, allocations: 391.7 kB / 0.9817 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001563/0.2217, allocations: 162.8 kB / 0.9818 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.2217, allocations: 29.7 kB / 0.9818 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.605e-05/0.2218, allocations: 147.3 kB / 0.982 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.52e-06/0.2218, allocations: 3.984 kB / 0.982 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.065e-06/0.2218, allocations: 4 kB / 0.982 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.569e-05/0.2219, allocations: 326.8 kB / 0.9823 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.955e-05/0.222, allocations: 28.36 kB / 0.9823 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001713/0.2221, allocations: 218.3 kB / 0.9825 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001239/0.2223, allocations: 63.84 kB / 0.9826 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.2223, allocations: 4 kB / 0.9826 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003778/0.2227, allocations: 189.1 kB / 0.9828 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.2227, allocations: 8 kB / 0.9828 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.739e-06/0.2227, allocations: 4 kB / 0.9828 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.201e-05/0.2228, allocations: 8 kB / 0.9828 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002141/0.223, allocations: 44.58 kB / 0.9828 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.306e-05/0.223, allocations: 7.984 kB / 0.9829 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001288/0.2232, allocations: 35.69 kB / 0.9829 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.699e-05/0.2232, allocations: 11.94 kB / 0.9829 GB, free: 23.27 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001304/0.2233, allocations: 218.2 kB / 0.9831 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.617e-05/0.2234, allocations: 116.9 kB / 0.9832 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.275e-05/0.2235, allocations: 112.9 kB / 0.9833 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.776e-05/0.2235, allocations: 181.1 kB / 0.9835 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.714e-05/0.2236, allocations: 180.3 kB / 0.9837 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.354e-05/0.2236, allocations: 188.1 kB / 0.9838 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001942/0.2238, allocations: 421.2 kB / 0.9843 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.119e-05/0.2238, allocations: 105 kB / 0.9844 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.079e-05/0.2239, allocations: 109 kB / 0.9845 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.474e-05/0.2239, allocations: 192.2 kB / 0.9846 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.68e-05/0.224, allocations: 180.4 kB / 0.9848 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.254e-05/0.224, allocations: 180.3 kB / 0.985 GB, free: 21 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.191e-05/0.224, allocations: 176.3 kB / 0.9852 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001005/0.2241, allocations: 323.7 kB / 0.9855 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.34e-05/0.2242, allocations: 185.9 kB / 0.9856 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.957e-05/0.2243, allocations: 180.3 kB / 0.9858 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.747e-05/0.2244, allocations: 116.9 kB / 0.9859 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.536e-05/0.2244, allocations: 180.2 kB / 0.9861 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.414e-05/0.2245, allocations: 101 kB / 0.9862 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.852e-05/0.2246, allocations: 115.8 kB / 0.9863 GB, free: 19.56 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2246, allocations: 0 / 0.9863 GB, free: 19.56 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004/0.225, allocations: 32 kB / 0.9863 GB, free: 19.53 MB / 0.6198 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 (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.0003982/0.2254, allocations: 0.8281 MB / 0.9871 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002113/0.2257, allocations: 71.78 kB / 0.9872 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.2257, allocations: 0 / 0.9872 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.717e-06/0.2257, allocations: 4 kB / 0.9872 GB, free: 18.6 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000349/0.2261, allocations: 0.5315 MB / 0.9877 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000583/0.2267, allocations: 288.2 kB / 0.988 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001867/0.2269, allocations: 0.701 MB / 0.9887 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003216/0.2272, allocations: 52.53 kB / 0.9887 GB, free: 16.97 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.827e-05/0.2273, allocations: 23.42 kB / 0.9888 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of SimCode: time 1.492e-06/0.2273, allocations: 0 / 0.9888 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02828/0.2556, allocations: 2.788 MB / 0.9915 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000254/0.2559, allocations: 188.1 kB / 0.9917 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.578/2.834, allocations: 0 / 0.9917 GB, free: 14.09 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_IsMonotonic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_IsMonotonic.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)