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 1.725/1.725, allocations: 287.4 MB / 302.6 MB, free: 8.273 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.001125/0.001125, allocations: 187.5 kB / 371.1 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.799/1.799, allocations: 205.4 MB / 0.6298 GB, free: 10.57 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.000731/0.0007309, allocations: 91.86 kB / 0.7431 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004399/0.0004403, allocations: 13.88 kB / 0.8662 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2076/0.2081, allocations: 115.3 MB / 0.9787 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.0005895/0.2087, allocations: 335.6 kB / 0.9791 GB, free: 27.76 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002409/0.209, allocations: 75.8 kB / 0.9791 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.876e-05/0.209, allocations: 0 / 0.9791 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.715e-05/0.2091, allocations: 0 / 0.9791 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.71e-05/0.2091, allocations: 7.984 kB / 0.9791 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000217/0.2093, allocations: 31.97 kB / 0.9792 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.103e-05/0.2094, allocations: 23.91 kB / 0.9792 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.558e-05/0.2094, allocations: 8 kB / 0.9792 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.247e-05/0.2095, allocations: 19.97 kB / 0.9792 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001646/0.2096, allocations: 71.88 kB / 0.9793 GB, free: 27.52 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.283e-05/0.2097, allocations: 0 / 0.9793 GB, free: 27.52 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.941e-05/0.2097, allocations: 39.95 kB / 0.9793 GB, free: 27.48 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.85e-05/0.2098, allocations: 15.94 kB / 0.9793 GB, free: 27.47 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.018e-05/0.2098, allocations: 29.7 kB / 0.9794 GB, free: 27.43 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.358e-05/0.2099, allocations: 43.92 kB / 0.9794 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.2099, allocations: 0 / 0.9794 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.283e-06/0.2099, allocations: 0 / 0.9794 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.614e-06/0.2099, allocations: 7.938 kB / 0.9794 GB, free: 27.38 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.0002281/0.2101, allocations: 351.7 kB / 0.9798 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.2102, allocations: 8.031 kB / 0.9798 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.404e-05/0.2102, allocations: 42.72 kB / 0.9798 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.72e-05/0.2103, allocations: 8.844 kB / 0.9798 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.48e-05/0.2103, allocations: 176.3 kB / 0.98 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.408e-06/0.2103, allocations: 384 / 0.98 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.626e-06/0.2103, allocations: 4.375 kB / 0.98 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000194/0.2105, allocations: 183.1 kB / 0.9802 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.2106, allocations: 0 / 0.9802 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.2106, allocations: 8 kB / 0.9802 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-05/0.2106, allocations: 19.98 kB / 0.9802 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.718e-05/0.2107, allocations: 39.84 kB / 0.9802 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004751/0.2112, allocations: 0.8985 MB / 0.9811 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.092e-05/0.2112, allocations: 181.1 kB / 0.9813 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.475e-05/0.2112, allocations: 80.14 kB / 0.9814 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.018e-05/0.2113, allocations: 75.28 kB / 0.9814 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.2113, allocations: 109.8 kB / 0.9815 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.2113, allocations: 0 / 0.9815 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 6.885e-05/0.2114, allocations: 37.55 kB / 0.9816 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.527e-05/0.2115, allocations: 399.7 kB / 0.9819 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.2116, allocations: 163.3 kB / 0.9821 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.2116, allocations: 25.7 kB / 0.9821 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.026e-05/0.2116, allocations: 151.1 kB / 0.9823 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.765e-06/0.2117, allocations: 0 / 0.9823 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-06/0.2117, allocations: 4 kB / 0.9823 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.344e-05/0.2117, allocations: 326.8 kB / 0.9826 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.109e-05/0.2118, allocations: 23.98 kB / 0.9826 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/0.2119, allocations: 224.6 kB / 0.9828 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001199/0.212, allocations: 197.8 kB / 0.983 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.212, allocations: 0 / 0.983 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002275/0.2122, allocations: 193.5 kB / 0.9832 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.2123, allocations: 4 kB / 0.9832 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.2123, allocations: 8 kB / 0.9832 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.2123, allocations: 7.938 kB / 0.9832 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.2124, allocations: 39.92 kB / 0.9833 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.2124, allocations: 11.92 kB / 0.9833 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.435e-05/0.2125, allocations: 31.69 kB / 0.9833 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.2125, allocations: 16 kB / 0.9833 GB, free: 22.91 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 8.042e-05/0.2126, allocations: 214.5 kB / 0.9835 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.546e-05/0.2127, allocations: 116.9 kB / 0.9836 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.577e-05/0.2127, allocations: 116.8 kB / 0.9837 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.478e-05/0.2127, allocations: 184.2 kB / 0.9839 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.638e-05/0.2128, allocations: 184.2 kB / 0.9841 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.634e-05/0.2128, allocations: 188.2 kB / 0.9843 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001509/0.2129, allocations: 421.2 kB / 0.9847 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-05/0.213, allocations: 105 kB / 0.9848 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.861e-05/0.213, allocations: 109 kB / 0.9849 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.566e-05/0.213, allocations: 180.2 kB / 0.985 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.614e-05/0.2131, allocations: 180.3 kB / 0.9852 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-05/0.2131, allocations: 188.1 kB / 0.9854 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.231e-05/0.2131, allocations: 181.1 kB / 0.9856 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.719e-05/0.2132, allocations: 311.8 kB / 0.9859 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.615e-05/0.2132, allocations: 182 kB / 0.986 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.168e-05/0.2133, allocations: 188.2 kB / 0.9862 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.69e-05/0.2133, allocations: 112.9 kB / 0.9863 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.513e-05/0.2134, allocations: 184.5 kB / 0.9865 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.414e-05/0.2134, allocations: 101 kB / 0.9866 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.972e-05/0.2135, allocations: 115.2 kB / 0.9867 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2135, allocations: 0 / 0.9867 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002627/0.2137, allocations: 24 kB / 0.9867 GB, free: 19.18 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.0002959/0.214, allocations: 0.8398 MB / 0.9876 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001239/0.2142, allocations: 72.97 kB / 0.9876 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.2142, allocations: 4 kB / 0.9876 GB, free: 18.24 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.292e-06/0.2142, allocations: 0 / 0.9876 GB, free: 18.24 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002708/0.2145, allocations: 0.5281 MB / 0.9881 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004024/0.2149, allocations: 284.3 kB / 0.9884 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000114/0.215, allocations: 0.6971 MB / 0.9891 GB, free: 16.67 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001689/0.2152, allocations: 56.55 kB / 0.9892 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.681e-05/0.2152, allocations: 23.42 kB / 0.9892 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of SimCode: time 2.31e-07/0.2152, allocations: 0 / 0.9892 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01387/0.2291, allocations: 2.761 MB / 0.9919 GB, free: 14 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001486/0.2293, allocations: 191.8 kB / 0.9921 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.561/1.79, allocations: 0 / 0.9921 GB, free: 13.76 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)