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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001578/0.002619, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001513/0.002639, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9354/0.9354, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08332/1.019, allocations: 53.68 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002164/0.002164, allocations: 230.8 kB / 244.4 MB, free: 14.53 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004904/0.007068, allocations: 475.3 kB / 244.8 MB, free: 14.07 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7161/0.7161, allocations: 138.7 MB / 384.3 MB, free: 352 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07368/0.7898, allocations: 42.4 MB / 426.7 MB, free: 5.828 MB / 410.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 428.1 MB, free: 4.422 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.882e-05/2.003e-05, allocations: 2.312 kB / 428.1 MB, free: 4.418 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001139/0.001159, allocations: 0.682 MB / 428.8 MB, free: 3.734 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001472/0.001307, allocations: 71.83 kB / 428.9 MB, free: 3.664 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.711e-05/0.001324, allocations: 0 / 428.9 MB, free: 3.664 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.646e-05/0.00134, allocations: 3.938 kB / 428.9 MB, free: 3.66 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.158e-05/0.001362, allocations: 7.938 kB / 428.9 MB, free: 3.652 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000153/0.001515, allocations: 43.94 kB / 428.9 MB, free: 3.609 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.968e-05/0.001575, allocations: 23.92 kB / 428.9 MB, free: 3.586 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.163e-05/0.001606, allocations: 0 / 428.9 MB, free: 3.586 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.042e-05/0.001647, allocations: 27.95 kB / 429 MB, free: 3.559 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001386/0.001785, allocations: 67.94 kB / 429 MB, free: 3.492 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.001799, allocations: 4 kB / 429 MB, free: 3.488 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.001901, allocations: 47.86 kB / 429.1 MB, free: 3.441 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.405e-05/0.001935, allocations: 19.94 kB / 429.1 MB, free: 3.422 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.381e-05/0.001949, allocations: 7.938 kB / 429.1 MB, free: 3.414 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001043/0.002053, allocations: 63.81 kB / 429.2 MB, free: 3.352 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.026e-05/0.002063, allocations: 0 / 429.2 MB, free: 3.352 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.002064, allocations: 0 / 429.2 MB, free: 3.352 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.002073, allocations: 0 / 429.2 MB, free: 3.352 MB / 410.7 MB 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.000266/0.002339, allocations: 284.4 kB / 429.5 MB, free: 3.047 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.989e-05/0.002369, allocations: 11.98 kB / 429.5 MB, free: 3.035 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.065e-05/0.002399, allocations: 8.922 kB / 429.5 MB, free: 3.027 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.48e-05/0.002454, allocations: 113.7 kB / 429.6 MB, free: 2.891 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.725e-06/0.002462, allocations: 384 / 429.6 MB, free: 2.891 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.002476, allocations: 12.38 kB / 429.6 MB, free: 2.879 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001832/0.002659, allocations: 371.7 kB / 430 MB, free: 2.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.709e-06/0.002664, allocations: 192 / 430 MB, free: 2.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.749e-06/0.002674, allocations: 4.125 kB / 430 MB, free: 2.426 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.933e-05/0.002713, allocations: 19.98 kB / 430 MB, free: 2.406 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.582e-05/0.002739, allocations: 27.92 kB / 430 MB, free: 2.379 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003866/0.003125, allocations: 0.7913 MB / 430.8 MB, free: 1.551 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.526e-05/0.003181, allocations: 169.1 kB / 431 MB, free: 1.375 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.132e-05/0.003202, allocations: 84.08 kB / 431.1 MB, free: 1.289 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/0.00322, allocations: 75.28 kB / 431.1 MB, free: 1.215 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.443e-05/0.003254, allocations: 113.8 kB / 431.2 MB, free: 1.094 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 6.61e-07/0.003255, allocations: 0 / 431.2 MB, free: 1.094 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 5.45e-05/0.003309, allocations: 37.62 kB / 431.3 MB, free: 1.051 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/0.003347, allocations: 130.7 kB / 431.4 MB, free: 0.9102 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.191e-05/0.003429, allocations: 158.4 kB / 431.6 MB, free: 0.7422 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.323e-05/0.003442, allocations: 29.7 kB / 431.6 MB, free: 0.707 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.38e-05/0.003506, allocations: 159.5 kB / 431.7 MB, free: 0.5469 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.196e-06/0.003509, allocations: 3.938 kB / 431.7 MB, free: 0.543 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-05/0.003551, allocations: 49.66 kB / 431.8 MB, free: 500 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.165e-05/0.003623, allocations: 322.8 kB / 432.1 MB, free: 168 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.199e-05/0.003634, allocations: 11.98 kB / 432.1 MB, free: 156 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1883/0.192, allocations: 463 kB / 432.6 MB, free: 2.949 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001329/0.1921, allocations: 197.9 kB / 432.8 MB, free: 2.781 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.1921, allocations: 1.844 kB / 432.8 MB, free: 2.781 MB / 410.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001767/0.1923, allocations: 151.3 kB / 432.9 MB, free: 2.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.1923, allocations: 8.562 kB / 432.9 MB, free: 2.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.1923, allocations: 4.562 kB / 432.9 MB, free: 2.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.1923, allocations: 6.312 kB / 432.9 MB, free: 2.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.764e-05/0.1924, allocations: 47.36 kB / 433 MB, free: 2.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.1924, allocations: 8.625 kB / 433 MB, free: 2.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.538e-05/0.1925, allocations: 26.59 kB / 433 MB, free: 2.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.978e-06/0.1925, allocations: 11.22 kB / 433 MB, free: 2.75 MB / 410.7 MB 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 6.353e-05/0.1926, allocations: 212.8 kB / 433.2 MB, free: 2.559 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.93e-05/0.1926, allocations: 108.7 kB / 433.3 MB, free: 2.453 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.5e-05/0.1926, allocations: 119.4 kB / 433.5 MB, free: 2.348 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.46e-05/0.1926, allocations: 180.1 kB / 433.6 MB, free: 2.168 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.522e-05/0.1927, allocations: 181 kB / 433.8 MB, free: 1.988 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.39e-05/0.1927, allocations: 181.4 kB / 434 MB, free: 1.809 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.305e-05/0.1928, allocations: 333.8 kB / 434.3 MB, free: 1.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.869e-06/0.1928, allocations: 105 kB / 434.4 MB, free: 1.375 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.739e-06/0.1928, allocations: 107.8 kB / 434.5 MB, free: 1.27 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.865e-05/0.1928, allocations: 107.9 kB / 434.6 MB, free: 1.164 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-05/0.1928, allocations: 184.4 kB / 434.8 MB, free: 0.9844 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.1928, allocations: 178.3 kB / 435 MB, free: 0.8047 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.376e-05/0.1928, allocations: 184.5 kB / 435.2 MB, free: 0.625 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.967e-05/0.1929, allocations: 184.9 kB / 435.3 MB, free: 16.44 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.102e-05/0.193, allocations: 313 kB / 435.6 MB, free: 16.13 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.86e-05/0.193, allocations: 184.1 kB / 435.8 MB, free: 15.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.113e-05/0.1931, allocations: 110.6 kB / 435.9 MB, free: 15.85 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.726e-05/0.1931, allocations: 183.4 kB / 436.1 MB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.098e-05/0.1932, allocations: 104.7 kB / 436.2 MB, free: 15.56 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.808e-05/0.1932, allocations: 33.92 kB / 436.3 MB, free: 15.55 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1932, allocations: 0.7188 kB / 436.3 MB, free: 15.55 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001943/0.1934, allocations: 30.14 kB / 436.3 MB, free: 15.55 MB / 426.7 MB 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.0001465/0.1935, allocations: 168.8 kB / 436.4 MB, free: 15.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 9.634e-05/0.1936, allocations: 73.52 kB / 436.5 MB, free: 15.39 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.024e-05/0.1936, allocations: 2.406 kB / 436.5 MB, free: 15.39 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.045e-06/0.1936, allocations: 4.938 kB / 436.5 MB, free: 15.39 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002058/0.1938, allocations: 483.6 kB / 437 MB, free: 14.94 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001977/0.194, allocations: 224.9 kB / 437.2 MB, free: 14.75 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.451e-05/0.1941, allocations: 66.44 kB / 437.3 MB, free: 14.68 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.627e-05/0.1941, allocations: 26.78 kB / 437.3 MB, free: 14.68 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/0.1943, allocations: 110.1 kB / 437.4 MB, free: 14.64 MB / 426.7 MB Notification: Performance of SimCode: time 6.82e-07/0.1943, allocations: 0 / 437.4 MB, free: 14.64 MB / 426.7 MB Notification: Performance of Templates: time 0.003151/0.1974, allocations: 1.688 MB / 439.1 MB, free: 14.52 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.makefile [Timeout 660] (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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.340759353712201]