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.542/1.542, 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.001195/0.001195, allocations: 169.5 kB / 326.5 MB, free: 2.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.17/2.17, allocations: 205.4 MB / 0.5775 GB, free: 20.18 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.0009361/0.0009361, allocations: 90.34 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004031/0.0004031, allocations: 9.375 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2766/0.277, allocations: 106.3 MB / 0.9002 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2225/0.4995, allocations: 131.5 MB / 1.029 GB, free: 12.18 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003252/0.4999, allocations: 75.95 kB / 1.029 GB, free: 12.11 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004169/0.5041, allocations: 1.176 MB / 1.03 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.035e-06/0.5041, allocations: 0 / 1.03 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.5041, allocations: 0 / 1.03 GB, free: 10.93 MB / 0.6823 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.0003747/0.5045, allocations: 351.2 kB / 1.03 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.415e-05/0.5046, allocations: 12.03 kB / 1.03 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.455e-05/0.5047, allocations: 42.55 kB / 1.03 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.673e-05/0.5047, allocations: 7.906 kB / 1.03 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/0.5049, allocations: 167 kB / 1.03 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.5049, allocations: 3.984 kB / 1.03 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.36e-05/0.5049, allocations: 4 kB / 1.03 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003355/0.5053, allocations: 163.3 kB / 1.03 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.5053, allocations: 3.938 kB / 1.03 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.039e-05/0.5053, allocations: 0 / 1.03 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.476e-05/0.5054, allocations: 23.98 kB / 1.03 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001019/0.5055, allocations: 35.91 kB / 1.031 GB, free: 10 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009284/0.5064, allocations: 0.8944 MB / 1.031 GB, free: 9.039 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.688e-05/0.5065, allocations: 165.1 kB / 1.032 GB, free: 8.867 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.62e-05/0.5066, allocations: 79.28 kB / 1.032 GB, free: 8.789 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.09e-05/0.5067, allocations: 125.8 kB / 1.032 GB, free: 8.656 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 1.743e-06/0.5067, allocations: 0 / 1.032 GB, free: 8.656 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 0.0001145/0.5068, allocations: 34.36 kB / 1.032 GB, free: 8.617 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002376/0.5071, allocations: 387.7 kB / 1.032 GB, free: 8.164 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000211/0.5073, allocations: 160.7 kB / 1.032 GB, free: 8.004 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.72e-05/0.5073, allocations: 25.7 kB / 1.032 GB, free: 7.973 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001366/0.5075, allocations: 159.2 kB / 1.032 GB, free: 7.812 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.963e-06/0.5075, allocations: 4 kB / 1.032 GB, free: 7.809 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.474e-06/0.5075, allocations: 4 kB / 1.032 GB, free: 7.805 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.5077, allocations: 326.7 kB / 1.033 GB, free: 7.477 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.035e-05/0.5077, allocations: 24.34 kB / 1.033 GB, free: 7.453 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002648/0.508, allocations: 228.8 kB / 1.033 GB, free: 7.137 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.5081, allocations: 59.84 kB / 1.033 GB, free: 7.078 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.5082, allocations: 4 kB / 1.033 GB, free: 7.074 MB / 0.6823 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004305/0.5086, allocations: 185.8 kB / 1.033 GB, free: 6.887 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.5086, allocations: 8.094 kB / 1.033 GB, free: 6.879 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.5086, allocations: 4 kB / 1.033 GB, free: 6.875 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.5087, allocations: 8 kB / 1.033 GB, free: 6.867 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001675/0.5089, allocations: 43.92 kB / 1.033 GB, free: 6.824 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.309e-05/0.5089, allocations: 4 kB / 1.033 GB, free: 6.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001493/0.509, allocations: 27.69 kB / 1.033 GB, free: 6.793 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.246e-05/0.5091, allocations: 19.94 kB / 1.033 GB, free: 6.773 MB / 0.6823 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.0001883/0.5093, allocations: 209 kB / 1.034 GB, free: 6.559 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.5094, allocations: 116.9 kB / 1.034 GB, free: 6.438 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.177e-05/0.5095, allocations: 116.8 kB / 1.034 GB, free: 6.316 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-05/0.5096, allocations: 184.2 kB / 1.034 GB, free: 6.129 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-05/0.5097, allocations: 176.3 kB / 1.034 GB, free: 5.949 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.45e-05/0.5097, allocations: 180.2 kB / 1.034 GB, free: 5.766 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003399/0.5101, allocations: 429.2 kB / 1.035 GB, free: 5.289 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.867e-05/0.5101, allocations: 101 kB / 1.035 GB, free: 5.184 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.482e-05/0.5102, allocations: 108.9 kB / 1.035 GB, free: 5.07 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.316e-05/0.5103, allocations: 180.3 kB / 1.035 GB, free: 4.887 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.312e-05/0.5104, allocations: 185 kB / 1.035 GB, free: 4.699 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.916e-05/0.5105, allocations: 176.3 kB / 1.035 GB, free: 4.52 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.896e-05/0.5106, allocations: 184.3 kB / 1.036 GB, free: 4.332 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00018/0.5107, allocations: 311.7 kB / 1.036 GB, free: 4.004 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001225/0.5109, allocations: 193.9 kB / 1.036 GB, free: 3.789 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/0.511, allocations: 180.5 kB / 1.036 GB, free: 3.605 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.5111, allocations: 112.9 kB / 1.036 GB, free: 3.488 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.971e-05/0.5112, allocations: 184.3 kB / 1.037 GB, free: 3.301 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-05/0.5113, allocations: 105 kB / 1.037 GB, free: 3.191 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001204/0.5114, allocations: 123.2 kB / 1.037 GB, free: 3.074 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5114, allocations: 0 / 1.037 GB, free: 3.074 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005335/0.512, allocations: 24 kB / 1.037 GB, free: 3.051 MB / 0.6823 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.0006103/0.5126, allocations: 0.836 MB / 1.038 GB, free: 2.188 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001924/0.5128, allocations: 72.84 kB / 1.038 GB, free: 2.117 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.5128, allocations: 0 / 1.038 GB, free: 2.117 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.114e-06/0.5128, allocations: 256 / 1.038 GB, free: 2.117 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003955/0.5132, allocations: 0.5479 MB / 1.038 GB, free: 1.566 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007079/0.5139, allocations: 280.1 kB / 1.039 GB, free: 1.25 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002843/0.5142, allocations: 0.701 MB / 1.039 GB, free: 0.5195 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002507/0.5145, allocations: 60.58 kB / 1.039 GB, free: 472 kB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.863e-05/0.5145, allocations: 19.44 kB / 1.039 GB, free: 452 kB / 0.6823 GB Notification: Performance of SimCode: time 2.51e-07/0.5146, allocations: 0 / 1.039 GB, free: 452 kB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01694/0.5315, allocations: 2.759 MB / 1.042 GB, free: 13.86 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003451/0.5319, allocations: 187.1 kB / 1.042 GB, free: 13.62 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.581/2.113, allocations: 0 / 1.042 GB, free: 13.62 MB / 0.698 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)