Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001325/0.001325, allocations: 193.2 kB / 16.25 MB, free: 6.621 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.43/1.43, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002568/0.002568, allocations: 282.5 kB / 290.4 MB, free: 2.121 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.077/1.077, allocations: 178.6 MB / 0.5069 GB, free: 4.746 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002782/0.002782, allocations: 102.2 kB / 0.6059 GB, free: 24.9 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1677, allocations: 89.15 MB / 0.693 GB, free: 4.723 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial): time 0.001867/0.1696, allocations: 0.6427 MB / 0.6936 GB, free: 4.082 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002445/0.1698, allocations: 35.88 kB / 0.6936 GB, free: 4.047 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.221e-05/0.1699, allocations: 3.094 kB / 0.6937 GB, free: 4.047 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.71e-05/0.1699, allocations: 4 kB / 0.6937 GB, free: 4.043 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.39e-06/0.1699, allocations: 3.938 kB / 0.6937 GB, free: 4.039 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003041/0.1702, allocations: 11.92 kB / 0.6937 GB, free: 4.027 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.31e-05/0.1703, allocations: 7.938 kB / 0.6937 GB, free: 4.02 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.17e-05/0.1703, allocations: 0 / 0.6937 GB, free: 4.02 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.509e-05/0.1703, allocations: 0 / 0.6937 GB, free: 4.02 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.067e-05/0.1704, allocations: 4 kB / 0.6937 GB, free: 4.016 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.302e-05/0.1704, allocations: 5.125 kB / 0.6937 GB, free: 4.012 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.374e-05/0.1705, allocations: 11.98 kB / 0.6937 GB, free: 4 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.166e-05/0.1705, allocations: 4 kB / 0.6937 GB, free: 3.996 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.721e-05/0.1705, allocations: 0.6562 kB / 0.6937 GB, free: 3.996 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.021e-05/0.1706, allocations: 17.33 kB / 0.6937 GB, free: 3.98 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1706, allocations: 0 / 0.6937 GB, free: 3.98 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1707, allocations: 4 kB / 0.6937 GB, free: 3.977 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.1707, allocations: 0 / 0.6937 GB, free: 3.977 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003636/0.171, allocations: 319.6 kB / 0.694 GB, free: 3.613 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.1711, allocations: 8.031 kB / 0.694 GB, free: 3.605 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.083e-05/0.1711, allocations: 0.9375 kB / 0.694 GB, free: 3.605 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.1712, allocations: 168.3 kB / 0.6942 GB, free: 3.402 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.1713, allocations: 384 / 0.6942 GB, free: 3.402 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.674e-05/0.1713, allocations: 4.375 kB / 0.6942 GB, free: 3.398 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001094/0.1714, allocations: 30.2 kB / 0.6942 GB, free: 3.363 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.1714, allocations: 192 / 0.6942 GB, free: 3.363 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.1714, allocations: 3.938 kB / 0.6942 GB, free: 3.359 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1714, allocations: 4 kB / 0.6942 GB, free: 3.355 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.301e-05/0.1715, allocations: 4 kB / 0.6942 GB, free: 3.352 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001518/0.1716, allocations: 149.7 kB / 0.6944 GB, free: 3.156 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.322e-05/0.1717, allocations: 26.55 kB / 0.6944 GB, free: 3.121 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.825e-05/0.1717, allocations: 4.859 kB / 0.6944 GB, free: 3.113 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.44e-05/0.1717, allocations: 0 / 0.6944 GB, free: 3.113 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.1718, allocations: 38.62 kB / 0.6945 GB, free: 3.066 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.1718, allocations: 0 / 0.6945 GB, free: 3.066 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001427/0.1719, allocations: 41.62 kB / 0.6945 GB, free: 3.02 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.994e-05/0.172, allocations: 51.41 kB / 0.6945 GB, free: 2.957 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.054e-05/0.172, allocations: 89.86 kB / 0.6946 GB, free: 2.859 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/0.172, allocations: 25.7 kB / 0.6946 GB, free: 2.828 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.456e-05/0.1721, allocations: 80.14 kB / 0.6947 GB, free: 2.746 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.154e-05/0.1721, allocations: 7.906 kB / 0.6947 GB, free: 2.738 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-05/0.1722, allocations: 13.78 kB / 0.6947 GB, free: 2.719 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.1723, allocations: 314.8 kB / 0.695 GB, free: 2.402 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.699e-06/0.1723, allocations: 0 / 0.695 GB, free: 2.402 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.965e-06/0.1723, allocations: 8 kB / 0.6951 GB, free: 2.395 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.185e-05/0.1724, allocations: 8.859 kB / 0.6951 GB, free: 2.383 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.1724, allocations: 0 / 0.6951 GB, free: 2.383 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.62e-05/0.1724, allocations: 33.69 kB / 0.6951 GB, free: 2.344 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.1725, allocations: 7.938 kB / 0.6951 GB, free: 2.336 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.1725, allocations: 4.094 kB / 0.6951 GB, free: 2.332 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.1725, allocations: 7.938 kB / 0.6951 GB, free: 2.324 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.353e-05/0.1725, allocations: 0 / 0.6951 GB, free: 2.324 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/0.1726, allocations: 7.922 kB / 0.6951 GB, free: 2.316 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.286e-05/0.1726, allocations: 0 / 0.6951 GB, free: 2.316 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.648e-05/0.1726, allocations: 4 kB / 0.6951 GB, free: 2.312 MB / 494.1 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 (1): * Single equations (assignments): 1 * 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 8.259e-05/0.1727, allocations: 109.8 kB / 0.6952 GB, free: 2.195 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.262e-06/0.1727, allocations: 0 / 0.6952 GB, free: 2.195 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001096/0.1728, allocations: 48.77 kB / 0.6953 GB, free: 2.145 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.1728, allocations: 0 / 0.6953 GB, free: 2.145 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.1728, allocations: 0 / 0.6953 GB, free: 2.145 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.1728, allocations: 3.938 kB / 0.6953 GB, free: 2.141 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001145/0.173, allocations: 150 kB / 0.6954 GB, free: 1.945 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.173, allocations: 0 / 0.6954 GB, free: 1.945 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.935e-05/0.173, allocations: 7.984 kB / 0.6954 GB, free: 1.938 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.173, allocations: 0 / 0.6954 GB, free: 1.938 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.347e-06/0.173, allocations: 3.938 kB / 0.6954 GB, free: 1.934 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-06/0.173, allocations: 4.031 kB / 0.6954 GB, free: 1.93 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.173, allocations: 0 / 0.6954 GB, free: 1.93 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.634e-05/0.1731, allocations: 65.06 kB / 0.6955 GB, free: 1.848 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.062e-05/0.1731, allocations: 77.11 kB / 0.6956 GB, free: 1.754 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.292e-05/0.1732, allocations: 3.938 kB / 0.6956 GB, free: 1.75 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.079e-05/0.1732, allocations: 0 / 0.6956 GB, free: 1.75 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.744e-05/0.1732, allocations: 4 kB / 0.6956 GB, free: 1.746 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.1732, allocations: 4.031 kB / 0.6956 GB, free: 1.742 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.601e-05/0.1733, allocations: 75.28 kB / 0.6957 GB, free: 1.668 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1733, allocations: 0 / 0.6957 GB, free: 1.668 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001892/0.1734, allocations: 7.984 kB / 0.6957 GB, free: 1.66 MB / 494.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): 1 * 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.0001715/0.1736, allocations: 111.2 kB / 0.6958 GB, free: 1.539 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.255e-05/0.1737, allocations: 7.938 kB / 0.6958 GB, free: 1.531 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1737, allocations: 0 / 0.6958 GB, free: 1.531 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.274e-06/0.1737, allocations: 64 / 0.6958 GB, free: 1.531 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000133/0.1739, allocations: 8.062 kB / 0.6958 GB, free: 1.523 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001854/0.1741, allocations: 77.06 kB / 0.6959 GB, free: 1.426 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002937/0.1744, allocations: 0.669 MB / 0.6965 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.531e-05/0.1744, allocations: 4 kB / 0.6965 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.328e-05/0.1744, allocations: 11.44 kB / 0.6965 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1744, allocations: 0 / 0.6965 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of Templates: time 0.002525/0.177, allocations: 296.7 kB / 0.6968 GB, free: 436 kB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)