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.696/1.696, allocations: 292.6 MB / 307.5 MB, free: 5.238 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.001221/0.001222, allocations: 173.1 kB / 377.1 MB, free: 1.539 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.594/1.594, allocations: 205.4 MB / 0.6367 GB, free: 8.656 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.0007689/0.0007689, allocations: 97.03 kB / 0.751 GB, free: 63.14 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003613/0.0003615, allocations: 8 kB / 0.8748 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2597/0.2601, allocations: 116.3 MB / 0.9884 GB, free: 6.777 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6721/0.9323, allocations: 138.9 MB / 1.124 GB, free: 35.69 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002656/0.9326, allocations: 69.66 kB / 1.124 GB, free: 35.63 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.002369/0.935, allocations: 0.7717 MB / 1.125 GB, free: 35.02 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.075e-06/0.935, allocations: 0 / 1.125 GB, free: 35.02 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.935, allocations: 4.016 kB / 1.125 GB, free: 35.02 MB / 0.7292 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.000336/0.9353, allocations: 360.8 kB / 1.125 GB, free: 34.64 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.9354, allocations: 12.02 kB / 1.125 GB, free: 34.62 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.252e-05/0.9354, allocations: 6.062 kB / 1.125 GB, free: 34.62 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.417e-05/0.9355, allocations: 163 kB / 1.125 GB, free: 34.43 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.9356, allocations: 0 / 1.125 GB, free: 34.43 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/0.9356, allocations: 4 kB / 1.125 GB, free: 34.42 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/0.9358, allocations: 59.64 kB / 1.125 GB, free: 34.37 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.9358, allocations: 0.5156 kB / 1.125 GB, free: 34.37 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.9358, allocations: 0 / 1.125 GB, free: 34.37 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.9358, allocations: 0 / 1.125 GB, free: 34.37 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001715/0.936, allocations: 53.69 kB / 1.125 GB, free: 34.33 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003912/0.9364, allocations: 276.2 kB / 1.126 GB, free: 34.03 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001161/0.9365, allocations: 49.42 kB / 1.126 GB, free: 33.98 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.853e-05/0.9366, allocations: 2.406 kB / 1.126 GB, free: 33.98 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/0.9366, allocations: 34.56 kB / 1.126 GB, free: 33.94 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.302e-06/0.9366, allocations: 0 / 1.126 GB, free: 33.94 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0004111/0.937, allocations: 115 kB / 1.126 GB, free: 33.84 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.813e-05/0.9371, allocations: 51.41 kB / 1.126 GB, free: 33.77 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.496e-05/0.9371, allocations: 101 kB / 1.126 GB, free: 33.67 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.336e-06/0.9371, allocations: 25.7 kB / 1.126 GB, free: 33.64 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.521e-05/0.9372, allocations: 84.08 kB / 1.126 GB, free: 33.55 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.683e-05/0.9372, allocations: 7.906 kB / 1.126 GB, free: 33.55 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-06/0.9372, allocations: 0 / 1.126 GB, free: 33.55 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.892e-05/0.9373, allocations: 322.3 kB / 1.127 GB, free: 33.23 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.195e-05/0.9374, allocations: 23.5 kB / 1.127 GB, free: 33.21 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.241e-05/0.9374, allocations: 23.03 kB / 1.127 GB, free: 33.19 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.224e-05/0.9375, allocations: 27.48 kB / 1.127 GB, free: 33.17 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.9375, allocations: 0.5625 kB / 1.127 GB, free: 33.17 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001942/0.9377, allocations: 87.09 kB / 1.127 GB, free: 33.09 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.9378, allocations: 4 kB / 1.127 GB, free: 33.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.9378, allocations: 0.5 kB / 1.127 GB, free: 33.09 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.9378, allocations: 8.031 kB / 1.127 GB, free: 33.08 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.772e-05/0.9379, allocations: 11.56 kB / 1.127 GB, free: 33.07 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.9379, allocations: 0.5625 kB / 1.127 GB, free: 33.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.222e-05/0.938, allocations: 11.88 kB / 1.127 GB, free: 33.07 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.757e-05/0.938, allocations: 4 kB / 1.127 GB, free: 33.06 MB / 0.7292 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.608e-05/0.938, allocations: 109.8 kB / 1.127 GB, free: 32.95 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.375e-05/0.9381, allocations: 8 kB / 1.127 GB, free: 32.94 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002455/0.9383, allocations: 88.14 kB / 1.127 GB, free: 32.86 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.9383, allocations: 5.453 kB / 1.127 GB, free: 32.86 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.9384, allocations: 0 / 1.127 GB, free: 32.86 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.9384, allocations: 0 / 1.127 GB, free: 32.86 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/0.9385, allocations: 164.4 kB / 1.127 GB, free: 32.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.9385, allocations: 0 / 1.127 GB, free: 32.66 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.333e-05/0.9386, allocations: 20.11 kB / 1.127 GB, free: 32.64 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.9386, allocations: 0.5625 kB / 1.127 GB, free: 32.64 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.9386, allocations: 0 / 1.127 GB, free: 32.64 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.9386, allocations: 3.609 kB / 1.127 GB, free: 32.64 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.9386, allocations: 0.5625 kB / 1.127 GB, free: 32.64 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002177/0.9388, allocations: 173.7 kB / 1.127 GB, free: 32.46 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.521e-05/0.9389, allocations: 85.14 kB / 1.127 GB, free: 32.37 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/0.9389, allocations: 8.938 kB / 1.127 GB, free: 32.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.723e-05/0.939, allocations: 4.562 kB / 1.127 GB, free: 32.36 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/0.939, allocations: 8.094 kB / 1.127 GB, free: 32.35 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-06/0.939, allocations: 4 kB / 1.127 GB, free: 32.35 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.813e-05/0.9391, allocations: 84.28 kB / 1.127 GB, free: 32.27 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9391, allocations: 0 / 1.127 GB, free: 32.27 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002129/0.9393, allocations: 15.41 kB / 1.127 GB, free: 32.25 MB / 0.7292 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 (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.0001658/0.9395, allocations: 103.2 kB / 1.128 GB, free: 32.14 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002284/0.9397, allocations: 50.22 kB / 1.128 GB, free: 32.11 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.9397, allocations: 0 / 1.128 GB, free: 32.11 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.098e-05/0.9398, allocations: 31.64 kB / 1.128 GB, free: 32.08 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001718/0.94, allocations: 128 / 1.128 GB, free: 32.08 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002866/0.9403, allocations: 121.5 kB / 1.128 GB, free: 31.95 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001258/0.9404, allocations: 0.6806 MB / 1.128 GB, free: 31.25 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.775e-05/0.9404, allocations: 0 / 1.128 GB, free: 31.25 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.073e-05/0.9405, allocations: 11.09 kB / 1.128 GB, free: 31.24 MB / 0.7292 GB Notification: Performance of SimCode: time 1.983e-06/0.9405, allocations: 0.5625 kB / 1.128 GB, free: 31.24 MB / 0.7292 GB Notification: Performance of Templates: time 0.002229/0.9427, allocations: 466.8 kB / 1.129 GB, free: 30.98 MB / 0.7292 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)