Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7456/0.7456, allocations: 128.7 MB / 144.5 MB, free: 1.371 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001276/0.001276, allocations: 178.9 kB / 174.2 MB, free: 5.922 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.601/1.601, allocations: 205 MB / 408.9 MB, free: 9.656 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00106/0.00106, allocations: 102 kB / 485.1 MB, free: 13.56 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 52.81 kB / 0.558 GB, free: 97.56 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1651/0.1663, allocations: 75.47 MB / 0.6317 GB, free: 33 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001829/0.1682, allocations: 0.6448 MB / 0.6323 GB, free: 32.35 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002943/0.1685, allocations: 45.19 kB / 0.6324 GB, free: 32.3 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.036e-05/0.1685, allocations: 0 / 0.6324 GB, free: 32.3 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.639e-05/0.1685, allocations: 0 / 0.6324 GB, free: 32.3 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 3.823e-05/0.1686, allocations: 0 / 0.6324 GB, free: 32.3 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001773/0.1688, allocations: 11.98 kB / 0.6324 GB, free: 32.29 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 5.504e-05/0.1688, allocations: 4 kB / 0.6324 GB, free: 32.29 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.64e-05/0.1689, allocations: 0 / 0.6324 GB, free: 32.29 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.36e-05/0.1689, allocations: 8 kB / 0.6324 GB, free: 32.28 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.304e-05/0.1689, allocations: 3.938 kB / 0.6324 GB, free: 32.28 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.169, allocations: 0 / 0.6324 GB, free: 32.28 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.631e-05/0.1691, allocations: 19.98 kB / 0.6324 GB, free: 32.26 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 3.574e-05/0.1691, allocations: 7.984 kB / 0.6324 GB, free: 32.25 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.822e-05/0.1691, allocations: 3.938 kB / 0.6324 GB, free: 32.25 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 9.782e-05/0.1692, allocations: 31.91 kB / 0.6325 GB, free: 32.21 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1693, allocations: 0 / 0.6325 GB, free: 32.21 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1693, allocations: 0 / 0.6325 GB, free: 32.21 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.577e-06/0.1693, allocations: 0 / 0.6325 GB, free: 32.21 MB / 442.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.0003181/0.1696, allocations: 353.3 kB / 0.6328 GB, free: 31.81 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.479e-05/0.1696, allocations: 11.97 kB / 0.6328 GB, free: 31.8 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.258e-05/0.1697, allocations: 0.9375 kB / 0.6328 GB, free: 31.8 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.873e-05/0.1698, allocations: 168.3 kB / 0.633 GB, free: 31.6 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.1698, allocations: 4.375 kB / 0.633 GB, free: 31.59 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.328e-05/0.1699, allocations: 384 / 0.633 GB, free: 31.59 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.17, allocations: 54.25 kB / 0.633 GB, free: 31.54 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.17, allocations: 192 / 0.633 GB, free: 31.54 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.17, allocations: 7.938 kB / 0.633 GB, free: 31.53 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.709e-05/0.1701, allocations: 15.97 kB / 0.633 GB, free: 31.51 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.545e-05/0.1701, allocations: 23.98 kB / 0.6331 GB, free: 31.49 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002968/0.1704, allocations: 276.9 kB / 0.6333 GB, free: 31.17 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.822e-05/0.1705, allocations: 18.58 kB / 0.6333 GB, free: 31.14 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.669e-05/0.1705, allocations: 4.859 kB / 0.6333 GB, free: 31.13 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.459e-06/0.1705, allocations: 64 / 0.6333 GB, free: 31.13 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.772e-05/0.1705, allocations: 38.56 kB / 0.6334 GB, free: 31.09 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 7.81e-07/0.1705, allocations: 0 / 0.6334 GB, free: 31.09 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001605/0.1707, allocations: 71.33 kB / 0.6335 GB, free: 31 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.768e-05/0.1707, allocations: 81.11 kB / 0.6335 GB, free: 30.91 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.267e-05/0.1708, allocations: 113.8 kB / 0.6336 GB, free: 30.79 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.762e-06/0.1708, allocations: 25.7 kB / 0.6337 GB, free: 30.75 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.161e-05/0.1709, allocations: 107.8 kB / 0.6338 GB, free: 30.64 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.384e-06/0.1709, allocations: 0 / 0.6338 GB, free: 30.64 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.28e-05/0.1709, allocations: 29.75 kB / 0.6338 GB, free: 30.61 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.858e-05/0.171, allocations: 318.8 kB / 0.6341 GB, free: 30.29 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.185e-05/0.171, allocations: 11.98 kB / 0.6341 GB, free: 30.28 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.739e-05/0.171, allocations: 58.86 kB / 0.6342 GB, free: 30.2 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.149e-05/0.1711, allocations: 134.1 kB / 0.6343 GB, free: 30.03 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1711, allocations: 0 / 0.6343 GB, free: 30.03 MB / 442.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001071/0.1712, allocations: 119.2 kB / 0.6344 GB, free: 29.9 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.083e-05/0.1713, allocations: 36.05 kB / 0.6344 GB, free: 29.86 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.1713, allocations: 0 / 0.6344 GB, free: 29.86 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.1713, allocations: 4 kB / 0.6344 GB, free: 29.86 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.624e-05/0.1714, allocations: 19.92 kB / 0.6345 GB, free: 29.84 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.1714, allocations: 0 / 0.6345 GB, free: 29.84 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.989e-05/0.1715, allocations: 8.25 kB / 0.6345 GB, free: 29.83 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.506e-05/0.1715, allocations: 12 kB / 0.6345 GB, free: 29.82 MB / 442.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.311e-05/0.1716, allocations: 147.4 kB / 0.6346 GB, free: 29.66 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.671e-05/0.1716, allocations: 15.88 kB / 0.6346 GB, free: 29.64 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.036e-05/0.1716, allocations: 7.531 kB / 0.6346 GB, free: 29.64 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.1716, allocations: 0 / 0.6346 GB, free: 29.64 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.1716, allocations: 0 / 0.6346 GB, free: 29.64 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.1716, allocations: 0 / 0.6346 GB, free: 29.64 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000127/0.1718, allocations: 153.6 kB / 0.6348 GB, free: 29.44 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.1718, allocations: 0 / 0.6348 GB, free: 29.44 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.1718, allocations: 8 kB / 0.6348 GB, free: 29.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.1718, allocations: 0 / 0.6348 GB, free: 29.43 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.144e-06/0.1718, allocations: 3.938 kB / 0.6348 GB, free: 29.43 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.1718, allocations: 0 / 0.6348 GB, free: 29.43 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.1718, allocations: 0 / 0.6348 GB, free: 29.43 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002566/0.1721, allocations: 0.71 MB / 0.6355 GB, free: 28.65 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.068e-05/0.1721, allocations: 85.05 kB / 0.6356 GB, free: 28.55 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/0.1721, allocations: 7.938 kB / 0.6356 GB, free: 28.54 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.307e-05/0.1722, allocations: 4 kB / 0.6356 GB, free: 28.54 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.708e-05/0.1722, allocations: 0 / 0.6356 GB, free: 28.54 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.95e-06/0.1722, allocations: 4 kB / 0.6356 GB, free: 28.54 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.011e-05/0.1723, allocations: 87.34 kB / 0.6357 GB, free: 28.45 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.32e-07/0.1723, allocations: 0 / 0.6357 GB, free: 28.45 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003487/0.1726, allocations: 15.94 kB / 0.6357 GB, free: 28.43 MB / 442.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 (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.0001415/0.1728, allocations: 115.2 kB / 0.6358 GB, free: 28.31 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001093/0.1729, allocations: 87.33 kB / 0.6359 GB, free: 28.21 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1729, allocations: 0 / 0.6359 GB, free: 28.21 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.701e-05/0.1729, allocations: 55.41 kB / 0.6359 GB, free: 28.14 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001993/0.1731, allocations: 1.406 kB / 0.6359 GB, free: 28.14 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002305/0.1733, allocations: 210.3 kB / 0.6361 GB, free: 27.9 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000158/0.1735, allocations: 0.6809 MB / 0.6368 GB, free: 27.19 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 8.267e-05/0.1736, allocations: 19.66 kB / 0.6368 GB, free: 27.17 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.025e-05/0.1736, allocations: 11.44 kB / 0.6368 GB, free: 27.16 MB / 442.7 MB Notification: Performance of SimCode: time 2e-07/0.1736, allocations: 0 / 0.6368 GB, free: 27.16 MB / 442.7 MB Notification: Performance of Templates: time 0.003069/0.1767, allocations: 0.5182 MB / 0.6373 GB, free: 26.65 MB / 442.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)