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: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7375/0.7375, allocations: 141.7 MB / 154.3 MB, free: 15.48 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.0009924/0.0009928, allocations: 189.1 kB / 187.3 MB, free: 11.87 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.642/1.642, allocations: 221.3 MB / 441.4 MB, free: 4.59 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.0009283/0.0009286, allocations: 90.41 kB / 0.5124 GB, free: 24.21 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002223/0.002222, allocations: 274.7 kB / 0.5939 GB, free: 7.949 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.65e-05/3.66e-05, allocations: 7.938 kB / 0.6835 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4821/0.4821, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1353/0.6175, allocations: 108.3 MB / 0.87 GB, free: 232 kB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002427/0.6178, allocations: 79.83 kB / 0.8701 GB, free: 156 kB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.00321/0.621, allocations: 1.177 MB / 0.8713 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6211, allocations: 0 / 0.8713 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.6211, allocations: 4 kB / 0.8713 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.0003001/0.6214, allocations: 343.7 kB / 0.8716 GB, free: 14.6 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.6214, allocations: 8.031 kB / 0.8716 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.531e-05/0.6215, allocations: 11.91 kB / 0.8716 GB, free: 14.58 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.909e-05/0.6216, allocations: 163 kB / 0.8718 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.6216, allocations: 11.89 kB / 0.8718 GB, free: 14.37 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.6216, allocations: 0 / 0.8718 GB, free: 14.37 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002449/0.6219, allocations: 159.3 kB / 0.8719 GB, free: 14.19 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.6219, allocations: 4 kB / 0.8719 GB, free: 14.18 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.702e-05/0.6219, allocations: 4 kB / 0.8719 GB, free: 14.18 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-05/0.622, allocations: 23.92 kB / 0.872 GB, free: 14.16 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.535e-05/0.6221, allocations: 35.92 kB / 0.872 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006519/0.6227, allocations: 0.8983 MB / 0.8729 GB, free: 13.15 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 8.329e-05/0.6228, allocations: 165.1 kB / 0.873 GB, free: 12.98 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.599e-05/0.6229, allocations: 80.14 kB / 0.8731 GB, free: 12.9 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 3.179e-05/0.6229, allocations: 87.25 kB / 0.8732 GB, free: 12.81 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.839e-05/0.6229, allocations: 117.8 kB / 0.8733 GB, free: 12.69 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.623, allocations: 0 / 0.8733 GB, free: 12.69 MB / 0.5417 GB Notification: Performance of matching and sorting (n=0): time 8.016e-05/0.623, allocations: 41.55 kB / 0.8734 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001615/0.6232, allocations: 383.7 kB / 0.8737 GB, free: 12.19 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.6234, allocations: 155.6 kB / 0.8739 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.6234, allocations: 25.7 kB / 0.8739 GB, free: 12 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 8.784e-05/0.6235, allocations: 147.3 kB / 0.874 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.711e-06/0.6235, allocations: 8 kB / 0.874 GB, free: 11.85 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.59e-06/0.6235, allocations: 4 kB / 0.874 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.6236, allocations: 318.8 kB / 0.8743 GB, free: 11.52 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.086e-05/0.6237, allocations: 24.36 kB / 0.8744 GB, free: 11.5 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001666/0.6238, allocations: 223.8 kB / 0.8746 GB, free: 11.19 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.518e-05/0.6239, allocations: 63.84 kB / 0.8746 GB, free: 11.12 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.716e-06/0.6239, allocations: 0 / 0.8746 GB, free: 11.12 MB / 0.5417 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002768/0.6242, allocations: 193.5 kB / 0.8748 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.6242, allocations: 9.406 kB / 0.8748 GB, free: 10.92 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.6243, allocations: 4 kB / 0.8748 GB, free: 10.92 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.87e-05/0.6243, allocations: 8 kB / 0.8749 GB, free: 10.91 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.6244, allocations: 39.92 kB / 0.8749 GB, free: 10.87 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.765e-05/0.6244, allocations: 7.984 kB / 0.8749 GB, free: 10.86 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.578e-05/0.6245, allocations: 23.84 kB / 0.8749 GB, free: 10.84 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.449e-05/0.6245, allocations: 8 kB / 0.8749 GB, free: 10.83 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.0001093/0.6247, allocations: 204.3 kB / 0.8751 GB, free: 10.62 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.517e-05/0.6247, allocations: 120.8 kB / 0.8752 GB, free: 10.5 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.37e-05/0.6248, allocations: 112.6 kB / 0.8753 GB, free: 10.39 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.676e-05/0.6249, allocations: 184.5 kB / 0.8755 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.755e-05/0.6249, allocations: 180.3 kB / 0.8757 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-05/0.625, allocations: 180.3 kB / 0.8759 GB, free: 9.832 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002676/0.6253, allocations: 425.1 kB / 0.8763 GB, free: 9.359 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-05/0.6253, allocations: 105.1 kB / 0.8764 GB, free: 9.25 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.515e-05/0.6254, allocations: 110.1 kB / 0.8765 GB, free: 9.137 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.749e-05/0.6255, allocations: 180.2 kB / 0.8766 GB, free: 8.953 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-05/0.6255, allocations: 176.3 kB / 0.8768 GB, free: 8.773 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.423e-05/0.6256, allocations: 192.2 kB / 0.877 GB, free: 8.578 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.887e-05/0.6257, allocations: 180.2 kB / 0.8772 GB, free: 8.395 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001465/0.6258, allocations: 307.7 kB / 0.8775 GB, free: 8.07 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 8.437e-05/0.6259, allocations: 189.9 kB / 0.8776 GB, free: 7.859 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.631e-05/0.626, allocations: 188.2 kB / 0.8778 GB, free: 7.668 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.048e-05/0.6261, allocations: 109.3 kB / 0.8779 GB, free: 7.555 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.658e-05/0.6261, allocations: 180.2 kB / 0.8781 GB, free: 7.371 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.229e-05/0.6262, allocations: 105 kB / 0.8782 GB, free: 7.262 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 7.921e-05/0.6263, allocations: 118.6 kB / 0.8783 GB, free: 7.148 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.21e-07/0.6263, allocations: 0 / 0.8783 GB, free: 7.148 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003046/0.6266, allocations: 32 kB / 0.8783 GB, free: 7.117 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.0002123/0.6268, allocations: 186.5 kB / 0.8785 GB, free: 6.922 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001325/0.627, allocations: 79.67 kB / 0.8786 GB, free: 6.844 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.627, allocations: 0 / 0.8786 GB, free: 6.844 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.673e-06/0.627, allocations: 1.312 kB / 0.8786 GB, free: 6.844 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002987/0.6273, allocations: 0.5381 MB / 0.8791 GB, free: 6.301 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002329/0.6275, allocations: 176.8 kB / 0.8793 GB, free: 6.105 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002462/0.6278, allocations: 0.6932 MB / 0.88 GB, free: 5.387 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001569/0.6279, allocations: 66.03 kB / 0.88 GB, free: 5.328 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.888e-05/0.628, allocations: 15.44 kB / 0.88 GB, free: 5.312 MB / 0.5417 GB Notification: Performance of SimCode: time 2.21e-07/0.628, allocations: 0 / 0.88 GB, free: 5.312 MB / 0.5417 GB Notification: Performance of Templates: time 0.004021/0.632, allocations: 1.705 MB / 0.8817 GB, free: 3.641 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.makefile (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 & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)