Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.conf.json 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/IBPSA 3.0.0-master/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) 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 IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 173 kB / 16.76 MB, free: 4.934 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.6305/0.6305, allocations: 86.28 MB / 103.8 MB, free: 14.55 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 223.2 MB / 348.4 MB, free: 5.004 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008031/0.0008031, allocations: 95.73 kB / 420.2 MB, free: 9.637 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005634/0.0005635, allocations: 12 kB / 0.4901 GB, free: 7.977 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3703/0.3709, allocations: 71.02 MB / 0.5595 GB, free: 43.76 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1184/0.4893, allocations: 99.36 MB / 0.6565 GB, free: 10.15 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002232/0.4896, allocations: 77.58 kB / 0.6566 GB, free: 10.08 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001412/0.491, allocations: 0.5699 MB / 0.6571 GB, free: 9.516 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.491, allocations: 0 / 0.6571 GB, free: 9.516 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.491, allocations: 0 / 0.6571 GB, free: 9.516 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0002911/0.4913, allocations: 341.3 kB / 0.6574 GB, free: 9.125 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.4914, allocations: 12.03 kB / 0.6575 GB, free: 9.113 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.237e-05/0.4914, allocations: 0.9375 kB / 0.6575 GB, free: 9.113 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.92e-05/0.4915, allocations: 164.3 kB / 0.6576 GB, free: 8.914 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.4916, allocations: 4.312 kB / 0.6576 GB, free: 8.91 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.221e-05/0.4916, allocations: 8.375 kB / 0.6576 GB, free: 8.902 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.4917, allocations: 62.17 kB / 0.6577 GB, free: 8.836 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.4917, allocations: 192 / 0.6577 GB, free: 8.836 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.4918, allocations: 3.938 kB / 0.6577 GB, free: 8.832 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.748e-05/0.4918, allocations: 4 kB / 0.6577 GB, free: 8.828 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.811e-05/0.4918, allocations: 19.98 kB / 0.6577 GB, free: 8.809 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003419/0.4922, allocations: 264.8 kB / 0.658 GB, free: 8.5 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.669e-05/0.4922, allocations: 26.52 kB / 0.658 GB, free: 8.465 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.701e-05/0.4923, allocations: 4.859 kB / 0.658 GB, free: 8.457 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.249e-06/0.4923, allocations: 4.062 kB / 0.658 GB, free: 8.453 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.4923, allocations: 30.56 kB / 0.658 GB, free: 8.414 MB / 474.7 MB Notification: Performance of pre-optimization done (n=1): time 1.623e-06/0.4923, allocations: 0 / 0.658 GB, free: 8.414 MB / 474.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001911/0.4925, allocations: 71.3 kB / 0.6581 GB, free: 8.332 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.848e-05/0.4926, allocations: 81.11 kB / 0.6582 GB, free: 8.234 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.495e-05/0.4927, allocations: 118 kB / 0.6583 GB, free: 8.109 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.4927, allocations: 25.7 kB / 0.6583 GB, free: 8.078 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.406e-05/0.4928, allocations: 111.8 kB / 0.6584 GB, free: 7.965 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.682e-06/0.4928, allocations: 3.938 kB / 0.6584 GB, free: 7.961 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.397e-06/0.4928, allocations: 0 / 0.6584 GB, free: 7.961 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.4929, allocations: 318.8 kB / 0.6587 GB, free: 7.641 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.506e-05/0.493, allocations: 11.98 kB / 0.6587 GB, free: 7.629 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.642e-05/0.493, allocations: 62.86 kB / 0.6588 GB, free: 7.543 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001056/0.4931, allocations: 130.1 kB / 0.6589 GB, free: 7.379 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.4931, allocations: 0 / 0.6589 GB, free: 7.379 MB / 474.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001383/0.4933, allocations: 115.2 kB / 0.659 GB, free: 7.254 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.065e-05/0.4933, allocations: 33.7 kB / 0.6591 GB, free: 7.215 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.4933, allocations: 256 / 0.6591 GB, free: 7.215 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.4934, allocations: 8 kB / 0.6591 GB, free: 7.207 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.871e-05/0.4934, allocations: 19.92 kB / 0.6591 GB, free: 7.188 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.4934, allocations: 0 / 0.6591 GB, free: 7.188 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.011e-05/0.4935, allocations: 11.94 kB / 0.6591 GB, free: 7.176 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.721e-05/0.4935, allocations: 8 kB / 0.6591 GB, free: 7.168 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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 9.129e-05/0.4936, allocations: 139.5 kB / 0.6592 GB, free: 7.016 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.892e-05/0.4936, allocations: 19.83 kB / 0.6593 GB, free: 6.996 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.678e-05/0.4937, allocations: 3.531 kB / 0.6593 GB, free: 6.98 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.4937, allocations: 7.938 kB / 0.6593 GB, free: 6.973 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.4937, allocations: 0 / 0.6593 GB, free: 6.973 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.4937, allocations: 4 kB / 0.6593 GB, free: 6.969 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001549/0.4939, allocations: 153.6 kB / 0.6594 GB, free: 6.77 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.4939, allocations: 0 / 0.6594 GB, free: 6.77 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.4939, allocations: 0 / 0.6594 GB, free: 6.77 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.4939, allocations: 4 kB / 0.6594 GB, free: 6.766 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.4939, allocations: 0 / 0.6594 GB, free: 6.766 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.4939, allocations: 0 / 0.6594 GB, free: 6.766 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.4939, allocations: 0 / 0.6594 GB, free: 6.766 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001239/0.494, allocations: 169.2 kB / 0.6596 GB, free: 6.578 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.106e-05/0.4941, allocations: 85.09 kB / 0.6597 GB, free: 6.477 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.4941, allocations: 4 kB / 0.6597 GB, free: 6.473 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.353e-05/0.4942, allocations: 0 / 0.6597 GB, free: 6.473 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.465e-05/0.4942, allocations: 0 / 0.6597 GB, free: 6.473 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.4942, allocations: 4 kB / 0.6597 GB, free: 6.469 MB / 474.7 MB Notification: Performance of sorting global known variables: time 4.904e-05/0.4943, allocations: 87.27 kB / 0.6598 GB, free: 6.383 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4943, allocations: 3.938 kB / 0.6598 GB, free: 6.379 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002299/0.4945, allocations: 19.97 kB / 0.6598 GB, free: 6.359 MB / 474.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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001497/0.4947, allocations: 107.8 kB / 0.6599 GB, free: 6.246 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001265/0.4948, allocations: 83.33 kB / 0.66 GB, free: 6.152 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4948, allocations: 3.938 kB / 0.66 GB, free: 6.148 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 3.004e-05/0.4948, allocations: 55.41 kB / 0.66 GB, free: 6.082 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001857/0.495, allocations: 0.5625 kB / 0.66 GB, free: 6.082 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002154/0.4952, allocations: 118.6 kB / 0.6601 GB, free: 5.938 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002444/0.4955, allocations: 0.677 MB / 0.6608 GB, free: 5.234 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 4.414e-05/0.4956, allocations: 11.98 kB / 0.6608 GB, free: 5.223 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.23e-05/0.4956, allocations: 7.438 kB / 0.6608 GB, free: 5.215 MB / 474.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4956, allocations: 0 / 0.6608 GB, free: 5.215 MB / 474.7 MB Notification: Performance of Templates: time 0.002426/0.498, allocations: 496.6 kB / 0.6613 GB, free: 4.734 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)