Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial") translateModel(BuildingSystems.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 102 kB / 16.27 MB, free: 5.906 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.001206/0.001206, allocations: 192.2 kB / 17.2 MB, free: 5.539 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.311/1.311, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002359/0.002359, allocations: 285.2 kB / 291.3 MB, free: 14.55 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.164/1.164, allocations: 178.6 MB / 0.5079 GB, free: 12.89 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002618/0.002618, allocations: 99.84 kB / 0.6071 GB, free: 9.301 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1664, allocations: 89.13 MB / 0.6941 GB, free: 84 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Polynomial): time 0.002867/0.1693, allocations: 1.447 MB / 0.6956 GB, free: 14.62 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002735/0.1696, allocations: 88.59 kB / 0.6956 GB, free: 14.53 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.313e-05/0.1696, allocations: 4 kB / 0.6956 GB, free: 14.52 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 5.77e-05/0.1697, allocations: 3.938 kB / 0.6957 GB, free: 14.52 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.316e-05/0.1698, allocations: 3.938 kB / 0.6957 GB, free: 14.52 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002129/0.17, allocations: 19.97 kB / 0.6957 GB, free: 14.5 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.288e-05/0.17, allocations: 23.92 kB / 0.6957 GB, free: 14.47 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.049e-05/0.1701, allocations: 4 kB / 0.6957 GB, free: 14.47 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.896e-05/0.1702, allocations: 15.92 kB / 0.6957 GB, free: 14.45 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.444e-05/0.1702, allocations: 15.92 kB / 0.6957 GB, free: 14.44 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.678e-06/0.1702, allocations: 4 kB / 0.6957 GB, free: 14.43 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.464e-05/0.1703, allocations: 19.98 kB / 0.6958 GB, free: 14.41 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.365e-05/0.1704, allocations: 4 kB / 0.6958 GB, free: 14.41 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.477e-05/0.1704, allocations: 11.92 kB / 0.6958 GB, free: 14.4 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001124/0.1705, allocations: 39.89 kB / 0.6958 GB, free: 14.36 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.1705, allocations: 0 / 0.6958 GB, free: 14.36 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.372e-06/0.1705, allocations: 0 / 0.6958 GB, free: 14.36 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.1705, allocations: 0 / 0.6958 GB, free: 14.36 MB / 0.545 GB 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.0004965/0.171, allocations: 351.6 kB / 0.6961 GB, free: 13.96 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.994e-05/0.1711, allocations: 12.03 kB / 0.6962 GB, free: 13.95 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.739e-05/0.1711, allocations: 0.9375 kB / 0.6962 GB, free: 13.95 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.1712, allocations: 168.3 kB / 0.6963 GB, free: 13.75 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.1713, allocations: 4.375 kB / 0.6963 GB, free: 13.75 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.802e-06/0.1713, allocations: 384 / 0.6963 GB, free: 13.75 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001736/0.1715, allocations: 54.23 kB / 0.6964 GB, free: 13.69 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.433e-06/0.1715, allocations: 192 / 0.6964 GB, free: 13.69 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.1715, allocations: 3.938 kB / 0.6964 GB, free: 13.68 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.1715, allocations: 0 / 0.6964 GB, free: 13.68 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001659/0.1717, allocations: 39.95 kB / 0.6964 GB, free: 13.64 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003247/0.172, allocations: 252.9 kB / 0.6967 GB, free: 13.35 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001263/0.1721, allocations: 42.5 kB / 0.6967 GB, free: 13.3 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.31e-05/0.1722, allocations: 28.91 kB / 0.6967 GB, free: 13.27 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.94e-05/0.1723, allocations: 3.984 kB / 0.6967 GB, free: 13.26 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.1723, allocations: 38.5 kB / 0.6968 GB, free: 13.21 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.001e-06/0.1723, allocations: 0 / 0.6968 GB, free: 13.21 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003412/0.1727, allocations: 85.58 kB / 0.6968 GB, free: 13.12 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/0.1727, allocations: 55.41 kB / 0.6969 GB, free: 13.06 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.608e-05/0.1728, allocations: 110 kB / 0.697 GB, free: 12.94 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.1728, allocations: 25.7 kB / 0.697 GB, free: 12.91 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.875e-05/0.1729, allocations: 84.14 kB / 0.6971 GB, free: 12.82 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.61e-05/0.1729, allocations: 7.844 kB / 0.6971 GB, free: 12.82 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.317e-05/0.1729, allocations: 17.72 kB / 0.6971 GB, free: 12.79 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001742/0.1731, allocations: 310.8 kB / 0.6974 GB, free: 12.48 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.561e-05/0.1732, allocations: 27.91 kB / 0.6975 GB, free: 12.45 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.625e-05/0.1733, allocations: 19.98 kB / 0.6975 GB, free: 12.43 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001519/0.1735, allocations: 40.81 kB / 0.6975 GB, free: 12.39 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1735, allocations: 0 / 0.6975 GB, free: 12.39 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002225/0.1737, allocations: 77.8 kB / 0.6976 GB, free: 12.31 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.1737, allocations: 7.984 kB / 0.6976 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1737, allocations: 4.094 kB / 0.6976 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.1737, allocations: 4 kB / 0.6976 GB, free: 12.29 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.07e-05/0.1738, allocations: 8 kB / 0.6976 GB, free: 12.29 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.1738, allocations: 0 / 0.6976 GB, free: 12.29 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.998e-05/0.1739, allocations: 11.89 kB / 0.6976 GB, free: 12.27 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.188e-06/0.1739, allocations: 0 / 0.6976 GB, free: 12.27 MB / 0.545 GB 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 7.771e-05/0.174, allocations: 112.8 kB / 0.6977 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.412e-05/0.174, allocations: 4 kB / 0.6977 GB, free: 12.15 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002923/0.1743, allocations: 85.11 kB / 0.6978 GB, free: 12.06 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1743, allocations: 0 / 0.6978 GB, free: 12.06 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.1743, allocations: 0 / 0.6978 GB, free: 12.06 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.1743, allocations: 0 / 0.6978 GB, free: 12.06 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001688/0.1745, allocations: 165.6 kB / 0.698 GB, free: 11.85 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1745, allocations: 0 / 0.698 GB, free: 11.85 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.499e-05/0.1746, allocations: 8 kB / 0.698 GB, free: 11.84 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.1746, allocations: 0 / 0.698 GB, free: 11.84 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.1746, allocations: 8.031 kB / 0.698 GB, free: 11.84 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1746, allocations: 0 / 0.698 GB, free: 11.84 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.1746, allocations: 3.984 kB / 0.698 GB, free: 11.83 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002389/0.1749, allocations: 167.4 kB / 0.6982 GB, free: 11.65 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.94e-05/0.1749, allocations: 81.02 kB / 0.6982 GB, free: 11.55 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.128e-05/0.175, allocations: 0 / 0.6982 GB, free: 11.55 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.435e-05/0.175, allocations: 12.03 kB / 0.6982 GB, free: 11.54 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.562e-05/0.1751, allocations: 11.92 kB / 0.6983 GB, free: 11.53 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.776e-06/0.1751, allocations: 0 / 0.6983 GB, free: 11.53 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.371e-05/0.1751, allocations: 79.28 kB / 0.6983 GB, free: 11.45 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1751, allocations: 3.938 kB / 0.6983 GB, free: 11.45 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000221/0.1754, allocations: 12 kB / 0.6983 GB, free: 11.44 MB / 0.545 GB 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.0001459/0.1755, allocations: 107.2 kB / 0.6984 GB, free: 11.32 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002021/0.1757, allocations: 47.91 kB / 0.6985 GB, free: 11.28 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1757, allocations: 0 / 0.6985 GB, free: 11.28 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.714e-05/0.1758, allocations: 23.97 kB / 0.6985 GB, free: 11.25 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000232/0.1761, allocations: 7.938 kB / 0.6985 GB, free: 11.25 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002744/0.1764, allocations: 143.2 kB / 0.6987 GB, free: 11.07 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003595/0.1767, allocations: 0.6768 MB / 0.6993 GB, free: 10.37 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.197e-05/0.1768, allocations: 11.44 kB / 0.6993 GB, free: 10.36 MB / 0.545 GB Notification: Performance of SimCode: time 2.7e-07/0.1768, allocations: 0 / 0.6993 GB, free: 10.36 MB / 0.545 GB Notification: Performance of Templates: time 0.002116/0.1789, allocations: 0.6687 MB / 0.7 GB, free: 9.691 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe 2>&1)