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.559/1.559, allocations: 249.3 MB / 261.8 MB, free: 5.898 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.001012/0.001012, allocations: 184.6 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.593/1.593, allocations: 205.2 MB / 0.572 GB, free: 10.62 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.0009333/0.0009334, allocations: 94.47 kB / 0.6764 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.778e-05/3.78e-05, allocations: 8 kB / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2118/0.2119, allocations: 106.3 MB / 0.8919 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7627/0.9746, allocations: 131.4 MB / 1.02 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002274/0.9749, allocations: 75.94 kB / 1.02 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003129/0.978, allocations: 1.173 MB / 1.021 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.954e-06/0.978, allocations: 0 / 1.021 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.157e-06/0.978, allocations: 4 kB / 1.021 GB, free: 2.195 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.000322/0.9784, allocations: 339.2 kB / 1.022 GB, free: 1.828 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.643e-05/0.9784, allocations: 16.02 kB / 1.022 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.494e-05/0.9785, allocations: 38 kB / 1.022 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.58e-05/0.9785, allocations: 11.91 kB / 1.022 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.9786, allocations: 167 kB / 1.022 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.9787, allocations: 3.984 kB / 1.022 GB, free: 1.551 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.146e-05/0.9787, allocations: 4 kB / 1.022 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002592/0.979, allocations: 156.7 kB / 1.022 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.979, allocations: 3.984 kB / 1.022 GB, free: 1.379 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.793e-05/0.979, allocations: 11.56 kB / 1.022 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.724e-05/0.9791, allocations: 27.91 kB / 1.022 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.106e-05/0.9791, allocations: 38.28 kB / 1.022 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007405/0.9799, allocations: 0.8945 MB / 1.023 GB, free: 388 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/0.98, allocations: 168.8 kB / 1.023 GB, free: 212 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.801e-05/0.98, allocations: 80.14 kB / 1.023 GB, free: 128 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.31e-05/0.9801, allocations: 75.28 kB / 1.023 GB, free: 52 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.664e-05/0.9802, allocations: 116.6 kB / 1.023 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/0.9802, allocations: 0 / 1.023 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of matching and sorting (n=0): time 8.841e-05/0.9803, allocations: 40.92 kB / 1.024 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002068/0.9805, allocations: 391.7 kB / 1.024 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001543/0.9807, allocations: 154.2 kB / 1.024 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.9807, allocations: 29.7 kB / 1.024 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.9808, allocations: 152 kB / 1.024 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.234e-06/0.9808, allocations: 11.98 kB / 1.024 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.49e-06/0.9808, allocations: 3.812 kB / 1.024 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001695/0.981, allocations: 318.7 kB / 1.025 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.147e-05/0.981, allocations: 27.8 kB / 1.025 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001829/0.9812, allocations: 210.8 kB / 1.025 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.046e-05/0.9813, allocations: 75.02 kB / 1.025 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.9813, allocations: 0 / 1.025 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002948/0.9816, allocations: 187.1 kB / 1.025 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.9817, allocations: 8 kB / 1.025 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.9817, allocations: 4 kB / 1.025 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/0.9817, allocations: 8 kB / 1.025 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.9818, allocations: 39.48 kB / 1.025 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.556e-05/0.9819, allocations: 8 kB / 1.025 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.914e-05/0.982, allocations: 25.28 kB / 1.025 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.33e-05/0.982, allocations: 12 kB / 1.025 GB, free: 14.14 MB / 0.6511 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.0001521/0.9821, allocations: 208 kB / 1.025 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.043e-05/0.9822, allocations: 112.8 kB / 1.025 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.503e-05/0.9823, allocations: 116.6 kB / 1.026 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001006/0.9824, allocations: 180.2 kB / 1.026 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.126e-05/0.9825, allocations: 180.3 kB / 1.026 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.781e-05/0.9826, allocations: 180.3 kB / 1.026 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000286/0.9829, allocations: 431.7 kB / 1.026 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.703e-05/0.983, allocations: 101 kB / 1.027 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.743e-05/0.983, allocations: 104.9 kB / 1.027 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.727e-05/0.9831, allocations: 180.3 kB / 1.027 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.921e-05/0.9832, allocations: 181.2 kB / 1.027 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.796e-05/0.9833, allocations: 187.5 kB / 1.027 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.26e-05/0.9834, allocations: 176.3 kB / 1.027 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001918/0.9836, allocations: 318.8 kB / 1.028 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/0.9837, allocations: 190 kB / 1.028 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/0.9838, allocations: 185.1 kB / 1.028 GB, free: 11 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.972e-05/0.9839, allocations: 113.1 kB / 1.028 GB, free: 10.88 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.679e-05/0.984, allocations: 180.2 kB / 1.028 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.865e-05/0.9841, allocations: 109 kB / 1.028 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.076e-05/0.9842, allocations: 114.1 kB / 1.028 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9842, allocations: 0 / 1.028 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003426/0.9845, allocations: 27.94 kB / 1.029 GB, free: 10.46 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.0006132/0.9852, allocations: 0.8352 MB / 1.029 GB, free: 9.602 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001468/0.9853, allocations: 67.61 kB / 1.029 GB, free: 9.543 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.9853, allocations: 8.188 kB / 1.029 GB, free: 9.535 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.543e-06/0.9853, allocations: 0 / 1.029 GB, free: 9.535 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003574/0.9857, allocations: 0.5337 MB / 1.03 GB, free: 9.004 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004781/0.9862, allocations: 229.6 kB / 1.03 GB, free: 8.75 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000357/0.9866, allocations: 0.6971 MB / 1.031 GB, free: 8.027 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001872/0.9867, allocations: 61.52 kB / 1.031 GB, free: 7.969 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.435e-05/0.9868, allocations: 27.11 kB / 1.031 GB, free: 7.945 MB / 0.6511 GB Notification: Performance of SimCode: time 3.4e-07/0.9868, allocations: 0 / 1.031 GB, free: 7.945 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01444/1.001, allocations: 2.771 MB / 1.034 GB, free: 5.316 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002668/1.002, allocations: 176.1 kB / 1.034 GB, free: 5.09 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.655/2.657, allocations: 0 / 1.034 GB, free: 5.09 MB / 0.6511 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)