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.695/1.695, allocations: 285.6 MB / 293.1 MB, free: 10.21 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.00134/0.00134, allocations: 176.8 kB / 361.4 MB, free: 6.809 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.596/1.596, allocations: 205.2 MB / 0.62 GB, free: 11.64 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001154/0.001155, allocations: 93.48 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.119e-05/3.122e-05, allocations: 11.98 kB / 0.8518 GB, free: 2.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7575/0.7575, allocations: 115.3 MB / 0.9644 GB, free: 78.8 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2028/0.9603, allocations: 136.5 MB / 1.098 GB, free: 3.324 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002339/0.9606, allocations: 76.98 kB / 1.098 GB, free: 3.25 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.001334/0.962, allocations: 479.4 kB / 1.098 GB, free: 2.785 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.264e-06/0.962, allocations: 2.125 kB / 1.098 GB, free: 2.785 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.233e-06/0.962, allocations: 0 / 1.098 GB, free: 2.785 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.0003169/0.9624, allocations: 312.1 kB / 1.099 GB, free: 2.441 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.9624, allocations: 10.98 kB / 1.099 GB, free: 2.434 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.272e-05/0.9625, allocations: 5.562 kB / 1.099 GB, free: 2.43 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.713e-05/0.9626, allocations: 163.6 kB / 1.099 GB, free: 2.23 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-06/0.9626, allocations: 0 / 1.099 GB, free: 2.23 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.24e-05/0.9626, allocations: 4.594 kB / 1.099 GB, free: 2.227 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.657e-05/0.9626, allocations: 0 / 1.099 GB, free: 2.227 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.912e-05/0.9627, allocations: 30.36 kB / 1.099 GB, free: 2.191 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.9627, allocations: 0.5625 kB / 1.099 GB, free: 2.191 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.9627, allocations: 0.7188 kB / 1.099 GB, free: 2.191 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.9628, allocations: 0 / 1.099 GB, free: 2.191 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000109/0.9629, allocations: 130.9 kB / 1.099 GB, free: 2.027 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.563e-05/0.9629, allocations: 24.59 kB / 1.099 GB, free: 1.996 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.038e-05/0.963, allocations: 8.953 kB / 1.099 GB, free: 1.984 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.235e-05/0.963, allocations: 0.8438 kB / 1.099 GB, free: 1.984 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/0.963, allocations: 35.06 kB / 1.099 GB, free: 1.941 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 9.71e-07/0.963, allocations: 0.8438 kB / 1.099 GB, free: 1.941 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001555/0.9632, allocations: 35.14 kB / 1.099 GB, free: 1.902 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.858e-05/0.9632, allocations: 55.39 kB / 1.099 GB, free: 1.836 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.068e-05/0.9633, allocations: 85 kB / 1.099 GB, free: 1.746 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.097e-05/0.9633, allocations: 25.7 kB / 1.099 GB, free: 1.715 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.362e-05/0.9633, allocations: 80.8 kB / 1.099 GB, free: 1.633 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.523e-05/0.9633, allocations: 1.406 kB / 1.099 GB, free: 1.633 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-06/0.9633, allocations: 2.812 kB / 1.099 GB, free: 1.633 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.9635, allocations: 310.8 kB / 1.099 GB, free: 1.32 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.486e-06/0.9635, allocations: 8.719 kB / 1.1 GB, free: 1.312 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.689e-06/0.9635, allocations: 0.5938 kB / 1.1 GB, free: 1.312 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.313e-05/0.9635, allocations: 0.6875 kB / 1.1 GB, free: 1.312 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.9635, allocations: 3.828 kB / 1.1 GB, free: 1.312 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.438e-05/0.9636, allocations: 42.38 kB / 1.1 GB, free: 1.266 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.9636, allocations: 9.172 kB / 1.1 GB, free: 1.258 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.9636, allocations: 0 / 1.1 GB, free: 1.258 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.9637, allocations: 0.625 kB / 1.1 GB, free: 1.258 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.141e-05/0.9637, allocations: 4.719 kB / 1.1 GB, free: 1.254 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.9637, allocations: 0 / 1.1 GB, free: 1.254 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.619e-05/0.9637, allocations: 8.375 kB / 1.1 GB, free: 1.246 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.344e-05/0.9638, allocations: 0 / 1.1 GB, free: 1.246 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 () * 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.177e-05/0.9638, allocations: 106.5 kB / 1.1 GB, free: 1.137 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.571e-06/0.9638, allocations: 0 / 1.1 GB, free: 1.137 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001166/0.964, allocations: 48.64 kB / 1.1 GB, free: 1.086 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.964, allocations: 0.5312 kB / 1.1 GB, free: 1.086 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.964, allocations: 6.125 kB / 1.1 GB, free: 1.082 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.964, allocations: 0 / 1.1 GB, free: 1.082 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.519e-05/0.9641, allocations: 123.2 kB / 1.1 GB, free: 0.9258 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.9641, allocations: 3.984 kB / 1.1 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.596e-05/0.9641, allocations: 4 kB / 1.1 GB, free: 0.918 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.9641, allocations: 0.875 kB / 1.1 GB, free: 0.918 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.9641, allocations: 0 / 1.1 GB, free: 0.918 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.9641, allocations: 2.719 kB / 1.1 GB, free: 0.918 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.9641, allocations: 3.953 kB / 1.1 GB, free: 0.9141 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.835e-05/0.9642, allocations: 61.12 kB / 1.1 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.901e-05/0.9643, allocations: 77.11 kB / 1.1 GB, free: 0.7422 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.478e-05/0.9643, allocations: 6.031 kB / 1.1 GB, free: 0.7422 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.063e-05/0.9643, allocations: 4.594 kB / 1.1 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.111e-05/0.9643, allocations: 0 / 1.1 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.9643, allocations: 7.953 kB / 1.1 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.224e-05/0.9644, allocations: 75.28 kB / 1.1 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9644, allocations: 0 / 1.1 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002015/0.9646, allocations: 4 kB / 1.1 GB, free: 0.6523 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 () * 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.0001689/0.9648, allocations: 108.1 kB / 1.1 GB, free: 0.543 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 6.035e-05/0.9648, allocations: 11.27 kB / 1.1 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.9648, allocations: 3.938 kB / 1.1 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 7.154e-06/0.9648, allocations: 4 kB / 1.1 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.126e-05/0.9649, allocations: 0 / 1.1 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001344/0.9651, allocations: 49.09 kB / 1.1 GB, free: 468 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002078/0.9653, allocations: 0.6729 MB / 1.101 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.775e-05/0.9653, allocations: 4 kB / 1.101 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.981e-05/0.9654, allocations: 7.438 kB / 1.101 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of SimCode: time 2.31e-07/0.9654, allocations: 3.938 kB / 1.101 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of Templates: time 0.002117/0.9675, allocations: 277.2 kB / 1.101 GB, free: 15.5 MB / 0.7136 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)