Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.711/1.711, allocations: 285.6 MB / 293.1 MB, free: 10.26 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.001419/0.001419, allocations: 168.9 kB / 361.4 MB, free: 6.859 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.654/1.654, allocations: 205.2 MB / 0.62 GB, free: 11.65 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.0009185/0.0009188, allocations: 98.41 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.216e-05/3.226e-05, allocations: 8 kB / 0.8518 GB, free: 2.625 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7686/0.7687, allocations: 115.3 MB / 0.9645 GB, free: 78.81 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2159/0.9847, allocations: 137 MB / 1.098 GB, free: 2.754 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002339/0.985, allocations: 77.36 kB / 1.098 GB, free: 2.68 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003298/0.9883, allocations: 1.171 MB / 1.099 GB, free: 1.535 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.603e-06/0.9883, allocations: 0 / 1.099 GB, free: 1.535 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.725e-06/0.9883, allocations: 4.5 kB / 1.099 GB, free: 1.531 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.0003553/0.9887, allocations: 350.3 kB / 1.1 GB, free: 1.148 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/0.9888, allocations: 8.75 kB / 1.1 GB, free: 1.141 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.253e-05/0.9888, allocations: 8.938 kB / 1.1 GB, free: 1.133 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.989, allocations: 171.6 kB / 1.1 GB, free: 0.9258 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.989, allocations: 4 kB / 1.1 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.989, allocations: 0.625 kB / 1.1 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001197/0.9891, allocations: 36.89 kB / 1.1 GB, free: 0.8828 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002318/0.9894, allocations: 153.4 kB / 1.1 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.9894, allocations: 1.219 kB / 1.1 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.031e-05/0.9894, allocations: 1.625 kB / 1.1 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-05/0.9895, allocations: 24.52 kB / 1.1 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007895/0.9903, allocations: 0.8596 MB / 1.101 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001107/0.9904, allocations: 178.8 kB / 1.101 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.578e-05/0.9905, allocations: 82.02 kB / 1.101 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.909e-05/0.9905, allocations: 75.28 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.682e-05/0.9906, allocations: 105.8 kB / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 1.643e-06/0.9906, allocations: 1.125 kB / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 0.0001238/0.9907, allocations: 44.28 kB / 1.101 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001956/0.9909, allocations: 313 kB / 1.102 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001728/0.9911, allocations: 153.3 kB / 1.102 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/0.9911, allocations: 25.7 kB / 1.102 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.9913, allocations: 151.3 kB / 1.102 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.797e-06/0.9913, allocations: 0 / 1.102 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.324e-06/0.9913, allocations: 0 / 1.102 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.9914, allocations: 326.8 kB / 1.102 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.794e-05/0.9915, allocations: 16.38 kB / 1.102 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001836/0.9917, allocations: 205.8 kB / 1.103 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001362/0.9918, allocations: 67.83 kB / 1.103 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-06/0.9918, allocations: 0 / 1.103 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003129/0.9921, allocations: 164.7 kB / 1.103 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.9922, allocations: 13.03 kB / 1.103 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.9922, allocations: 4.656 kB / 1.103 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/0.9922, allocations: 11.8 kB / 1.103 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.9924, allocations: 43.92 kB / 1.103 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.9924, allocations: 7.984 kB / 1.103 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001194/0.9925, allocations: 25.31 kB / 1.103 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.652e-05/0.9925, allocations: 8 kB / 1.103 GB, free: 13.59 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.0001362/0.9927, allocations: 196.1 kB / 1.103 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001047/0.9928, allocations: 142.6 kB / 1.103 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.786e-05/0.9928, allocations: 112.9 kB / 1.103 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.615e-05/0.9929, allocations: 117.2 kB / 1.104 GB, free: 13 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.19e-05/0.993, allocations: 180.3 kB / 1.104 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.598e-05/0.9931, allocations: 184.3 kB / 1.104 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.598e-05/0.9931, allocations: 184.2 kB / 1.104 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002707/0.9934, allocations: 390.7 kB / 1.104 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.766e-05/0.9935, allocations: 112.9 kB / 1.105 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.887e-05/0.9935, allocations: 104.9 kB / 1.105 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.546e-05/0.9936, allocations: 184.2 kB / 1.105 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.283e-05/0.9937, allocations: 177.8 kB / 1.105 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.084e-05/0.9938, allocations: 181.1 kB / 1.105 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.747e-05/0.9939, allocations: 180.3 kB / 1.105 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001764/0.9941, allocations: 315.7 kB / 1.106 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.961e-05/0.9942, allocations: 190 kB / 1.106 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/0.9943, allocations: 180.3 kB / 1.106 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.01e-05/0.9944, allocations: 104.9 kB / 1.106 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.752e-05/0.9945, allocations: 184.6 kB / 1.106 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.377e-05/0.9945, allocations: 105 kB / 1.106 GB, free: 9.922 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.939e-05/0.9946, allocations: 110.1 kB / 1.106 GB, free: 9.816 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9946, allocations: 0 / 1.106 GB, free: 9.816 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003707/0.995, allocations: 24 kB / 1.106 GB, free: 9.793 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.0006139/0.9956, allocations: 0.8513 MB / 1.107 GB, free: 8.914 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001816/0.9958, allocations: 59.8 kB / 1.107 GB, free: 8.855 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.744e-06/0.9958, allocations: 4 kB / 1.107 GB, free: 8.852 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.055e-06/0.9958, allocations: 1.312 kB / 1.107 GB, free: 8.852 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003539/0.9962, allocations: 0.5311 MB / 1.108 GB, free: 8.316 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005743/0.9968, allocations: 220.5 kB / 1.108 GB, free: 8.066 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003518/0.9971, allocations: 0.6911 MB / 1.109 GB, free: 7.352 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001968/0.9973, allocations: 57.3 kB / 1.109 GB, free: 7.301 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.27e-05/0.9974, allocations: 27.42 kB / 1.109 GB, free: 7.273 MB / 0.7136 GB Notification: Performance of SimCode: time 7.22e-07/0.9974, allocations: 0 / 1.109 GB, free: 7.273 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02475/1.022, allocations: 2.472 MB / 1.111 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002244/1.022, allocations: 157.8 kB / 1.111 GB, free: 4.691 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.555/2.577, allocations: 5.75 kB / 1.111 GB, free: 4.688 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_IsMonotonic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_IsMonotonic.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)