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.00143/0.00143, allocations: 105.1 kB / 16.4 MB, free: 6.449 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.001196/0.001196, allocations: 196 kB / 17.34 MB, free: 5.719 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.49/1.49, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7672/0.7672, allocations: 115.3 MB / 406.5 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 74.95 kB / 0.5577 GB, free: 32.12 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1745/0.1758, allocations: 76.17 MB / 0.6321 GB, free: 4.352 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.002165/0.178, allocations: 0.5749 MB / 0.6327 GB, free: 3.781 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002788/0.1783, allocations: 27.89 kB / 0.6327 GB, free: 3.754 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.702e-05/0.1784, allocations: 4 kB / 0.6327 GB, free: 3.75 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.326e-05/0.1784, allocations: 3.984 kB / 0.6327 GB, free: 3.746 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.732e-05/0.1785, allocations: 7.984 kB / 0.6327 GB, free: 3.738 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002521/0.1787, allocations: 8 kB / 0.6327 GB, free: 3.73 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 9.773e-05/0.1788, allocations: 11.98 kB / 0.6327 GB, free: 3.719 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.152e-05/0.1789, allocations: 3.938 kB / 0.6327 GB, free: 3.715 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.416e-05/0.1789, allocations: 0 / 0.6327 GB, free: 3.715 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.306e-05/0.179, allocations: 7.938 kB / 0.6328 GB, free: 3.707 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.327e-05/0.179, allocations: 0 / 0.6328 GB, free: 3.707 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.636e-05/0.1791, allocations: 23.92 kB / 0.6328 GB, free: 3.684 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 3.528e-05/0.1791, allocations: 0 / 0.6328 GB, free: 3.684 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.033e-05/0.1792, allocations: 11.94 kB / 0.6328 GB, free: 3.672 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001196/0.1793, allocations: 27.89 kB / 0.6328 GB, free: 3.645 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1793, allocations: 0 / 0.6328 GB, free: 3.645 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1793, allocations: 0 / 0.6328 GB, free: 3.645 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.1793, allocations: 0 / 0.6328 GB, free: 3.645 MB / 478.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.0004001/0.1797, allocations: 353.3 kB / 0.6331 GB, free: 3.242 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.1798, allocations: 8.031 kB / 0.6332 GB, free: 3.234 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.773e-05/0.1798, allocations: 0.9375 kB / 0.6332 GB, free: 3.234 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.18, allocations: 168.3 kB / 0.6333 GB, free: 3.031 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.18, allocations: 4.375 kB / 0.6333 GB, free: 3.027 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.18, allocations: 384 / 0.6333 GB, free: 3.027 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.1801, allocations: 58.25 kB / 0.6334 GB, free: 2.965 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.1802, allocations: 192 / 0.6334 GB, free: 2.965 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.1802, allocations: 3.938 kB / 0.6334 GB, free: 2.961 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.123e-05/0.1802, allocations: 15.92 kB / 0.6334 GB, free: 2.945 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.217e-05/0.1803, allocations: 19.98 kB / 0.6334 GB, free: 2.926 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003713/0.1807, allocations: 268.8 kB / 0.6337 GB, free: 2.613 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.88e-05/0.1807, allocations: 22.56 kB / 0.6337 GB, free: 2.582 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.918e-05/0.1807, allocations: 8.859 kB / 0.6337 GB, free: 2.57 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.356e-06/0.1808, allocations: 0 / 0.6337 GB, free: 2.57 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.1808, allocations: 34.5 kB / 0.6337 GB, free: 2.527 MB / 478.1 MB Notification: Performance of pre-optimization done (n=1): time 1.202e-06/0.1808, allocations: 4.062 kB / 0.6337 GB, free: 2.523 MB / 478.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001968/0.181, allocations: 67.3 kB / 0.6338 GB, free: 2.445 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.484e-05/0.1811, allocations: 81.23 kB / 0.6339 GB, free: 2.348 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.1812, allocations: 113.8 kB / 0.634 GB, free: 2.227 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.1812, allocations: 29.7 kB / 0.634 GB, free: 2.191 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.709e-05/0.1813, allocations: 95.8 kB / 0.6341 GB, free: 2.094 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.306e-05/0.1813, allocations: 11.98 kB / 0.6341 GB, free: 2.082 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.564e-05/0.1814, allocations: 25.97 kB / 0.6341 GB, free: 2.051 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.1815, allocations: 314.8 kB / 0.6344 GB, free: 1.734 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.77e-05/0.1815, allocations: 11.98 kB / 0.6345 GB, free: 1.723 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.601e-05/0.1816, allocations: 62.8 kB / 0.6345 GB, free: 1.637 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001146/0.1817, allocations: 134.2 kB / 0.6346 GB, free: 1.469 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1817, allocations: 0 / 0.6346 GB, free: 1.469 MB / 478.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001625/0.1819, allocations: 127.4 kB / 0.6348 GB, free: 1.332 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.915e-05/0.1819, allocations: 39.2 kB / 0.6348 GB, free: 1.289 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.182, allocations: 3.938 kB / 0.6348 GB, free: 1.285 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.182, allocations: 4 kB / 0.6348 GB, free: 1.281 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.582e-05/0.1821, allocations: 15.92 kB / 0.6348 GB, free: 1.266 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.1821, allocations: 4 kB / 0.6348 GB, free: 1.262 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.848e-05/0.1822, allocations: 11.84 kB / 0.6348 GB, free: 1.25 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.462e-05/0.1822, allocations: 4 kB / 0.6348 GB, free: 1.246 MB / 478.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001105/0.1823, allocations: 147.5 kB / 0.635 GB, free: 1.086 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.594e-05/0.1823, allocations: 8.047 kB / 0.635 GB, free: 1.078 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.258e-05/0.1824, allocations: 11.52 kB / 0.635 GB, free: 1.062 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1824, allocations: 0 / 0.635 GB, free: 1.062 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1824, allocations: 0 / 0.635 GB, free: 1.062 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1824, allocations: 0 / 0.635 GB, free: 1.062 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001942/0.1826, allocations: 157.6 kB / 0.6352 GB, free: 0.8594 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1826, allocations: 0 / 0.6352 GB, free: 0.8594 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.1826, allocations: 0 / 0.6352 GB, free: 0.8594 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.1826, allocations: 0 / 0.6352 GB, free: 0.8594 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.1826, allocations: 7.938 kB / 0.6352 GB, free: 0.8516 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1826, allocations: 0 / 0.6352 GB, free: 0.8516 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1826, allocations: 4 kB / 0.6352 GB, free: 0.8477 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001421/0.1828, allocations: 165.2 kB / 0.6353 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.862e-05/0.1828, allocations: 81.02 kB / 0.6354 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.1828, allocations: 4 kB / 0.6354 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.361e-05/0.1829, allocations: 0 / 0.6354 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.726e-05/0.1829, allocations: 0 / 0.6354 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.275e-06/0.183, allocations: 4 kB / 0.6354 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of sorting global known variables: time 6.763e-05/0.183, allocations: 95.77 kB / 0.6355 GB, free: 476 kB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.183, allocations: 0 / 0.6355 GB, free: 476 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.000271/0.1833, allocations: 11.94 kB / 0.6355 GB, free: 464 kB / 478.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 (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.000182/0.1835, allocations: 107.2 kB / 0.6356 GB, free: 348 kB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0001605/0.1837, allocations: 87.27 kB / 0.6357 GB, free: 248 kB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.1837, allocations: 0.5 kB / 0.6357 GB, free: 248 kB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 3.332e-05/0.1837, allocations: 59.41 kB / 0.6358 GB, free: 176 kB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002181/0.1839, allocations: 4 kB / 0.6358 GB, free: 172 kB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002898/0.1842, allocations: 109 kB / 0.6359 GB, free: 36 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002703/0.1845, allocations: 0.6806 MB / 0.6365 GB, free: 15.33 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001082/0.1846, allocations: 15.97 kB / 0.6365 GB, free: 15.31 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.657e-05/0.1847, allocations: 7.438 kB / 0.6365 GB, free: 15.3 MB / 494.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1847, allocations: 4.062 kB / 0.6366 GB, free: 15.3 MB / 494.1 MB Notification: Performance of Templates: time 0.002797/0.1875, allocations: 0.5309 MB / 0.6371 GB, free: 14.77 MB / 494.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)