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.0009251/0.0009251, allocations: 80.81 kB / 19.94 MB, free: 4.547 MB / 18.57 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.0009437/0.0009437, allocations: 177 kB / 23.36 MB, free: 1.133 MB / 18.57 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 1.005/1.005, allocations: 177.1 MB / 203.8 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.005118/0.005118, allocations: 242.3 kB / 260.5 MB, free: 12.71 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7109/0.7109, allocations: 138.4 MB / 402.2 MB, free: 0.5859 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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.773e-06/1.773e-06, allocations: 0.7031 kB / 462.4 MB, free: 0.8477 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.869e-05/2.046e-05, allocations: 7.672 kB / 462.4 MB, free: 0.8398 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001309/0.00133, allocations: 0.6228 MB / 463 MB, free: 0.5039 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002542/0.001584, allocations: 68.3 kB / 463.1 MB, free: 480 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.03e-05/0.001604, allocations: 0 / 463.1 MB, free: 480 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.117e-05/0.001635, allocations: 3.547 kB / 463.1 MB, free: 480 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.257e-05/0.001678, allocations: 7.266 kB / 463.1 MB, free: 480 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002779/0.001956, allocations: 45.62 kB / 463.1 MB, free: 464 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.192e-05/0.002018, allocations: 29.91 kB / 463.1 MB, free: 456 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.264e-05/0.00205, allocations: 2.219 kB / 463.2 MB, free: 456 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.95e-05/0.00209, allocations: 22.22 kB / 463.2 MB, free: 452 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001647/0.002255, allocations: 75.28 kB / 463.2 MB, free: 428 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.277e-05/0.002267, allocations: 1.5 kB / 463.2 MB, free: 428 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.009e-05/0.002358, allocations: 44.17 kB / 463.3 MB, free: 416 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.357e-05/0.002391, allocations: 19.11 kB / 463.3 MB, free: 412 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.79e-05/0.002409, allocations: 14.25 kB / 463.3 MB, free: 408 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001207/0.00253, allocations: 73.27 kB / 463.4 MB, free: 388 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.002532, allocations: 0.5625 kB / 463.4 MB, free: 388 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.002533, allocations: 1.469 kB / 463.4 MB, free: 388 kB / 410.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.002537, allocations: 1.062 kB / 463.4 MB, free: 388 kB / 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.0002125/0.00275, allocations: 265 kB / 463.7 MB, free: 128 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.002785, allocations: 10.55 kB / 463.7 MB, free: 128 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.042e-05/0.002815, allocations: 8.5 kB / 463.7 MB, free: 128 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.448e-05/0.00287, allocations: 109.4 kB / 463.8 MB, free: 16 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.002882, allocations: 6.984 kB / 463.8 MB, free: 15.99 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.455e-05/0.002897, allocations: 7.547 kB / 463.8 MB, free: 15.99 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002096/0.003107, allocations: 371.4 kB / 464.2 MB, free: 15.58 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.003113, allocations: 1.344 kB / 464.2 MB, free: 15.58 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.003125, allocations: 6.219 kB / 464.2 MB, free: 15.58 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-05/0.003171, allocations: 27.19 kB / 464.2 MB, free: 15.57 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.447e-05/0.003205, allocations: 28.86 kB / 464.2 MB, free: 15.57 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004352/0.003641, allocations: 0.7901 MB / 465 MB, free: 14.82 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.791e-05/0.003698, allocations: 166.7 kB / 465.2 MB, free: 14.64 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.994e-05/0.003718, allocations: 83.08 kB / 465.3 MB, free: 14.56 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.801e-05/0.003736, allocations: 77.22 kB / 465.3 MB, free: 14.49 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.888e-05/0.003775, allocations: 113 kB / 465.4 MB, free: 14.37 MB / 426.7 MB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.003776, allocations: 0.75 kB / 465.4 MB, free: 14.37 MB / 426.7 MB Notification: Performance of matching and sorting (n=0): time 5.546e-05/0.003832, allocations: 43.36 kB / 465.5 MB, free: 14.33 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001206/0.003952, allocations: 388.4 kB / 465.9 MB, free: 13.88 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.004057, allocations: 159.9 kB / 466 MB, free: 13.75 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.004071, allocations: 34.03 kB / 466.1 MB, free: 13.71 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.191e-05/0.004143, allocations: 148.2 kB / 466.2 MB, free: 13.58 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.058e-06/0.004147, allocations: 3.844 kB / 466.2 MB, free: 13.58 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.981e-05/0.004207, allocations: 53.17 kB / 466.3 MB, free: 13.54 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.754e-05/0.004284, allocations: 319.3 kB / 466.6 MB, free: 13.23 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.661e-05/0.004301, allocations: 11.22 kB / 466.6 MB, free: 13.23 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001889/0.00449, allocations: 477 kB / 467 MB, free: 12.65 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001321/0.004622, allocations: 185.6 kB / 467.2 MB, free: 12.45 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.004626, allocations: 2.156 kB / 467.2 MB, free: 12.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001643/0.00479, allocations: 151.1 kB / 467.4 MB, free: 12.38 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.004804, allocations: 6.75 kB / 467.4 MB, free: 12.38 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.004811, allocations: 6.875 kB / 467.4 MB, free: 12.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.004825, allocations: 6.641 kB / 467.4 MB, free: 12.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.115e-05/0.004906, allocations: 38.91 kB / 467.4 MB, free: 12.38 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.004914, allocations: 11.11 kB / 467.4 MB, free: 12.38 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.117e-05/0.004975, allocations: 30.84 kB / 467.5 MB, free: 12.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.004985, allocations: 9.375 kB / 467.5 MB, free: 12.36 MB / 426.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 9.09e-05/0.005076, allocations: 212.1 kB / 467.7 MB, free: 12.15 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.49e-05/0.005121, allocations: 110.6 kB / 467.8 MB, free: 12.04 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.292e-05/0.005164, allocations: 117.8 kB / 467.9 MB, free: 11.93 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4e-05/0.005204, allocations: 182.5 kB / 468.1 MB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-05/0.005242, allocations: 180.6 kB / 468.3 MB, free: 11.57 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.033e-05/0.005283, allocations: 184.2 kB / 468.4 MB, free: 11.38 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001348/0.005417, allocations: 335.8 kB / 468.8 MB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.509e-05/0.005442, allocations: 107.8 kB / 468.9 MB, free: 10.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.445e-05/0.005467, allocations: 103.1 kB / 469 MB, free: 10.83 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.336e-05/0.00551, allocations: 185.6 kB / 469.2 MB, free: 10.64 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.074e-05/0.005551, allocations: 179.4 kB / 469.3 MB, free: 10.46 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.921e-05/0.00559, allocations: 178.6 kB / 469.5 MB, free: 10.28 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-05/0.005633, allocations: 183.3 kB / 469.7 MB, free: 10.1 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001086/0.005742, allocations: 321.5 kB / 470 MB, free: 9.773 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.592e-05/0.005778, allocations: 109.6 kB / 470.1 MB, free: 9.664 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.884e-05/0.005826, allocations: 181.1 kB / 470.3 MB, free: 9.484 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.177e-05/0.005878, allocations: 109.8 kB / 470.4 MB, free: 9.375 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.263e-05/0.005921, allocations: 184.4 kB / 470.6 MB, free: 9.191 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.382e-05/0.005945, allocations: 106.3 kB / 470.7 MB, free: 9.082 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.348e-05/0.005978, allocations: 30.12 kB / 470.7 MB, free: 9.07 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.005978, allocations: 0.5312 kB / 470.7 MB, free: 9.07 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002086/0.006187, allocations: 26.88 kB / 470.7 MB, free: 9.066 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.00013/0.006317, allocations: 168.9 kB / 470.9 MB, free: 8.918 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001033/0.00642, allocations: 64.55 kB / 471 MB, free: 8.895 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/0.006428, allocations: 2.375 kB / 471 MB, free: 8.895 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.433e-06/0.00643, allocations: 2.156 kB / 471 MB, free: 8.895 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001859/0.006615, allocations: 470.6 kB / 471.4 MB, free: 8.441 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002066/0.006822, allocations: 228.5 kB / 471.6 MB, free: 8.234 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.668e-05/0.006859, allocations: 68.72 kB / 471.7 MB, free: 8.16 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.229e-05/0.006931, allocations: 28.14 kB / 471.7 MB, free: 8.156 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000136/0.007067, allocations: 112.6 kB / 471.9 MB, free: 8.109 MB / 426.7 MB Notification: Performance of SimCode: time 7.01e-07/0.007068, allocations: 0 / 471.9 MB, free: 8.109 MB / 426.7 MB Notification: Performance of Templates: time 0.003433/0.0105, allocations: 1.868 MB / 473.7 MB, free: 6.738 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.5438847858458757]