Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.589/1.589, allocations: 288.4 MB / 304.3 MB, free: 8.008 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009733/0.0009733, allocations: 172.5 kB / 373 MB, free: 10.14 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.436/1.436, allocations: 205.4 MB / 0.6317 GB, free: 9.914 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008226/0.0008226, allocations: 98.22 kB / 0.745 GB, free: 5.832 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005904/0.0005906, allocations: 14.59 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.193/0.1936, allocations: 115.3 MB / 0.9807 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5607/0.7543, allocations: 137.3 MB / 1.115 GB, free: 16.66 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002404/0.7546, allocations: 73.94 kB / 1.115 GB, free: 16.66 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00146/0.7561, allocations: 490.2 kB / 1.115 GB, free: 32.34 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.154e-06/0.7561, allocations: 0 / 1.115 GB, free: 32.34 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.117e-06/0.7561, allocations: 0.6875 kB / 1.115 GB, free: 32.34 MB / 0.698 GB 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.0002145/0.7564, allocations: 310.3 kB / 1.116 GB, free: 32 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.7564, allocations: 15.5 kB / 1.116 GB, free: 31.99 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.246e-05/0.7564, allocations: 0.9375 kB / 1.116 GB, free: 31.99 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.863e-05/0.7565, allocations: 163.7 kB / 1.116 GB, free: 31.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.7565, allocations: 384 / 1.116 GB, free: 31.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/0.7565, allocations: 384 / 1.116 GB, free: 31.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.665e-05/0.7566, allocations: 34.11 kB / 1.116 GB, free: 31.76 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.7567, allocations: 192 / 1.116 GB, free: 31.76 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.7567, allocations: 3.938 kB / 1.116 GB, free: 31.76 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.7567, allocations: 0 / 1.116 GB, free: 31.76 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.162e-05/0.7567, allocations: 10.92 kB / 1.116 GB, free: 31.75 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001098/0.7568, allocations: 145.6 kB / 1.116 GB, free: 31.57 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 2.976e-05/0.7569, allocations: 21.83 kB / 1.116 GB, free: 31.54 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.378e-05/0.7569, allocations: 4.859 kB / 1.116 GB, free: 31.54 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.078e-05/0.7569, allocations: 4 kB / 1.116 GB, free: 31.53 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.7569, allocations: 37.5 kB / 1.116 GB, free: 31.49 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 8.81e-07/0.7569, allocations: 0 / 1.116 GB, free: 31.49 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001181/0.7571, allocations: 41.08 kB / 1.116 GB, free: 31.45 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/0.7571, allocations: 53.81 kB / 1.116 GB, free: 31.39 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.242e-05/0.7572, allocations: 89.86 kB / 1.116 GB, free: 31.29 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.022e-05/0.7572, allocations: 25.7 kB / 1.116 GB, free: 31.26 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.437e-05/0.7572, allocations: 80.27 kB / 1.116 GB, free: 31.18 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.628e-05/0.7572, allocations: 7.969 kB / 1.116 GB, free: 31.18 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.385e-06/0.7572, allocations: 0 / 1.116 GB, free: 31.18 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.7574, allocations: 314 kB / 1.117 GB, free: 30.86 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.486e-06/0.7574, allocations: 0 / 1.117 GB, free: 30.86 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.611e-06/0.7574, allocations: 3.375 kB / 1.117 GB, free: 30.86 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.137e-05/0.7574, allocations: 8.672 kB / 1.117 GB, free: 30.86 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.7574, allocations: 0 / 1.117 GB, free: 30.86 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.874e-05/0.7575, allocations: 38.17 kB / 1.117 GB, free: 30.82 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.7575, allocations: 10.64 kB / 1.117 GB, free: 30.82 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.7575, allocations: 0 / 1.117 GB, free: 30.82 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.7575, allocations: 3.938 kB / 1.117 GB, free: 30.81 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.562e-05/0.7576, allocations: 3.844 kB / 1.117 GB, free: 30.81 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.7576, allocations: 0 / 1.117 GB, free: 30.81 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.334e-05/0.7576, allocations: 3.938 kB / 1.117 GB, free: 30.81 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.7576, allocations: 0 / 1.117 GB, free: 30.81 MB / 0.698 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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.465e-05/0.7577, allocations: 114.3 kB / 1.117 GB, free: 30.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.342e-06/0.7577, allocations: 2.531 kB / 1.117 GB, free: 30.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.057e-05/0.7578, allocations: 50.66 kB / 1.117 GB, free: 30.65 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.7578, allocations: 5.844 kB / 1.117 GB, free: 30.65 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.7578, allocations: 0 / 1.117 GB, free: 30.65 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.7578, allocations: 0 / 1.117 GB, free: 30.65 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.214e-05/0.7579, allocations: 156.4 kB / 1.117 GB, free: 30.46 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.7579, allocations: 0 / 1.117 GB, free: 30.46 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.638e-05/0.7579, allocations: 7 kB / 1.117 GB, free: 30.46 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.7579, allocations: 4.031 kB / 1.117 GB, free: 30.45 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.009e-06/0.7579, allocations: 3.938 kB / 1.117 GB, free: 30.45 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.7579, allocations: 0 / 1.117 GB, free: 30.45 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.7579, allocations: 0 / 1.117 GB, free: 30.45 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.968e-05/0.758, allocations: 59.22 kB / 1.117 GB, free: 30.39 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.379e-05/0.758, allocations: 77.11 kB / 1.117 GB, free: 30.29 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.074e-05/0.758, allocations: 3.938 kB / 1.117 GB, free: 30.29 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.09e-05/0.7581, allocations: 0 / 1.117 GB, free: 30.29 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.188e-05/0.7581, allocations: 11.78 kB / 1.117 GB, free: 30.28 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-06/0.7581, allocations: 0 / 1.117 GB, free: 30.28 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.253e-05/0.7581, allocations: 75.28 kB / 1.117 GB, free: 30.21 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.71e-07/0.7581, allocations: 0 / 1.117 GB, free: 30.21 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000201/0.7583, allocations: 7.781 kB / 1.117 GB, free: 30.2 MB / 0.698 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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001343/0.7585, allocations: 107.9 kB / 1.117 GB, free: 30.12 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 6.286e-05/0.7585, allocations: 3.875 kB / 1.117 GB, free: 30.12 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.7585, allocations: 6.5 kB / 1.117 GB, free: 30.11 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 6.812e-06/0.7586, allocations: 0 / 1.117 GB, free: 30.11 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001331/0.7587, allocations: 3.844 kB / 1.117 GB, free: 30.11 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001514/0.7589, allocations: 78.56 kB / 1.117 GB, free: 30.02 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002386/0.7591, allocations: 0.6692 MB / 1.118 GB, free: 29.32 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.608e-05/0.7591, allocations: 7.938 kB / 1.118 GB, free: 29.32 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.608e-05/0.7592, allocations: 11.38 kB / 1.118 GB, free: 29.31 MB / 0.698 GB Notification: Performance of SimCode: time 2e-07/0.7592, allocations: 0 / 1.118 GB, free: 29.31 MB / 0.698 GB Notification: Performance of Templates: time 0.001771/0.7609, allocations: 283.3 kB / 1.118 GB, free: 29.26 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)