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.114/2.114, allocations: 251 MB / 265.9 MB, free: 11.7 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.001572/0.001572, allocations: 177.4 kB / 325.5 MB, free: 2.906 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.469/2.469, allocations: 205.4 MB / 0.5764 GB, free: 20.82 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.001251/0.001251, allocations: 105.6 kB / 0.6809 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006647/0.0006646, allocations: 12.03 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.241/0.2418, allocations: 106.3 MB / 0.8988 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2178/0.4597, allocations: 131.3 MB / 1.027 GB, free: 14.01 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003087/0.46, allocations: 71.95 kB / 1.027 GB, free: 13.94 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004655/0.4647, allocations: 1.176 MB / 1.028 GB, free: 12.76 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.104e-06/0.4648, allocations: 0 / 1.028 GB, free: 12.76 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.072e-06/0.4648, allocations: 4 kB / 1.028 GB, free: 12.76 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.0003618/0.4652, allocations: 347.3 kB / 1.029 GB, free: 12.37 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.4652, allocations: 15.97 kB / 1.029 GB, free: 12.36 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.502e-05/0.4653, allocations: 42.55 kB / 1.029 GB, free: 12.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.538e-05/0.4654, allocations: 7.906 kB / 1.029 GB, free: 12.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.4655, allocations: 170.9 kB / 1.029 GB, free: 12.09 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.4655, allocations: 3.984 kB / 1.029 GB, free: 12.09 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.37e-05/0.4655, allocations: 4 kB / 1.029 GB, free: 12.08 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003462/0.4659, allocations: 163.3 kB / 1.029 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.4659, allocations: 0 / 1.029 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.402e-05/0.4659, allocations: 4 kB / 1.029 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-05/0.466, allocations: 23.98 kB / 1.029 GB, free: 11.87 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001111/0.4661, allocations: 39.84 kB / 1.029 GB, free: 11.83 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008638/0.467, allocations: 0.8906 MB / 1.03 GB, free: 10.87 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001023/0.4671, allocations: 177.1 kB / 1.03 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.291e-05/0.4672, allocations: 75.28 kB / 1.03 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.363e-05/0.4672, allocations: 113.8 kB / 1.03 GB, free: 10.49 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 1.733e-06/0.4673, allocations: 0 / 1.03 GB, free: 10.49 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 0.0001042/0.4674, allocations: 30.56 kB / 1.03 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001861/0.4676, allocations: 395.7 kB / 1.031 GB, free: 9.992 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001946/0.4678, allocations: 159 kB / 1.031 GB, free: 9.832 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/0.4678, allocations: 25.7 kB / 1.031 GB, free: 9.801 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.4679, allocations: 151.3 kB / 1.031 GB, free: 9.648 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.328e-06/0.4679, allocations: 4 kB / 1.031 GB, free: 9.645 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.037e-05/0.468, allocations: 4 kB / 1.031 GB, free: 9.641 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.4681, allocations: 326.8 kB / 1.031 GB, free: 9.312 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.829e-05/0.4682, allocations: 24.36 kB / 1.031 GB, free: 9.289 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002657/0.4685, allocations: 220 kB / 1.032 GB, free: 8.98 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001642/0.4686, allocations: 65.41 kB / 1.032 GB, free: 8.918 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.644e-06/0.4687, allocations: 0 / 1.032 GB, free: 8.918 MB / 0.6823 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005053/0.4692, allocations: 197.6 kB / 1.032 GB, free: 8.719 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.4692, allocations: 4 kB / 1.032 GB, free: 8.715 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.218e-05/0.4692, allocations: 8 kB / 1.032 GB, free: 8.707 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.384e-05/0.4693, allocations: 4 kB / 1.032 GB, free: 8.703 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000221/0.4695, allocations: 39.92 kB / 1.032 GB, free: 8.664 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.783e-05/0.4695, allocations: 7.938 kB / 1.032 GB, free: 8.656 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001468/0.4697, allocations: 27.75 kB / 1.032 GB, free: 8.629 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.074e-05/0.4697, allocations: 12 kB / 1.032 GB, free: 8.617 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.0002021/0.4699, allocations: 221.1 kB / 1.032 GB, free: 8.391 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.4701, allocations: 112.9 kB / 1.032 GB, free: 8.273 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.273e-05/0.4701, allocations: 116.8 kB / 1.032 GB, free: 8.152 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.799e-05/0.4702, allocations: 180.3 kB / 1.032 GB, free: 7.969 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.335e-05/0.4703, allocations: 180.3 kB / 1.033 GB, free: 7.785 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.451e-05/0.4704, allocations: 188.2 kB / 1.033 GB, free: 7.594 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002929/0.4707, allocations: 425.1 kB / 1.033 GB, free: 7.121 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.867e-05/0.4708, allocations: 109 kB / 1.033 GB, free: 7.008 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.051e-05/0.4708, allocations: 101 kB / 1.033 GB, free: 6.902 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.968e-05/0.4709, allocations: 180.2 kB / 1.034 GB, free: 6.719 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-05/0.471, allocations: 181.1 kB / 1.034 GB, free: 6.535 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.279e-05/0.4711, allocations: 188.2 kB / 1.034 GB, free: 6.344 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.304e-05/0.4711, allocations: 176.3 kB / 1.034 GB, free: 6.164 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001711/0.4713, allocations: 319.6 kB / 1.034 GB, free: 5.828 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.896e-05/0.4714, allocations: 182.1 kB / 1.035 GB, free: 5.625 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.44e-05/0.4715, allocations: 184.5 kB / 1.035 GB, free: 5.438 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001178/0.4716, allocations: 113 kB / 1.035 GB, free: 5.32 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.808e-05/0.4717, allocations: 176.3 kB / 1.035 GB, free: 5.141 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.923e-05/0.4718, allocations: 116.9 kB / 1.035 GB, free: 5.02 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001302/0.4719, allocations: 119.9 kB / 1.035 GB, free: 4.906 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.61e-07/0.4719, allocations: 0 / 1.035 GB, free: 4.906 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004222/0.4724, allocations: 28 kB / 1.035 GB, free: 4.879 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.000578/0.473, allocations: 0.832 MB / 1.036 GB, free: 4.02 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002346/0.4732, allocations: 76.91 kB / 1.036 GB, free: 3.945 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.4732, allocations: 4.188 kB / 1.036 GB, free: 3.941 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.625e-06/0.4733, allocations: 3.938 kB / 1.036 GB, free: 3.938 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003604/0.4736, allocations: 0.532 MB / 1.037 GB, free: 3.402 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006478/0.4743, allocations: 288.1 kB / 1.037 GB, free: 3.078 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003049/0.4746, allocations: 0.6971 MB / 1.038 GB, free: 2.355 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002864/0.4749, allocations: 52.59 kB / 1.038 GB, free: 2.305 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.471e-05/0.475, allocations: 19.44 kB / 1.038 GB, free: 2.285 MB / 0.6823 GB Notification: Performance of SimCode: time 1.283e-06/0.475, allocations: 0 / 1.038 GB, free: 2.285 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02116/0.4961, allocations: 2.765 MB / 1.04 GB, free: 15.67 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003242/0.4965, allocations: 181.1 kB / 1.041 GB, free: 15.44 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.364/2.861, allocations: 4 kB / 1.041 GB, free: 15.43 MB / 0.698 GB