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/ModelicaServices 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 103.6 kB / 16.27 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 189.8 kB / 17.2 MB, free: 5.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002522/0.002523, allocations: 287.8 kB / 291.3 MB, free: 14.54 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.145/1.145, allocations: 178.5 MB / 0.5079 GB, free: 12.84 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002658/0.002658, allocations: 99.84 kB / 0.6071 GB, free: 9.289 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1854/0.188, allocations: 89.14 MB / 0.6942 GB, free: 68 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001829/0.1899, allocations: 0.6002 MB / 0.6948 GB, free: 15.45 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002854/0.1902, allocations: 75.84 kB / 0.6948 GB, free: 15.38 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.803e-05/0.1903, allocations: 4 kB / 0.6948 GB, free: 15.38 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.308e-05/0.1903, allocations: 0 / 0.6948 GB, free: 15.38 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.016e-05/0.1903, allocations: 7.938 kB / 0.6948 GB, free: 15.37 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002645/0.1906, allocations: 39.94 kB / 0.6949 GB, free: 15.33 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.641e-05/0.1907, allocations: 23.92 kB / 0.6949 GB, free: 15.3 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.128e-05/0.1907, allocations: 4 kB / 0.6949 GB, free: 15.3 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.433e-05/0.1907, allocations: 15.98 kB / 0.6949 GB, free: 15.29 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001715/0.1909, allocations: 63.88 kB / 0.695 GB, free: 15.22 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/0.1909, allocations: 4 kB / 0.695 GB, free: 15.22 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.431e-05/0.191, allocations: 39.95 kB / 0.695 GB, free: 15.18 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.556e-05/0.1911, allocations: 19.92 kB / 0.695 GB, free: 15.16 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.288e-05/0.1911, allocations: 15.88 kB / 0.6951 GB, free: 15.14 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001281/0.1913, allocations: 67.78 kB / 0.6951 GB, free: 15.08 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.257e-06/0.1913, allocations: 0 / 0.6951 GB, free: 15.08 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.422e-06/0.1913, allocations: 0 / 0.6951 GB, free: 15.08 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.1913, allocations: 0 / 0.6951 GB, free: 15.08 MB / 0.545 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.0003767/0.1917, allocations: 369.6 kB / 0.6955 GB, free: 14.67 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.1917, allocations: 8.031 kB / 0.6955 GB, free: 14.66 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.608e-05/0.1917, allocations: 4.938 kB / 0.6955 GB, free: 14.66 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.1919, allocations: 172.3 kB / 0.6957 GB, free: 14.45 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.348e-06/0.1919, allocations: 384 / 0.6957 GB, free: 14.45 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.297e-05/0.1919, allocations: 12.34 kB / 0.6957 GB, free: 14.44 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002656/0.1922, allocations: 180.3 kB / 0.6958 GB, free: 14.24 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.1922, allocations: 4 kB / 0.6958 GB, free: 14.23 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.1922, allocations: 3.984 kB / 0.6958 GB, free: 14.23 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.033e-05/0.1922, allocations: 19.98 kB / 0.6959 GB, free: 14.21 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.967e-05/0.1923, allocations: 39.84 kB / 0.6959 GB, free: 14.17 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008483/0.1932, allocations: 0.9023 MB / 0.6968 GB, free: 13.2 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.174e-05/0.1933, allocations: 173.1 kB / 0.6969 GB, free: 13.02 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.897e-05/0.1934, allocations: 80.14 kB / 0.697 GB, free: 12.94 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.992e-05/0.1934, allocations: 79.28 kB / 0.6971 GB, free: 12.86 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.912e-05/0.1935, allocations: 109.8 kB / 0.6972 GB, free: 12.74 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.1935, allocations: 0 / 0.6972 GB, free: 12.74 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 9.222e-05/0.1936, allocations: 47.3 kB / 0.6973 GB, free: 12.69 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002099/0.1938, allocations: 383.7 kB / 0.6976 GB, free: 12.24 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001509/0.194, allocations: 168.3 kB / 0.6978 GB, free: 12.07 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.194, allocations: 25.7 kB / 0.6978 GB, free: 12.04 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.1941, allocations: 155.1 kB / 0.6979 GB, free: 11.88 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.244e-06/0.1941, allocations: 11.94 kB / 0.698 GB, free: 11.87 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.547e-05/0.1942, allocations: 53.55 kB / 0.698 GB, free: 11.81 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.1943, allocations: 326.8 kB / 0.6983 GB, free: 11.48 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.055e-05/0.1944, allocations: 23.98 kB / 0.6983 GB, free: 11.46 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002032/0.1946, allocations: 222.5 kB / 0.6986 GB, free: 11.15 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002046/0.1948, allocations: 193.8 kB / 0.6987 GB, free: 10.89 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.1948, allocations: 8 kB / 0.6988 GB, free: 10.89 MB / 0.545 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003034/0.1951, allocations: 189.7 kB / 0.6989 GB, free: 10.7 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.1951, allocations: 8.094 kB / 0.6989 GB, free: 10.69 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.1952, allocations: 8 kB / 0.6989 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.1952, allocations: 11.88 kB / 0.699 GB, free: 10.67 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.1953, allocations: 43.92 kB / 0.699 GB, free: 10.62 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.809e-06/0.1953, allocations: 4 kB / 0.699 GB, free: 10.62 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001294/0.1954, allocations: 27.78 kB / 0.699 GB, free: 10.59 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/0.1955, allocations: 12 kB / 0.699 GB, free: 10.58 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001513/0.1956, allocations: 213 kB / 0.6992 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.55e-05/0.1957, allocations: 124.9 kB / 0.6994 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.253e-05/0.1958, allocations: 120.6 kB / 0.6995 GB, free: 10.11 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.373e-05/0.1959, allocations: 180.2 kB / 0.6997 GB, free: 9.926 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001512/0.196, allocations: 180.2 kB / 0.6998 GB, free: 9.742 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.15e-05/0.1961, allocations: 176.3 kB / 0.7 GB, free: 9.562 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003123/0.1964, allocations: 429.1 kB / 0.7004 GB, free: 9.086 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.312e-05/0.1965, allocations: 101 kB / 0.7005 GB, free: 8.98 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.426e-05/0.1965, allocations: 105 kB / 0.7006 GB, free: 8.871 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.154e-05/0.1966, allocations: 184.2 kB / 0.7008 GB, free: 8.684 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.63e-05/0.1967, allocations: 176.3 kB / 0.7009 GB, free: 8.504 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001179/0.1968, allocations: 188.1 kB / 0.7011 GB, free: 8.312 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.473e-05/0.1969, allocations: 184.3 kB / 0.7013 GB, free: 8.125 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001701/0.1971, allocations: 311.9 kB / 0.7016 GB, free: 7.797 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001295/0.1972, allocations: 186 kB / 0.7018 GB, free: 7.59 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001502/0.1974, allocations: 188.2 kB / 0.702 GB, free: 7.398 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.1975, allocations: 116.9 kB / 0.7021 GB, free: 7.277 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.184e-05/0.1976, allocations: 184.2 kB / 0.7022 GB, free: 7.09 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.642e-05/0.1976, allocations: 101 kB / 0.7023 GB, free: 6.984 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.683e-05/0.1977, allocations: 121.3 kB / 0.7024 GB, free: 6.867 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.843e-06/0.1977, allocations: 0 / 0.7024 GB, free: 6.867 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003605/0.1981, allocations: 31.94 kB / 0.7025 GB, free: 6.836 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002035/0.1983, allocations: 183.1 kB / 0.7027 GB, free: 6.648 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001469/0.1985, allocations: 75.78 kB / 0.7027 GB, free: 6.574 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.1985, allocations: 0 / 0.7027 GB, free: 6.574 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.226e-06/0.1985, allocations: 3.938 kB / 0.7027 GB, free: 6.57 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000437/0.1989, allocations: 475.4 kB / 0.7032 GB, free: 6.105 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003082/0.1992, allocations: 254.4 kB / 0.7034 GB, free: 5.824 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003686/0.1996, allocations: 0.7007 MB / 0.7041 GB, free: 5.098 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.542e-05/0.1997, allocations: 15.44 kB / 0.7041 GB, free: 5.082 MB / 0.545 GB Notification: Performance of SimCode: time 2.01e-07/0.1997, allocations: 0 / 0.7041 GB, free: 5.082 MB / 0.545 GB Notification: Performance of Templates: time 0.003445/0.2031, allocations: 1.702 MB / 0.7058 GB, free: 3.395 MB / 0.545 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)