Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Polynominal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.Polynominal") translateModel(Buildings.Utilities.Math.Examples.Polynominal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.Polynominal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.674/1.674, allocations: 289.7 MB / 302.3 MB, free: 2.133 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.001165/0.001165, allocations: 183.3 kB / 371.6 MB, free: 3.375 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.65/1.65, allocations: 205.1 MB / 0.6309 GB, free: 11.78 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.0008541/0.0008542, allocations: 94.17 kB / 0.745 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.908e-05/3.91e-05, allocations: 4 kB / 0.8662 GB, free: 15.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2539/0.2539, allocations: 116.3 MB / 0.9798 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7536/1.008, allocations: 138.8 MB / 1.115 GB, free: 44.78 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001996/1.008, allocations: 73.25 kB / 1.115 GB, free: 44.75 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.002221/1.01, allocations: 0.773 MB / 1.116 GB, free: 44.19 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.684e-06/1.01, allocations: 0 / 1.116 GB, free: 44.19 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.453e-06/1.01, allocations: 0.5625 kB / 1.116 GB, free: 44.19 MB / 0.7448 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.0003107/1.01, allocations: 338 kB / 1.117 GB, free: 43.84 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/1.011, allocations: 16.09 kB / 1.117 GB, free: 43.82 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.194e-05/1.011, allocations: 4.344 kB / 1.117 GB, free: 43.82 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.726e-05/1.011, allocations: 163.1 kB / 1.117 GB, free: 43.62 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/1.011, allocations: 0.9375 kB / 1.117 GB, free: 43.62 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.38e-05/1.011, allocations: 3.266 kB / 1.117 GB, free: 43.62 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001084/1.011, allocations: 46.09 kB / 1.117 GB, free: 43.58 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/1.011, allocations: 2.062 kB / 1.117 GB, free: 43.58 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.228e-06/1.011, allocations: 0 / 1.117 GB, free: 43.58 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/1.011, allocations: 0.625 kB / 1.117 GB, free: 43.58 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.982e-05/1.011, allocations: 15.86 kB / 1.117 GB, free: 43.57 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003634/1.011, allocations: 281.3 kB / 1.117 GB, free: 43.28 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.812e-05/1.011, allocations: 29.55 kB / 1.117 GB, free: 43.25 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.798e-05/1.011, allocations: 23.97 kB / 1.117 GB, free: 43.23 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.69e-05/1.011, allocations: 0.8438 kB / 1.117 GB, free: 43.23 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.4e-05/1.011, allocations: 32.75 kB / 1.117 GB, free: 43.19 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.332e-06/1.011, allocations: 0 / 1.117 GB, free: 43.19 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001445/1.012, allocations: 44.67 kB / 1.117 GB, free: 43.15 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.454e-05/1.012, allocations: 55.41 kB / 1.117 GB, free: 43.08 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.176e-05/1.012, allocations: 98.23 kB / 1.117 GB, free: 42.99 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.388e-06/1.012, allocations: 33.73 kB / 1.117 GB, free: 42.95 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.313e-05/1.012, allocations: 85.17 kB / 1.117 GB, free: 42.87 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.77e-05/1.012, allocations: 7.844 kB / 1.117 GB, free: 42.86 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.347e-06/1.012, allocations: 0 / 1.117 GB, free: 42.86 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.016e-05/1.012, allocations: 321.2 kB / 1.118 GB, free: 42.54 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.933e-05/1.012, allocations: 10.94 kB / 1.118 GB, free: 42.54 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.48e-05/1.012, allocations: 7.938 kB / 1.118 GB, free: 42.53 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.032e-05/1.012, allocations: 7.125 kB / 1.118 GB, free: 42.52 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/1.012, allocations: 4.625 kB / 1.118 GB, free: 42.52 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.398e-05/1.012, allocations: 48.22 kB / 1.118 GB, free: 42.47 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/1.012, allocations: 4 kB / 1.118 GB, free: 42.47 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/1.012, allocations: 0 / 1.118 GB, free: 42.47 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/1.012, allocations: 4 kB / 1.118 GB, free: 42.46 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.25e-05/1.012, allocations: 14.89 kB / 1.118 GB, free: 42.46 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/1.012, allocations: 0.75 kB / 1.118 GB, free: 42.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.921e-05/1.012, allocations: 11.55 kB / 1.118 GB, free: 42.45 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.914e-05/1.012, allocations: 4.625 kB / 1.118 GB, free: 42.45 MB / 0.7448 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 (2): * Single equations (assignments): 2 * 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 4.435e-05/1.012, allocations: 106.6 kB / 1.118 GB, free: 42.34 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.327e-05/1.012, allocations: 0 / 1.118 GB, free: 42.34 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001218/1.012, allocations: 63.02 kB / 1.118 GB, free: 42.28 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/1.012, allocations: 0 / 1.118 GB, free: 42.28 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/1.012, allocations: 1.312 kB / 1.118 GB, free: 42.28 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/1.012, allocations: 3.719 kB / 1.118 GB, free: 42.28 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001216/1.013, allocations: 166.4 kB / 1.118 GB, free: 42.08 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/1.013, allocations: 4.031 kB / 1.118 GB, free: 42.08 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.158e-05/1.013, allocations: 11.38 kB / 1.118 GB, free: 42.07 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/1.013, allocations: 0 / 1.118 GB, free: 42.07 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/1.013, allocations: 0 / 1.118 GB, free: 42.07 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/1.013, allocations: 0 / 1.118 GB, free: 42.07 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/1.013, allocations: 1.156 kB / 1.118 GB, free: 42.07 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001/1.013, allocations: 156.8 kB / 1.118 GB, free: 41.91 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.246e-05/1.013, allocations: 81.62 kB / 1.118 GB, free: 41.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.202e-05/1.013, allocations: 0 / 1.118 GB, free: 41.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.845e-05/1.013, allocations: 12.17 kB / 1.118 GB, free: 41.81 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.815e-05/1.013, allocations: 3.25 kB / 1.118 GB, free: 41.81 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/1.013, allocations: 4 kB / 1.118 GB, free: 41.8 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.768e-05/1.013, allocations: 81.41 kB / 1.119 GB, free: 41.73 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.4e-07/1.013, allocations: 0 / 1.119 GB, free: 41.73 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002118/1.013, allocations: 14.7 kB / 1.119 GB, free: 41.72 MB / 0.7448 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 (2): * Single equations (assignments): 2 * 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.0001379/1.013, allocations: 103.3 kB / 1.119 GB, free: 41.61 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.582e-05/1.014, allocations: 15.75 kB / 1.119 GB, free: 41.6 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/1.014, allocations: 0 / 1.119 GB, free: 41.6 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.257e-05/1.014, allocations: 11.81 kB / 1.119 GB, free: 41.59 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001466/1.014, allocations: 10.06 kB / 1.119 GB, free: 41.59 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002069/1.014, allocations: 66.55 kB / 1.119 GB, free: 41.51 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001257/1.014, allocations: 0.6883 MB / 1.119 GB, free: 40.8 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.01e-05/1.014, allocations: 0.625 kB / 1.119 GB, free: 40.8 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.859e-05/1.014, allocations: 7.438 kB / 1.119 GB, free: 40.8 MB / 0.7448 GB Notification: Performance of SimCode: time 3.21e-07/1.014, allocations: 0 / 1.119 GB, free: 40.8 MB / 0.7448 GB Notification: Performance of Templates: time 0.002292/1.016, allocations: 469.5 kB / 1.12 GB, free: 40.55 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.Polynominal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.pipe 2>&1)