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/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 88.17 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 181.5 kB / 16.59 MB, free: 6.504 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.397/1.397, allocations: 223.3 MB / 240.6 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7067/0.7067, allocations: 115.5 MB / 407.2 MB, free: 2.832 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003233/0.0003234, allocations: 8.906 kB / 495.2 MB, free: 6.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1396, allocations: 77.53 MB / 0.5593 GB, free: 9.414 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.0006889/0.1403, allocations: 303.8 kB / 0.5596 GB, free: 9.109 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002174/0.1406, allocations: 35.91 kB / 0.5597 GB, free: 9.074 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.617e-05/0.1406, allocations: 0 / 0.5597 GB, free: 9.074 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.43e-05/0.1406, allocations: 0 / 0.5597 GB, free: 9.074 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.177e-05/0.1407, allocations: 7.938 kB / 0.5597 GB, free: 9.066 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001595/0.1409, allocations: 15.98 kB / 0.5597 GB, free: 9.051 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.357e-05/0.1409, allocations: 3.938 kB / 0.5597 GB, free: 9.047 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.214e-05/0.141, allocations: 3.984 kB / 0.5597 GB, free: 9.043 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.059e-05/0.141, allocations: 4 kB / 0.5597 GB, free: 9.039 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.507e-05/0.141, allocations: 0 / 0.5597 GB, free: 9.039 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.141, allocations: 4 kB / 0.5597 GB, free: 9.035 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.473e-05/0.1411, allocations: 19.98 kB / 0.5597 GB, free: 9.016 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.372e-05/0.1412, allocations: 3.984 kB / 0.5597 GB, free: 9.012 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.76e-05/0.1412, allocations: 29.7 kB / 0.5597 GB, free: 8.977 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 6.234e-05/0.1413, allocations: 11.98 kB / 0.5598 GB, free: 8.965 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.1413, allocations: 4 kB / 0.5598 GB, free: 8.961 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.1413, allocations: 3.938 kB / 0.5598 GB, free: 8.957 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.377e-06/0.1413, allocations: 0 / 0.5598 GB, free: 8.957 MB / 430.1 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.0002741/0.1416, allocations: 351.5 kB / 0.5601 GB, free: 8.562 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.1416, allocations: 8.031 kB / 0.5601 GB, free: 8.555 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.172e-05/0.1416, allocations: 4 kB / 0.5601 GB, free: 8.551 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.125e-05/0.1417, allocations: 163.3 kB / 0.5603 GB, free: 8.352 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.1418, allocations: 0 / 0.5603 GB, free: 8.352 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.165e-06/0.1418, allocations: 0 / 0.5603 GB, free: 8.352 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.1419, allocations: 60.2 kB / 0.5603 GB, free: 8.289 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.1419, allocations: 7.938 kB / 0.5603 GB, free: 8.281 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.1419, allocations: 4 kB / 0.5603 GB, free: 8.277 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.397e-05/0.142, allocations: 4 kB / 0.5603 GB, free: 8.273 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.719e-05/0.142, allocations: 31.86 kB / 0.5604 GB, free: 8.242 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003393/0.1424, allocations: 268.8 kB / 0.5606 GB, free: 7.93 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.428e-05/0.1424, allocations: 18.58 kB / 0.5606 GB, free: 7.902 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.914e-05/0.1425, allocations: 8.859 kB / 0.5607 GB, free: 7.891 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.907e-06/0.1425, allocations: 0 / 0.5607 GB, free: 7.891 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.1425, allocations: 34.62 kB / 0.5607 GB, free: 7.848 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.1425, allocations: 0 / 0.5607 GB, free: 7.848 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001913/0.1427, allocations: 75.23 kB / 0.5608 GB, free: 7.762 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.626e-05/0.1428, allocations: 81.11 kB / 0.5608 GB, free: 7.664 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.93e-05/0.1429, allocations: 109.8 kB / 0.5609 GB, free: 7.547 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.1429, allocations: 29.64 kB / 0.561 GB, free: 7.512 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.721e-05/0.1429, allocations: 107.9 kB / 0.5611 GB, free: 7.402 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.386e-06/0.143, allocations: 4 kB / 0.5611 GB, free: 7.398 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-06/0.143, allocations: 0 / 0.5611 GB, free: 7.398 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.1431, allocations: 322.8 kB / 0.5614 GB, free: 7.074 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.5e-05/0.1431, allocations: 11.98 kB / 0.5614 GB, free: 7.062 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.939e-05/0.1432, allocations: 71.09 kB / 0.5615 GB, free: 6.969 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.841e-05/0.1432, allocations: 41.7 kB / 0.5615 GB, free: 6.922 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1433, allocations: 0 / 0.5615 GB, free: 6.922 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001597/0.1434, allocations: 123.1 kB / 0.5616 GB, free: 6.789 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.308e-05/0.1435, allocations: 33.69 kB / 0.5617 GB, free: 6.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.1435, allocations: 4 kB / 0.5617 GB, free: 6.746 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.1435, allocations: 4 kB / 0.5617 GB, free: 6.742 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.579e-05/0.1436, allocations: 8 kB / 0.5617 GB, free: 6.734 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.1436, allocations: 4 kB / 0.5617 GB, free: 6.73 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.942e-05/0.1437, allocations: 12 kB / 0.5617 GB, free: 6.719 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.1437, allocations: 4 kB / 0.5617 GB, free: 6.715 MB / 430.1 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 0.0001033/0.1438, allocations: 163.6 kB / 0.5618 GB, free: 6.539 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.557e-05/0.1438, allocations: 3.906 kB / 0.5618 GB, free: 6.535 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.095e-05/0.1438, allocations: 3.531 kB / 0.5618 GB, free: 6.531 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.1438, allocations: 4 kB / 0.5619 GB, free: 6.527 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.1438, allocations: 0 / 0.5619 GB, free: 6.527 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-06/0.1439, allocations: 0 / 0.5619 GB, free: 6.527 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001394/0.144, allocations: 153.6 kB / 0.562 GB, free: 6.328 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-06/0.144, allocations: 0 / 0.562 GB, free: 6.328 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.72e-07/0.144, allocations: 0 / 0.562 GB, free: 6.328 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.144, allocations: 0 / 0.562 GB, free: 6.328 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.695e-06/0.144, allocations: 7.984 kB / 0.562 GB, free: 6.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/0.144, allocations: 4 kB / 0.562 GB, free: 6.316 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.144, allocations: 0 / 0.562 GB, free: 6.316 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000111/0.1442, allocations: 169.2 kB / 0.5622 GB, free: 6.129 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.529e-05/0.1442, allocations: 85.05 kB / 0.5623 GB, free: 6.027 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.222e-05/0.1442, allocations: 3.938 kB / 0.5623 GB, free: 6.023 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.828e-05/0.1443, allocations: 4 kB / 0.5623 GB, free: 6.02 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.145e-05/0.1443, allocations: 4.031 kB / 0.5623 GB, free: 6.016 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-06/0.1443, allocations: 0 / 0.5623 GB, free: 6.016 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.302e-05/0.1444, allocations: 91.2 kB / 0.5624 GB, free: 5.926 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1444, allocations: 0 / 0.5624 GB, free: 5.926 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002522/0.1446, allocations: 16 kB / 0.5624 GB, free: 5.91 MB / 430.1 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.0001669/0.1448, allocations: 99.25 kB / 0.5625 GB, free: 5.805 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001255/0.1449, allocations: 83.77 kB / 0.5625 GB, free: 5.711 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.145, allocations: 4.062 kB / 0.5625 GB, free: 5.707 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.147e-05/0.145, allocations: 59.39 kB / 0.5626 GB, free: 5.637 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002094/0.1452, allocations: 4 kB / 0.5626 GB, free: 5.633 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002125/0.1454, allocations: 113.7 kB / 0.5627 GB, free: 5.5 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002468/0.1457, allocations: 0.6809 MB / 0.5634 GB, free: 4.793 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.121e-05/0.1458, allocations: 12.23 kB / 0.5634 GB, free: 4.777 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.561e-05/0.1458, allocations: 11.44 kB / 0.5634 GB, free: 4.766 MB / 430.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1458, allocations: 0 / 0.5634 GB, free: 4.766 MB / 430.1 MB Notification: Performance of Templates: time 0.002577/0.1484, allocations: 489.9 kB / 0.5639 GB, free: 4.297 MB / 430.1 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)