Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.499/1.499, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001107/0.001107, allocations: 176.2 kB / 326.5 MB, free: 2.199 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.863/1.863, allocations: 205.4 MB / 0.5775 GB, free: 20.26 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001102/0.001102, allocations: 99.95 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003205/0.0003209, allocations: 12.47 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.2088, allocations: 106.3 MB / 0.9002 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.0006289/0.2095, allocations: 357 kB / 0.9005 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002363/0.2098, allocations: 64.55 kB / 0.9006 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.875e-05/0.2098, allocations: 4 kB / 0.9006 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.04e-05/0.2098, allocations: 4 kB / 0.9006 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.086e-05/0.2099, allocations: 0 / 0.9006 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000218/0.2101, allocations: 35.95 kB / 0.9006 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.017e-05/0.2102, allocations: 23.91 kB / 0.9006 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.304e-05/0.2102, allocations: 7.984 kB / 0.9006 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.521e-05/0.2102, allocations: 15.98 kB / 0.9006 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001585/0.2104, allocations: 67.92 kB / 0.9007 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.072e-05/0.2104, allocations: 4 kB / 0.9007 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.655e-05/0.2105, allocations: 39.89 kB / 0.9007 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.505e-05/0.2105, allocations: 12 kB / 0.9008 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.956e-05/0.2106, allocations: 33.64 kB / 0.9008 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.613e-05/0.2107, allocations: 43.92 kB / 0.9008 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.2107, allocations: 0 / 0.9008 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2107, allocations: 0 / 0.9008 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.2107, allocations: 0 / 0.9008 GB, free: 63.1 MB / 0.6042 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.000264/0.2109, allocations: 345.6 kB / 0.9012 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.211, allocations: 8.031 kB / 0.9012 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.78e-05/0.211, allocations: 50.53 kB / 0.9012 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.855e-05/0.2111, allocations: 7.906 kB / 0.9012 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.387e-05/0.2111, allocations: 174.9 kB / 0.9014 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/0.2111, allocations: 0 / 0.9014 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.083e-05/0.2112, allocations: 3.984 kB / 0.9014 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001898/0.2114, allocations: 174.5 kB / 0.9016 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.2114, allocations: 11.88 kB / 0.9016 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.2114, allocations: 8 kB / 0.9016 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.239e-05/0.2114, allocations: 15.98 kB / 0.9016 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.252e-05/0.2115, allocations: 35.91 kB / 0.9016 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004542/0.2119, allocations: 0.9152 MB / 0.9025 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.214e-05/0.212, allocations: 173.1 kB / 0.9027 GB, free: 61 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.152e-05/0.212, allocations: 75.28 kB / 0.9028 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.212, allocations: 113.8 kB / 0.9029 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.212, allocations: 0 / 0.9029 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 6.205e-05/0.2121, allocations: 37.61 kB / 0.9029 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.878e-05/0.2122, allocations: 387.7 kB / 0.9033 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.863e-05/0.2123, allocations: 166.2 kB / 0.9034 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.2123, allocations: 29.7 kB / 0.9035 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.001e-05/0.2124, allocations: 151.2 kB / 0.9036 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.466e-06/0.2124, allocations: 4 kB / 0.9036 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-06/0.2124, allocations: 8 kB / 0.9036 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.267e-05/0.2124, allocations: 318.8 kB / 0.9039 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.086e-05/0.2125, allocations: 28.34 kB / 0.9039 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.485e-05/0.2126, allocations: 215.3 kB / 0.9042 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.137e-05/0.2127, allocations: 71.88 kB / 0.9042 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.2127, allocations: 0 / 0.9042 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002277/0.2129, allocations: 185.2 kB / 0.9044 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.2129, allocations: 8 kB / 0.9044 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.2129, allocations: 4.656 kB / 0.9044 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.2129, allocations: 8 kB / 0.9044 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.2131, allocations: 47.92 kB / 0.9045 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.2131, allocations: 4 kB / 0.9045 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.054e-05/0.2132, allocations: 23.75 kB / 0.9045 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.2132, allocations: 12 kB / 0.9045 GB, free: 58.92 MB / 0.6042 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.863e-05/0.2133, allocations: 220.9 kB / 0.9047 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.276e-05/0.2133, allocations: 112.9 kB / 0.9048 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.778e-05/0.2134, allocations: 116.8 kB / 0.9049 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-05/0.2134, allocations: 184.2 kB / 0.9051 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.066e-05/0.2134, allocations: 176.3 kB / 0.9053 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.489e-05/0.2134, allocations: 181 kB / 0.9054 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001335/0.2136, allocations: 425.2 kB / 0.9059 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.524e-05/0.2136, allocations: 104.9 kB / 0.906 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.549e-05/0.2136, allocations: 112.9 kB / 0.9061 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.287e-05/0.2137, allocations: 180.3 kB / 0.9062 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.515e-05/0.2137, allocations: 184.2 kB / 0.9064 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.075e-05/0.2137, allocations: 176.5 kB / 0.9066 GB, free: 56.65 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.106e-05/0.2137, allocations: 184.3 kB / 0.9068 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.749e-05/0.2138, allocations: 323.7 kB / 0.9071 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.465e-05/0.2138, allocations: 189.9 kB / 0.9072 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.54e-05/0.2139, allocations: 180.3 kB / 0.9074 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.665e-05/0.2139, allocations: 109 kB / 0.9075 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.036e-05/0.214, allocations: 180.2 kB / 0.9077 GB, free: 55.43 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/0.214, allocations: 105 kB / 0.9078 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.865e-05/0.2141, allocations: 123.5 kB / 0.9079 GB, free: 55.2 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2141, allocations: 0 / 0.9079 GB, free: 55.2 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002932/0.2144, allocations: 24 kB / 0.9079 GB, free: 55.18 MB / 0.6042 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.0002569/0.2146, allocations: 0.836 MB / 0.9087 GB, free: 54.32 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001164/0.2147, allocations: 71.78 kB / 0.9088 GB, free: 54.25 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2148, allocations: 0 / 0.9088 GB, free: 54.25 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.333e-06/0.2148, allocations: 1.312 kB / 0.9088 GB, free: 54.25 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001937/0.215, allocations: 0.5379 MB / 0.9093 GB, free: 53.7 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003775/0.2153, allocations: 280.1 kB / 0.9096 GB, free: 53.39 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001102/0.2155, allocations: 0.6932 MB / 0.9103 GB, free: 52.67 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001877/0.2157, allocations: 60.58 kB / 0.9103 GB, free: 52.61 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.53e-05/0.2157, allocations: 23.44 kB / 0.9104 GB, free: 52.59 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.2157, allocations: 7.938 kB / 0.9104 GB, free: 52.58 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01269/0.2284, allocations: 2.755 MB / 0.9131 GB, free: 50 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001573/0.2286, allocations: 192.6 kB / 0.9132 GB, free: 49.77 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.42/1.649, allocations: 0 / 0.9132 GB, free: 49.77 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_IsMonotonic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_IsMonotonic.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)