Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.593/2.593, allocations: 284.9 MB / 292.4 MB, free: 10.52 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001447/0.001447, allocations: 184.8 kB / 360.6 MB, free: 7.281 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.227/2.227, allocations: 205.3 MB / 0.6191 GB, free: 12.19 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001097/0.001096, allocations: 92.45 kB / 0.7321 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.797e-05/3.815e-05, allocations: 11.98 kB / 0.8509 GB, free: 3.328 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8267/0.8268, allocations: 115.3 MB / 0.9634 GB, free: 78.51 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2405/1.067, allocations: 136.8 MB / 1.097 GB, free: 3.59 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000297/1.068, allocations: 71.95 kB / 1.097 GB, free: 3.52 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.00469/1.072, allocations: 1.175 MB / 1.098 GB, free: 2.371 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.532e-06/1.073, allocations: 0 / 1.098 GB, free: 2.371 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.642e-06/1.073, allocations: 0.5312 kB / 1.098 GB, free: 2.371 MB / 0.698 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.0003605/1.073, allocations: 343 kB / 1.099 GB, free: 1.992 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/1.073, allocations: 11.58 kB / 1.099 GB, free: 1.984 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.648e-05/1.073, allocations: 9.766 kB / 1.099 GB, free: 1.977 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/1.073, allocations: 178.9 kB / 1.099 GB, free: 1.762 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/1.073, allocations: 0.5625 kB / 1.099 GB, free: 1.762 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.391e-05/1.073, allocations: 0 / 1.099 GB, free: 1.762 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001188/1.073, allocations: 40.48 kB / 1.099 GB, free: 1.723 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000275/1.074, allocations: 152.5 kB / 1.099 GB, free: 1.551 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/1.074, allocations: 1.406 kB / 1.099 GB, free: 1.551 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.549e-05/1.074, allocations: 5.219 kB / 1.099 GB, free: 1.547 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.13e-05/1.074, allocations: 23.92 kB / 1.099 GB, free: 1.523 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000839/1.075, allocations: 0.8677 MB / 1.1 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.978e-05/1.075, allocations: 170.3 kB / 1.1 GB, free: 436 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.849e-05/1.075, allocations: 81.45 kB / 1.1 GB, free: 352 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.888e-05/1.075, allocations: 75.28 kB / 1.1 GB, free: 276 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.416e-05/1.075, allocations: 115.4 kB / 1.1 GB, free: 156 kB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 2.564e-06/1.075, allocations: 0 / 1.1 GB, free: 156 kB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 0.0001058/1.075, allocations: 36.3 kB / 1.1 GB, free: 116 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001862/1.075, allocations: 320.4 kB / 1.101 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001812/1.075, allocations: 142.5 kB / 1.101 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.572e-05/1.075, allocations: 30.23 kB / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/1.076, allocations: 148.7 kB / 1.101 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.095e-06/1.076, allocations: 4 kB / 1.101 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.992e-06/1.076, allocations: 3.938 kB / 1.101 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001289/1.076, allocations: 315.6 kB / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.106e-05/1.076, allocations: 20.36 kB / 1.101 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002206/1.076, allocations: 219 kB / 1.101 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001317/1.076, allocations: 55.83 kB / 1.101 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/1.076, allocations: 7.781 kB / 1.102 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004002/1.077, allocations: 165.8 kB / 1.102 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/1.077, allocations: 8 kB / 1.102 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/1.077, allocations: 8.031 kB / 1.102 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/1.077, allocations: 4 kB / 1.102 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002244/1.077, allocations: 41.61 kB / 1.102 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.833e-05/1.077, allocations: 11.98 kB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001331/1.077, allocations: 19.75 kB / 1.102 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.248e-05/1.077, allocations: 12 kB / 1.102 GB, free: 14.43 MB / 0.7136 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.0001435/1.077, allocations: 195.9 kB / 1.102 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001087/1.077, allocations: 142.6 kB / 1.102 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.98e-05/1.078, allocations: 113.5 kB / 1.102 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.743e-05/1.078, allocations: 121.2 kB / 1.102 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.317e-05/1.078, allocations: 180.3 kB / 1.102 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.459e-05/1.078, allocations: 180.3 kB / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.79e-05/1.078, allocations: 180.2 kB / 1.103 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002751/1.078, allocations: 406.7 kB / 1.103 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.334e-05/1.078, allocations: 105 kB / 1.103 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.467e-05/1.078, allocations: 104.9 kB / 1.103 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.468e-05/1.078, allocations: 176.3 kB / 1.104 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.386e-05/1.078, allocations: 184.2 kB / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.209e-05/1.079, allocations: 181.1 kB / 1.104 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.9e-05/1.079, allocations: 181 kB / 1.104 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001725/1.079, allocations: 313.2 kB / 1.104 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/1.079, allocations: 193.9 kB / 1.105 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.382e-05/1.079, allocations: 176.3 kB / 1.105 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/1.079, allocations: 112.9 kB / 1.105 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.426e-05/1.079, allocations: 176.6 kB / 1.105 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.366e-05/1.079, allocations: 104 kB / 1.105 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001265/1.079, allocations: 114.6 kB / 1.105 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.3e-07/1.08, allocations: 0 / 1.105 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004621/1.08, allocations: 24 kB / 1.105 GB, free: 10.62 MB / 0.7136 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.00058/1.081, allocations: 0.8399 MB / 1.106 GB, free: 9.758 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002094/1.081, allocations: 63.73 kB / 1.106 GB, free: 9.695 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/1.081, allocations: 5.312 kB / 1.106 GB, free: 9.691 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.454e-06/1.081, allocations: 0 / 1.106 GB, free: 9.691 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000374/1.081, allocations: 0.5288 MB / 1.107 GB, free: 9.16 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005847/1.082, allocations: 222.9 kB / 1.107 GB, free: 8.91 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003202/1.082, allocations: 0.6934 MB / 1.108 GB, free: 8.191 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002917/1.082, allocations: 54.92 kB / 1.108 GB, free: 8.141 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.672e-05/1.083, allocations: 23.44 kB / 1.108 GB, free: 8.117 MB / 0.7136 GB Notification: Performance of SimCode: time 1.072e-06/1.083, allocations: 0 / 1.108 GB, free: 8.117 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04116/1.124, allocations: 2.477 MB / 1.11 GB, free: 5.727 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000343/1.124, allocations: 156.1 kB / 1.11 GB, free: 5.531 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.39/3.514, allocations: 2.844 kB / 1.11 GB, free: 5.531 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_IsMonotonic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_IsMonotonic.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)