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.001656/0.001655, allocations: 99.7 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002478/0.002478, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.524/3.524, allocations: 205.4 MB / 222.1 MB, free: 5.656 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 3.395/3.395, allocations: 292.6 MB / 0.5497 GB, free: 14.61 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.0008858/0.000886, allocations: 16.19 kB / 0.6737 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4945/0.4954, allocations: 116.3 MB / 0.7872 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001714/0.4973, allocations: 341.8 kB / 0.7876 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0006591/0.498, allocations: 73.59 kB / 0.7876 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.013e-05/0.4981, allocations: 0 / 0.7876 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.825e-05/0.4982, allocations: 4 kB / 0.7876 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.239e-05/0.4983, allocations: 4 kB / 0.7876 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005767/0.4989, allocations: 31.95 kB / 0.7877 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001261/0.4991, allocations: 23.97 kB / 0.7877 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.662e-05/0.4992, allocations: 0 / 0.7877 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.564e-05/0.4993, allocations: 27.91 kB / 0.7877 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003573/0.4997, allocations: 67.92 kB / 0.7878 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.501e-05/0.4997, allocations: 3.938 kB / 0.7878 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001715/0.4999, allocations: 31.97 kB / 0.7878 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.088e-05/0.5, allocations: 23.92 kB / 0.7878 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.436e-05/0.5, allocations: 29.7 kB / 0.7879 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003758/0.5004, allocations: 43.94 kB / 0.7879 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.5004, allocations: 0 / 0.7879 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of FrontEnd: time 6.562e-06/0.5005, allocations: 0 / 0.7879 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.876e-06/0.5005, allocations: 3.938 kB / 0.7879 GB, free: 11.15 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.0007037/0.5012, allocations: 355.5 kB / 0.7883 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 9.441e-05/0.5013, allocations: 12.03 kB / 0.7883 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001216/0.5014, allocations: 42.55 kB / 0.7883 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.016e-05/0.5015, allocations: 7.906 kB / 0.7883 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002485/0.5018, allocations: 175 kB / 0.7885 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.461e-05/0.5018, allocations: 4 kB / 0.7885 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.264e-05/0.5019, allocations: 3.984 kB / 0.7885 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006794/0.5026, allocations: 177.7 kB / 0.7887 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.5026, allocations: 0 / 0.7887 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.935e-05/0.5026, allocations: 4 kB / 0.7887 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.742e-05/0.5027, allocations: 27.91 kB / 0.7887 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001445/0.5029, allocations: 35.91 kB / 0.7887 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001449/0.5044, allocations: 0.8985 MB / 0.7896 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001788/0.5046, allocations: 173.1 kB / 0.7898 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001806/0.5047, allocations: 75.28 kB / 0.7898 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.411e-05/0.5049, allocations: 109.8 kB / 0.7899 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 2.484e-06/0.5049, allocations: 4 kB / 0.7899 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 0.0001661/0.505, allocations: 41.55 kB / 0.79 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007404/0.5058, allocations: 387.7 kB / 0.7904 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006138/0.5064, allocations: 166.2 kB / 0.7905 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.501e-05/0.5065, allocations: 29.7 kB / 0.7905 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003137/0.5068, allocations: 143.3 kB / 0.7907 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.146e-06/0.5069, allocations: 0 / 0.7907 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.294e-05/0.5069, allocations: 8 kB / 0.7907 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0005959/0.5075, allocations: 326.8 kB / 0.791 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.206e-05/0.5076, allocations: 28.34 kB / 0.791 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004891/0.5081, allocations: 222.3 kB / 0.7912 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002088/0.5083, allocations: 57.12 kB / 0.7913 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.117e-05/0.5083, allocations: 4 kB / 0.7913 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008968/0.5092, allocations: 193 kB / 0.7915 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.838e-05/0.5093, allocations: 8 kB / 0.7915 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.139e-05/0.5093, allocations: 4 kB / 0.7915 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.687e-05/0.5094, allocations: 8.75 kB / 0.7915 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002648/0.5097, allocations: 47.84 kB / 0.7915 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.764e-05/0.5097, allocations: 15.94 kB / 0.7916 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002014/0.5099, allocations: 27.69 kB / 0.7916 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.608e-05/0.51, allocations: 12 kB / 0.7916 GB, free: 6.957 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002905/0.5103, allocations: 216.9 kB / 0.7918 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000185/0.5105, allocations: 112.8 kB / 0.7919 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000133/0.5106, allocations: 112.9 kB / 0.792 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001501/0.5108, allocations: 188.2 kB / 0.7922 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001542/0.511, allocations: 180.2 kB / 0.7924 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001499/0.5111, allocations: 176.3 kB / 0.7925 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006104/0.5117, allocations: 429.1 kB / 0.7929 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.154e-05/0.5118, allocations: 101 kB / 0.793 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.901e-05/0.5119, allocations: 101 kB / 0.7931 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001782/0.5121, allocations: 192.2 kB / 0.7933 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002267/0.5124, allocations: 180.4 kB / 0.7935 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002092/0.5126, allocations: 184.2 kB / 0.7937 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001817/0.5128, allocations: 184.3 kB / 0.7938 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004435/0.5132, allocations: 311.8 kB / 0.7941 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003592/0.5136, allocations: 190 kB / 0.7943 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004267/0.514, allocations: 188.2 kB / 0.7945 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/0.5142, allocations: 105 kB / 0.7946 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004728/0.5147, allocations: 184.2 kB / 0.7948 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.264e-05/0.5148, allocations: 101 kB / 0.7949 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005352/0.5153, allocations: 115.8 kB / 0.795 GB, free: 3.254 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.31e-07/0.5153, allocations: 0 / 0.795 GB, free: 3.254 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005793/0.5159, allocations: 28 kB / 0.795 GB, free: 3.227 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 (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.001236/0.5172, allocations: 0.8281 MB / 0.7958 GB, free: 2.371 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003074/0.5175, allocations: 71.78 kB / 0.7959 GB, free: 2.301 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.16e-05/0.5175, allocations: 4 kB / 0.7959 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.985e-06/0.5175, allocations: 0 / 0.7959 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007289/0.5183, allocations: 0.5354 MB / 0.7964 GB, free: 1.758 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009991/0.5193, allocations: 280.1 kB / 0.7967 GB, free: 1.441 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007219/0.52, allocations: 0.7009 MB / 0.7974 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004255/0.5205, allocations: 56.38 kB / 0.7974 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/0.5206, allocations: 27.42 kB / 0.7974 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of SimCode: time 7.01e-07/0.5206, allocations: 0 / 0.7974 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0275/0.5481, allocations: 2.751 MB / 0.8001 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003609/0.5486, allocations: 189.3 kB / 0.8003 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.172/3.72, allocations: 3.938 kB / 0.8003 GB, free: 13.8 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_IsMonotonic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_IsMonotonic.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) Environment - environmentSimulation: