Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynominal.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.Examples.Polynominal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynominal") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.Polynominal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynominal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7208/0.7208, allocations: 128.7 MB / 144.5 MB, free: 1.348 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.001151/0.00115, allocations: 188.9 kB / 174.2 MB, free: 5.926 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.641/1.641, allocations: 205 MB / 408.9 MB, free: 9.691 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.0011/0.001099, allocations: 104.4 kB / 485.1 MB, free: 13.57 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 52.81 kB / 0.558 GB, free: 97.57 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1663/0.1675, allocations: 75.48 MB / 0.6317 GB, free: 33.03 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Polynominal): time 0.002531/0.1701, allocations: 1.492 MB / 0.6331 GB, free: 31.52 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003207/0.1705, allocations: 91.81 kB / 0.6332 GB, free: 31.43 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.176e-05/0.1705, allocations: 0 / 0.6332 GB, free: 31.43 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 7.828e-05/0.1706, allocations: 3.938 kB / 0.6332 GB, free: 31.43 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 3.54e-05/0.1706, allocations: 0 / 0.6332 GB, free: 31.43 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002243/0.1709, allocations: 23.91 kB / 0.6332 GB, free: 31.4 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 5.741e-05/0.1709, allocations: 27.92 kB / 0.6333 GB, free: 31.38 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.796e-05/0.171, allocations: 4 kB / 0.6333 GB, free: 31.37 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.584e-05/0.1711, allocations: 11.94 kB / 0.6333 GB, free: 31.36 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.634e-05/0.1711, allocations: 7.984 kB / 0.6333 GB, free: 31.35 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.317e-05/0.1712, allocations: 0 / 0.6333 GB, free: 31.35 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.664e-05/0.1713, allocations: 19.92 kB / 0.6333 GB, free: 31.33 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 4.45e-05/0.1713, allocations: 15.92 kB / 0.6333 GB, free: 31.32 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.573e-05/0.1713, allocations: 3.938 kB / 0.6333 GB, free: 31.31 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001085/0.1714, allocations: 43.88 kB / 0.6334 GB, free: 31.27 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.1715, allocations: 0 / 0.6334 GB, free: 31.27 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1715, allocations: 4 kB / 0.6334 GB, free: 31.27 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.1715, allocations: 0 / 0.6334 GB, free: 31.27 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000452/0.1719, allocations: 339.8 kB / 0.6337 GB, free: 30.88 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.172, allocations: 8.031 kB / 0.6337 GB, free: 30.88 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.438e-05/0.172, allocations: 4.938 kB / 0.6337 GB, free: 30.87 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.676e-05/0.1721, allocations: 168.2 kB / 0.6339 GB, free: 30.67 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.1721, allocations: 384 / 0.6339 GB, free: 30.67 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.562e-05/0.1722, allocations: 8.359 kB / 0.6339 GB, free: 30.66 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.1723, allocations: 50.25 kB / 0.6339 GB, free: 30.61 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.1724, allocations: 192 / 0.6339 GB, free: 30.61 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-06/0.1724, allocations: 11.91 kB / 0.6339 GB, free: 30.59 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.1724, allocations: 0 / 0.6339 GB, free: 30.59 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001585/0.1725, allocations: 43.91 kB / 0.634 GB, free: 30.55 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002731/0.1728, allocations: 245 kB / 0.6342 GB, free: 30.26 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001186/0.173, allocations: 50.48 kB / 0.6343 GB, free: 30.2 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.375e-05/0.173, allocations: 24.91 kB / 0.6343 GB, free: 30.18 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.899e-05/0.1731, allocations: 4 kB / 0.6343 GB, free: 30.17 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.699e-05/0.1731, allocations: 34.5 kB / 0.6343 GB, free: 30.13 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.1731, allocations: 0 / 0.6343 GB, free: 30.13 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003324/0.1735, allocations: 89.64 kB / 0.6344 GB, free: 30.04 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.138e-05/0.1735, allocations: 51.41 kB / 0.6345 GB, free: 29.97 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.161e-05/0.1736, allocations: 105.8 kB / 0.6346 GB, free: 29.86 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.733e-06/0.1736, allocations: 25.7 kB / 0.6346 GB, free: 29.83 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.807e-05/0.1736, allocations: 84.14 kB / 0.6347 GB, free: 29.74 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.716e-05/0.1736, allocations: 7.906 kB / 0.6347 GB, free: 29.73 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.739e-05/0.1737, allocations: 17.83 kB / 0.6347 GB, free: 29.71 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.528e-05/0.1737, allocations: 318.8 kB / 0.635 GB, free: 29.39 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.814e-05/0.1738, allocations: 11.98 kB / 0.635 GB, free: 29.38 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.875e-05/0.1739, allocations: 23.97 kB / 0.635 GB, free: 29.36 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001381/0.174, allocations: 40.77 kB / 0.6351 GB, free: 29.31 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.174, allocations: 4.062 kB / 0.6351 GB, free: 29.31 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001687/0.1742, allocations: 81.47 kB / 0.6352 GB, free: 29.22 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.1742, allocations: 4 kB / 0.6352 GB, free: 29.22 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.1742, allocations: 0 / 0.6352 GB, free: 29.22 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.1743, allocations: 0 / 0.6352 GB, free: 29.22 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.149e-05/0.1743, allocations: 11.98 kB / 0.6352 GB, free: 29.21 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.1744, allocations: 3.984 kB / 0.6352 GB, free: 29.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.446e-05/0.1744, allocations: 16.02 kB / 0.6352 GB, free: 29.19 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.1744, allocations: 256 / 0.6352 GB, free: 29.19 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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 4.977e-05/0.1745, allocations: 113.8 kB / 0.6353 GB, free: 29.07 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.228e-05/0.1745, allocations: 3.906 kB / 0.6353 GB, free: 29.06 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002047/0.1747, allocations: 77.12 kB / 0.6354 GB, free: 28.98 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.1747, allocations: 4 kB / 0.6354 GB, free: 28.98 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.1747, allocations: 4 kB / 0.6354 GB, free: 28.98 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.1747, allocations: 4.031 kB / 0.6354 GB, free: 28.97 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001066/0.1748, allocations: 161.6 kB / 0.6355 GB, free: 28.77 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1749, allocations: 4 kB / 0.6355 GB, free: 28.76 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.011e-05/0.1749, allocations: 7.984 kB / 0.6355 GB, free: 28.75 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.1749, allocations: 0 / 0.6355 GB, free: 28.75 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.132e-06/0.1749, allocations: 0 / 0.6355 GB, free: 28.75 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.1749, allocations: 0 / 0.6355 GB, free: 28.75 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1749, allocations: 4 kB / 0.6356 GB, free: 28.75 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004127/0.1754, allocations: 0.7318 MB / 0.6363 GB, free: 27.96 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.811e-05/0.1754, allocations: 81.02 kB / 0.6363 GB, free: 27.86 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.099e-05/0.1754, allocations: 0 / 0.6363 GB, free: 27.86 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.086e-05/0.1755, allocations: 7.984 kB / 0.6364 GB, free: 27.86 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.746e-05/0.1755, allocations: 4.031 kB / 0.6364 GB, free: 27.85 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.1755, allocations: 3.938 kB / 0.6364 GB, free: 27.85 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.783e-05/0.1756, allocations: 95.2 kB / 0.6365 GB, free: 27.75 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1756, allocations: 0 / 0.6365 GB, free: 27.75 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003046/0.1759, allocations: 11.94 kB / 0.6365 GB, free: 27.74 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 (2): * Single equations (assignments): 2 * 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.0001266/0.176, allocations: 95.25 kB / 0.6366 GB, free: 27.64 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001986/0.1762, allocations: 47.95 kB / 0.6366 GB, free: 27.59 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1762, allocations: 4 kB / 0.6366 GB, free: 27.59 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 7.617e-05/0.1763, allocations: 15.98 kB / 0.6366 GB, free: 27.57 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002803/0.1766, allocations: 10.73 kB / 0.6366 GB, free: 27.56 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003039/0.1769, allocations: 218.2 kB / 0.6368 GB, free: 27.31 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001112/0.177, allocations: 0.6888 MB / 0.6375 GB, free: 26.59 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.285e-05/0.1771, allocations: 0 / 0.6375 GB, free: 26.59 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.631e-05/0.1771, allocations: 11.44 kB / 0.6375 GB, free: 26.58 MB / 442.7 MB Notification: Performance of SimCode: time 2.11e-07/0.1771, allocations: 0 / 0.6375 GB, free: 26.58 MB / 442.7 MB Notification: Performance of Templates: time 0.00225/0.1793, allocations: 0.4928 MB / 0.638 GB, free: 26.1 MB / 442.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynominal.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynominal.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynominal.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynominal.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynominal.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynominal -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynominal.pipe 2>&1)