Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.354/2.354, allocations: 248.7 MB / 256.2 MB, free: 7.027 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001444/0.001444, allocations: 171.6 kB / 315.4 MB, free: 3.996 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.056/2.056, allocations: 205.3 MB / 0.5662 GB, free: 0.582 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001042/0.001042, allocations: 90.47 kB / 0.6704 GB, free: 5.793 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.974e-05/2.979e-05, allocations: 8 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2108/0.2109, allocations: 106.2 MB / 0.8841 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8491/1.06, allocations: 131.5 MB / 1.012 GB, free: 7.289 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003205/1.06, allocations: 74.64 kB / 1.013 GB, free: 7.246 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004996/1.065, allocations: 1.173 MB / 1.014 GB, free: 6.16 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.794e-06/1.065, allocations: 0 / 1.014 GB, free: 6.16 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.033e-06/1.066, allocations: 4 kB / 1.014 GB, free: 6.156 MB / 0.6355 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.0003797/1.066, allocations: 348.3 kB / 1.014 GB, free: 5.777 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/1.066, allocations: 8.031 kB / 1.014 GB, free: 5.77 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.592e-05/1.066, allocations: 7.906 kB / 1.014 GB, free: 5.762 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/1.066, allocations: 167 kB / 1.014 GB, free: 5.559 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/1.066, allocations: 7.938 kB / 1.014 GB, free: 5.551 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.089e-05/1.066, allocations: 4 kB / 1.014 GB, free: 5.547 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001199/1.066, allocations: 35.48 kB / 1.014 GB, free: 5.512 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002753/1.067, allocations: 147.9 kB / 1.014 GB, free: 5.363 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/1.067, allocations: 3.938 kB / 1.014 GB, free: 5.359 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.335e-05/1.067, allocations: 2.625 kB / 1.014 GB, free: 5.359 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-05/1.067, allocations: 27.42 kB / 1.014 GB, free: 5.336 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008415/1.068, allocations: 0.8674 MB / 1.015 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.265e-05/1.068, allocations: 173.1 kB / 1.015 GB, free: 4.258 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.764e-05/1.068, allocations: 80.14 kB / 1.016 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.041e-05/1.068, allocations: 75.28 kB / 1.016 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.815e-05/1.068, allocations: 109.1 kB / 1.016 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 2.365e-06/1.068, allocations: 0 / 1.016 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 0.0001101/1.068, allocations: 52.19 kB / 1.016 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001549/1.068, allocations: 310.9 kB / 1.016 GB, free: 3.559 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001693/1.068, allocations: 150.3 kB / 1.016 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/1.068, allocations: 25.7 kB / 1.016 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/1.069, allocations: 154 kB / 1.016 GB, free: 3.242 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.799e-06/1.069, allocations: 4.5 kB / 1.016 GB, free: 3.242 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.372e-06/1.069, allocations: 0 / 1.016 GB, free: 3.242 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001276/1.069, allocations: 326.7 kB / 1.017 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.98e-05/1.069, allocations: 19.31 kB / 1.017 GB, free: 2.902 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002111/1.069, allocations: 210.3 kB / 1.017 GB, free: 2.613 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001274/1.069, allocations: 62.52 kB / 1.017 GB, free: 2.559 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/1.069, allocations: 0 / 1.017 GB, free: 2.559 MB / 0.6355 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003886/1.07, allocations: 154.8 kB / 1.017 GB, free: 2.41 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/1.07, allocations: 11.94 kB / 1.017 GB, free: 2.398 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/1.07, allocations: 4 kB / 1.017 GB, free: 2.395 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.509e-05/1.07, allocations: 8 kB / 1.017 GB, free: 2.387 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002252/1.07, allocations: 47.61 kB / 1.017 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.514e-05/1.07, allocations: 12.48 kB / 1.017 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001386/1.07, allocations: 27.75 kB / 1.017 GB, free: 2.305 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.266e-05/1.07, allocations: 8.781 kB / 1.017 GB, free: 2.297 MB / 0.6355 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 () * 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.0001421/1.07, allocations: 201.3 kB / 1.017 GB, free: 2.098 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001085/1.07, allocations: 138.6 kB / 1.018 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.177e-05/1.07, allocations: 116.8 kB / 1.018 GB, free: 1.828 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.605e-05/1.071, allocations: 112.3 kB / 1.018 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-05/1.071, allocations: 180.3 kB / 1.018 GB, free: 1.527 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.272e-05/1.071, allocations: 192.2 kB / 1.018 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.516e-05/1.071, allocations: 180.2 kB / 1.018 GB, free: 1.148 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002665/1.071, allocations: 396.9 kB / 1.019 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.563e-05/1.071, allocations: 108.9 kB / 1.019 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.021e-05/1.071, allocations: 101 kB / 1.019 GB, free: 0.5039 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.664e-05/1.071, allocations: 184.2 kB / 1.019 GB, free: 324 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.045e-05/1.071, allocations: 180.2 kB / 1.019 GB, free: 136 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.336e-05/1.071, allocations: 177.2 kB / 1.019 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.066e-05/1.072, allocations: 187.8 kB / 1.02 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001663/1.072, allocations: 319.6 kB / 1.02 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.992e-05/1.072, allocations: 178.1 kB / 1.02 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.169e-05/1.072, allocations: 188 kB / 1.02 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/1.072, allocations: 101 kB / 1.02 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.412e-05/1.072, allocations: 180.6 kB / 1.02 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.591e-05/1.072, allocations: 108.9 kB / 1.021 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001113/1.072, allocations: 113.4 kB / 1.021 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.41e-07/1.072, allocations: 0 / 1.021 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004458/1.073, allocations: 20 kB / 1.021 GB, free: 14.52 MB / 0.6511 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 () * 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.0005513/1.073, allocations: 0.8304 MB / 1.022 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001979/1.074, allocations: 66.86 kB / 1.022 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/1.074, allocations: 0 / 1.022 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.294e-06/1.074, allocations: 0 / 1.022 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003857/1.074, allocations: 0.534 MB / 1.022 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006174/1.075, allocations: 232.5 kB / 1.022 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003711/1.075, allocations: 0.6929 MB / 1.023 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003077/1.075, allocations: 56.72 kB / 1.023 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.759e-05/1.075, allocations: 25.67 kB / 1.023 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of SimCode: time 1.483e-06/1.075, allocations: 0 / 1.023 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04086/1.116, allocations: 2.475 MB / 1.026 GB, free: 9.582 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003468/1.117, allocations: 154 kB / 1.026 GB, free: 9.387 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.418/3.535, allocations: 3.938 kB / 1.026 GB, free: 9.383 MB / 0.6511 GB