Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8043/0.8043, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001257/0.001258, allocations: 191.2 kB / 187.3 MB, free: 11.88 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.589/1.589, allocations: 221.3 MB / 441.4 MB, free: 4.652 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 93.34 kB / 0.5124 GB, free: 24.19 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002429/0.002429, allocations: 282 kB / 0.5939 GB, free: 7.957 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 5.881e-05/5.883e-05, allocations: 11.98 kB / 0.6835 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5474/0.5475, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1422/0.6898, allocations: 108.3 MB / 0.8702 GB, free: 232 kB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002925/0.6902, allocations: 75.94 kB / 0.8702 GB, free: 156 kB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.009323/0.6995, allocations: 1.177 MB / 0.8714 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.687e-06/0.6996, allocations: 0 / 0.8714 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.257e-05/0.6996, allocations: 0 / 0.8714 GB, free: 14.98 MB / 0.5417 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.0004627/0.7001, allocations: 350.4 kB / 0.8717 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 7.322e-05/0.7002, allocations: 12.03 kB / 0.8717 GB, free: 14.58 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.381e-05/0.7003, allocations: 34.55 kB / 0.8718 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.891e-05/0.7004, allocations: 4 kB / 0.8718 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.7005, allocations: 178.9 kB / 0.8719 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.7005, allocations: 3.953 kB / 0.8719 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.389e-05/0.7006, allocations: 4 kB / 0.8719 GB, free: 14.31 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003644/0.7009, allocations: 159.3 kB / 0.8721 GB, free: 14.13 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.701, allocations: 3.938 kB / 0.8721 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.166e-05/0.701, allocations: 4 kB / 0.8721 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.226e-05/0.7011, allocations: 23.98 kB / 0.8721 GB, free: 14.1 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.054e-05/0.7012, allocations: 35.92 kB / 0.8722 GB, free: 14.06 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009592/0.7021, allocations: 0.8983 MB / 0.873 GB, free: 13.09 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.7022, allocations: 165.1 kB / 0.8732 GB, free: 12.92 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.138e-05/0.7023, allocations: 80.14 kB / 0.8733 GB, free: 12.84 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 4.415e-05/0.7024, allocations: 75.28 kB / 0.8733 GB, free: 12.77 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.793e-05/0.7024, allocations: 121.8 kB / 0.8735 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=0): time 1.804e-06/0.7025, allocations: 0 / 0.8735 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of matching and sorting (n=0): time 0.0001231/0.7026, allocations: 33.61 kB / 0.8735 GB, free: 12.6 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002632/0.7029, allocations: 391.7 kB / 0.8739 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001947/0.7031, allocations: 152.9 kB / 0.874 GB, free: 11.99 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.198e-05/0.7031, allocations: 29.7 kB / 0.874 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001317/0.7032, allocations: 147.3 kB / 0.8742 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 8.185e-06/0.7033, allocations: 0 / 0.8742 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.903e-06/0.7033, allocations: 11.94 kB / 0.8742 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002094/0.7035, allocations: 322.8 kB / 0.8745 GB, free: 11.47 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.848e-05/0.7036, allocations: 20.38 kB / 0.8745 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002051/0.7038, allocations: 217.3 kB / 0.8747 GB, free: 11.14 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001182/0.7039, allocations: 67.83 kB / 0.8748 GB, free: 11.08 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.623e-06/0.7039, allocations: 4 kB / 0.8748 GB, free: 11.07 MB / 0.5417 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003848/0.7043, allocations: 193.7 kB / 0.875 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/0.7043, allocations: 4 kB / 0.875 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.7044, allocations: 8 kB / 0.875 GB, free: 10.87 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.718e-05/0.7044, allocations: 4 kB / 0.875 GB, free: 10.86 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001381/0.7045, allocations: 43.92 kB / 0.875 GB, free: 10.82 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.392e-05/0.7046, allocations: 4 kB / 0.875 GB, free: 10.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001201/0.7047, allocations: 23.78 kB / 0.8751 GB, free: 10.79 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.304e-05/0.7047, allocations: 16.09 kB / 0.8751 GB, free: 10.78 MB / 0.5417 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.0001598/0.7049, allocations: 200.1 kB / 0.8753 GB, free: 10.57 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.883e-05/0.705, allocations: 120.9 kB / 0.8754 GB, free: 10.45 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.193e-05/0.7051, allocations: 112.6 kB / 0.8755 GB, free: 10.34 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.647e-05/0.7052, allocations: 184.5 kB / 0.8757 GB, free: 10.15 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.159e-05/0.7052, allocations: 180.3 kB / 0.8758 GB, free: 9.965 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-05/0.7053, allocations: 184.2 kB / 0.876 GB, free: 9.777 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002863/0.7056, allocations: 421.2 kB / 0.8764 GB, free: 9.309 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.606e-05/0.7057, allocations: 101 kB / 0.8765 GB, free: 9.203 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.019e-05/0.7057, allocations: 110.1 kB / 0.8766 GB, free: 9.09 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.924e-05/0.7058, allocations: 184.2 kB / 0.8768 GB, free: 8.902 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.257e-05/0.7059, allocations: 188.2 kB / 0.877 GB, free: 8.711 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.657e-05/0.706, allocations: 176.3 kB / 0.8771 GB, free: 8.531 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.064e-05/0.706, allocations: 180.3 kB / 0.8773 GB, free: 8.348 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001603/0.7062, allocations: 315.7 kB / 0.8776 GB, free: 8.016 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.7063, allocations: 189.9 kB / 0.8778 GB, free: 7.805 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/0.7064, allocations: 184.2 kB / 0.878 GB, free: 7.617 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.512e-05/0.7065, allocations: 109.2 kB / 0.8781 GB, free: 7.504 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.716e-05/0.7066, allocations: 188.2 kB / 0.8782 GB, free: 7.312 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-05/0.7067, allocations: 105 kB / 0.8783 GB, free: 7.203 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 8.546e-05/0.7068, allocations: 115.2 kB / 0.8785 GB, free: 7.094 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7068, allocations: 0 / 0.8785 GB, free: 7.094 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003013/0.7071, allocations: 27.94 kB / 0.8785 GB, free: 7.066 MB / 0.5417 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.0005871/0.7077, allocations: 0.8341 MB / 0.8793 GB, free: 6.203 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001673/0.7078, allocations: 72.72 kB / 0.8794 GB, free: 6.133 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.7079, allocations: 384 / 0.8794 GB, free: 6.133 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.473e-06/0.7079, allocations: 8 kB / 0.8794 GB, free: 6.125 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003446/0.7082, allocations: 0.534 MB / 0.8799 GB, free: 5.586 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004755/0.7087, allocations: 226.4 kB / 0.8801 GB, free: 5.328 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003285/0.709, allocations: 0.6971 MB / 0.8808 GB, free: 4.605 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001681/0.7092, allocations: 55.88 kB / 0.8808 GB, free: 4.555 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.752e-05/0.7093, allocations: 23.42 kB / 0.8809 GB, free: 4.531 MB / 0.5417 GB Notification: Performance of SimCode: time 3.21e-07/0.7093, allocations: 4 kB / 0.8809 GB, free: 4.527 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06711/0.7764, allocations: 2.783 MB / 0.8836 GB, free: 1.93 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002912/0.7768, allocations: 170.6 kB / 0.8838 GB, free: 1.703 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.844/2.621, allocations: 4 kB / 0.8838 GB, free: 1.699 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_IsMonotonic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_IsMonotonic.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)