Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.921/1.921, allocations: 292.6 MB / 307.5 MB, free: 5.188 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.002256/0.002256, allocations: 181 kB / 377.1 MB, free: 1.512 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.75/1.75, allocations: 205.4 MB / 0.6366 GB, free: 8.547 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.0008812/0.0008814, allocations: 91.75 kB / 0.7509 GB, free: 62.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004217/0.0004219, allocations: 12 kB / 0.8749 GB, free: 11.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2753/0.2758, allocations: 116.3 MB / 0.9884 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7063/0.9821, allocations: 138.7 MB / 1.124 GB, free: 35.71 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002162/0.9824, allocations: 74.27 kB / 1.124 GB, free: 35.65 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.002716/0.9851, allocations: 1.173 MB / 1.125 GB, free: 34.82 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9851, allocations: 0 / 1.125 GB, free: 34.82 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.9852, allocations: 0 / 1.125 GB, free: 34.82 MB / 0.7292 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.0002332/0.9854, allocations: 355.7 kB / 1.125 GB, free: 34.43 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.9854, allocations: 16.02 kB / 1.125 GB, free: 34.41 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.045e-05/0.9855, allocations: 42.03 kB / 1.126 GB, free: 34.37 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.236e-05/0.9855, allocations: 6.625 kB / 1.126 GB, free: 34.36 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.167e-05/0.9856, allocations: 167.6 kB / 1.126 GB, free: 34.16 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.366e-06/0.9856, allocations: 4 kB / 1.126 GB, free: 34.16 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.2e-05/0.9856, allocations: 7.438 kB / 1.126 GB, free: 34.15 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002044/0.9858, allocations: 157.5 kB / 1.126 GB, free: 33.99 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.096e-06/0.9859, allocations: 3.938 kB / 1.126 GB, free: 33.98 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/0.9859, allocations: 0.7969 kB / 1.126 GB, free: 33.98 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.459e-05/0.9859, allocations: 26.8 kB / 1.126 GB, free: 33.96 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.403e-05/0.986, allocations: 42.33 kB / 1.126 GB, free: 33.93 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000455/0.9864, allocations: 0.9004 MB / 1.127 GB, free: 33 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.01e-05/0.9865, allocations: 166.4 kB / 1.127 GB, free: 32.83 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.26e-05/0.9865, allocations: 75.28 kB / 1.127 GB, free: 32.75 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.9866, allocations: 118.3 kB / 1.127 GB, free: 32.63 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=0): time 1.242e-06/0.9866, allocations: 0 / 1.127 GB, free: 32.63 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0): time 6.949e-05/0.9866, allocations: 36.3 kB / 1.127 GB, free: 32.59 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.794e-05/0.9867, allocations: 391.7 kB / 1.128 GB, free: 32.13 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.9868, allocations: 156.8 kB / 1.128 GB, free: 31.99 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.9869, allocations: 25.7 kB / 1.128 GB, free: 31.96 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.462e-05/0.9869, allocations: 150.2 kB / 1.128 GB, free: 31.81 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.595e-06/0.9869, allocations: 0.6562 kB / 1.128 GB, free: 31.81 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.569e-06/0.9869, allocations: 4 kB / 1.128 GB, free: 31.81 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.456e-05/0.987, allocations: 322.1 kB / 1.128 GB, free: 31.49 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.357e-05/0.987, allocations: 23.75 kB / 1.128 GB, free: 31.47 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001091/0.9872, allocations: 223.5 kB / 1.128 GB, free: 31.17 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.155e-05/0.9872, allocations: 66.44 kB / 1.128 GB, free: 31.11 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.9872, allocations: 0.6562 kB / 1.128 GB, free: 31.11 MB / 0.7292 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002571/0.9875, allocations: 194.3 kB / 1.129 GB, free: 30.94 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.9875, allocations: 8 kB / 1.129 GB, free: 30.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.9875, allocations: 4 kB / 1.129 GB, free: 30.93 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.9876, allocations: 4 kB / 1.129 GB, free: 30.92 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.9877, allocations: 39.41 kB / 1.129 GB, free: 30.89 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.322e-05/0.9877, allocations: 8 kB / 1.129 GB, free: 30.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.43e-05/0.9878, allocations: 25.53 kB / 1.129 GB, free: 30.86 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.59e-05/0.9878, allocations: 23.56 kB / 1.129 GB, free: 30.84 MB / 0.7292 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 8.609e-05/0.9879, allocations: 212.5 kB / 1.129 GB, free: 30.62 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.575e-05/0.988, allocations: 112.9 kB / 1.129 GB, free: 30.5 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.241e-05/0.988, allocations: 112.9 kB / 1.129 GB, free: 30.39 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.553e-05/0.988, allocations: 183.5 kB / 1.129 GB, free: 30.21 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-05/0.9881, allocations: 177.8 kB / 1.13 GB, free: 30.03 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.753e-05/0.9881, allocations: 192.2 kB / 1.13 GB, free: 29.83 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001439/0.9883, allocations: 417.8 kB / 1.13 GB, free: 29.38 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-05/0.9883, allocations: 108.9 kB / 1.13 GB, free: 29.26 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.964e-05/0.9883, allocations: 105.6 kB / 1.13 GB, free: 29.15 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.519e-05/0.9884, allocations: 176.3 kB / 1.13 GB, free: 28.97 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.961e-05/0.9884, allocations: 188.8 kB / 1.131 GB, free: 28.78 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.577e-05/0.9884, allocations: 183.9 kB / 1.131 GB, free: 28.6 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.79e-05/0.9885, allocations: 181.2 kB / 1.131 GB, free: 28.41 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.869e-05/0.9885, allocations: 307.7 kB / 1.131 GB, free: 28.09 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.647e-05/0.9886, allocations: 203.1 kB / 1.131 GB, free: 27.87 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.085e-05/0.9886, allocations: 180.2 kB / 1.132 GB, free: 27.69 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.221e-05/0.9887, allocations: 109.9 kB / 1.132 GB, free: 27.57 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.697e-05/0.9888, allocations: 180.3 kB / 1.132 GB, free: 27.39 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.616e-05/0.9888, allocations: 108.9 kB / 1.132 GB, free: 27.28 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.048e-05/0.9888, allocations: 110.9 kB / 1.132 GB, free: 27.18 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9888, allocations: 0 / 1.132 GB, free: 27.18 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002787/0.9891, allocations: 32 kB / 1.132 GB, free: 27.15 MB / 0.7292 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.0003407/0.9895, allocations: 0.8279 MB / 1.133 GB, free: 26.3 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000135/0.9896, allocations: 82.45 kB / 1.133 GB, free: 26.23 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.9896, allocations: 0.5625 kB / 1.133 GB, free: 26.23 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.322e-06/0.9896, allocations: 0 / 1.133 GB, free: 26.23 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002148/0.9898, allocations: 0.5348 MB / 1.134 GB, free: 25.69 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004084/0.9903, allocations: 294.8 kB / 1.134 GB, free: 25.38 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001292/0.9904, allocations: 0.6956 MB / 1.135 GB, free: 24.67 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001477/0.9906, allocations: 55.41 kB / 1.135 GB, free: 24.63 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.709e-05/0.9906, allocations: 22.95 kB / 1.135 GB, free: 24.62 MB / 0.7292 GB Notification: Performance of SimCode: time 4.719e-06/0.9906, allocations: 4 kB / 1.135 GB, free: 24.61 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01534/1.006, allocations: 2.756 MB / 1.137 GB, free: 23.09 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000168/1.006, allocations: 175.2 kB / 1.137 GB, free: 22.86 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.634/2.64, allocations: 0 / 1.137 GB, free: 22.86 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_IsMonotonic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_IsMonotonic.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)