Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Examples.Polynominal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Polynominal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.Polynominal") translateModel(Buildings.Utilities.Math.Examples.Polynominal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.Polynominal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5182/0.5182, allocations: 95.62 MB / 110.6 MB, free: 9.402 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001176/0.001176, allocations: 169.9 kB / 134.2 MB, free: 2.289 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.381/1.381, allocations: 170.7 MB / 328.4 MB, free: 12.27 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001705/0.001705, allocations: 97.91 kB / 390.7 MB, free: 13.95 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004032/0.0004033, allocations: 15.98 kB / 462.7 MB, free: 35.69 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1354, allocations: 61.52 MB / 0.512 GB, free: 6.102 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4495/0.585, allocations: 93.93 MB / 0.6037 GB, free: 13.41 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003475/0.5854, allocations: 74.27 kB / 0.6038 GB, free: 13.37 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003633/0.589, allocations: 0.8804 MB / 0.6046 GB, free: 12.56 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.589e-06/0.5891, allocations: 4 kB / 0.6046 GB, free: 12.56 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.03e-05/0.5891, allocations: 0 / 0.6046 GB, free: 12.56 MB / 410.7 MB 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.0006166/0.5897, allocations: 359 kB / 0.605 GB, free: 12.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.495e-05/0.5898, allocations: 13.52 kB / 0.605 GB, free: 12.15 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.115e-05/0.5898, allocations: 0 / 0.605 GB, free: 12.15 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002071/0.5901, allocations: 165 kB / 0.6051 GB, free: 11.95 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.5901, allocations: 0 / 0.6051 GB, free: 11.95 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/0.5901, allocations: 0 / 0.6051 GB, free: 11.95 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002694/0.5904, allocations: 69 kB / 0.6052 GB, free: 11.88 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.5904, allocations: 0 / 0.6052 GB, free: 11.88 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.5904, allocations: 0 / 0.6052 GB, free: 11.88 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.5904, allocations: 3.984 kB / 0.6052 GB, free: 11.88 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002013/0.5907, allocations: 50.58 kB / 0.6053 GB, free: 11.84 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005755/0.5912, allocations: 267 kB / 0.6055 GB, free: 11.54 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001377/0.5914, allocations: 53.12 kB / 0.6056 GB, free: 11.48 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.819e-05/0.5914, allocations: 8.062 kB / 0.6056 GB, free: 11.47 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.5915, allocations: 34.5 kB / 0.6056 GB, free: 11.43 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.5915, allocations: 2.953 kB / 0.6056 GB, free: 11.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003684/0.5919, allocations: 112 kB / 0.6057 GB, free: 11.32 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.251e-05/0.5919, allocations: 55.41 kB / 0.6058 GB, free: 11.25 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.615e-05/0.592, allocations: 95 kB / 0.6059 GB, free: 11.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.592, allocations: 25.7 kB / 0.6059 GB, free: 11.13 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.356e-05/0.5921, allocations: 88.12 kB / 0.606 GB, free: 11.04 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.81e-05/0.5921, allocations: 6.594 kB / 0.606 GB, free: 11.04 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-06/0.5921, allocations: 0 / 0.606 GB, free: 11.04 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.5923, allocations: 315 kB / 0.6063 GB, free: 10.72 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.33e-05/0.5923, allocations: 26.66 kB / 0.6063 GB, free: 10.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.419e-05/0.5924, allocations: 26.86 kB / 0.6063 GB, free: 10.67 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.192e-05/0.5925, allocations: 27.3 kB / 0.6064 GB, free: 10.65 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.5925, allocations: 0 / 0.6064 GB, free: 10.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001991/0.5927, allocations: 80.22 kB / 0.6064 GB, free: 10.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.5928, allocations: 11.98 kB / 0.6064 GB, free: 10.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.5928, allocations: 0 / 0.6064 GB, free: 10.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.5928, allocations: 0 / 0.6064 GB, free: 10.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.5929, allocations: 12.23 kB / 0.6065 GB, free: 10.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.5929, allocations: 4 kB / 0.6065 GB, free: 10.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.119e-05/0.593, allocations: 11.98 kB / 0.6065 GB, free: 10.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.142e-05/0.593, allocations: 0 / 0.6065 GB, free: 10.53 MB / 410.7 MB 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 0.0001163/0.5931, allocations: 117.2 kB / 0.6066 GB, free: 10.41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.326e-05/0.5932, allocations: 0 / 0.6066 GB, free: 10.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002973/0.5935, allocations: 99.58 kB / 0.6067 GB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.5935, allocations: 0 / 0.6067 GB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.5935, allocations: 0 / 0.6067 GB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.5935, allocations: 8.031 kB / 0.6067 GB, free: 10.31 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002077/0.5937, allocations: 168.1 kB / 0.6068 GB, free: 10.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.5937, allocations: 0 / 0.6068 GB, free: 10.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.36e-05/0.5938, allocations: 11.98 kB / 0.6069 GB, free: 10.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.5938, allocations: 0 / 0.6069 GB, free: 10.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.5938, allocations: 4 kB / 0.6069 GB, free: 10.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.5938, allocations: 3.953 kB / 0.6069 GB, free: 10.08 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.5939, allocations: 0 / 0.6069 GB, free: 10.08 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002926/0.5942, allocations: 178.3 kB / 0.607 GB, free: 9.898 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.384e-05/0.5942, allocations: 81.05 kB / 0.6071 GB, free: 9.801 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.678e-05/0.5943, allocations: 0 / 0.6071 GB, free: 9.801 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.083e-05/0.5944, allocations: 16.02 kB / 0.6071 GB, free: 9.785 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.219e-05/0.5944, allocations: 3.953 kB / 0.6071 GB, free: 9.781 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.323e-06/0.5944, allocations: 4 kB / 0.6071 GB, free: 9.777 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.546e-05/0.5945, allocations: 86.83 kB / 0.6072 GB, free: 9.695 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5945, allocations: 0 / 0.6072 GB, free: 9.695 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000233/0.5947, allocations: 8 kB / 0.6072 GB, free: 9.688 MB / 410.7 MB 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.0001965/0.5949, allocations: 106.4 kB / 0.6073 GB, free: 9.578 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002298/0.5952, allocations: 55.52 kB / 0.6074 GB, free: 9.527 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.5952, allocations: 0 / 0.6074 GB, free: 9.527 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.648e-05/0.5953, allocations: 27.73 kB / 0.6074 GB, free: 9.504 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001657/0.5955, allocations: 8.125 kB / 0.6074 GB, free: 9.496 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003166/0.5958, allocations: 108.7 kB / 0.6075 GB, free: 9.363 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003056/0.5961, allocations: 0.6848 MB / 0.6082 GB, free: 8.652 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.495e-05/0.5961, allocations: 3.938 kB / 0.6082 GB, free: 8.648 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.214e-05/0.5962, allocations: 11.44 kB / 0.6082 GB, free: 8.637 MB / 410.7 MB Notification: Performance of SimCode: time 2.21e-07/0.5962, allocations: 0 / 0.6082 GB, free: 8.637 MB / 410.7 MB Notification: Performance of Templates: time 0.002559/0.5987, allocations: 462.8 kB / 0.6086 GB, free: 8.199 MB / 410.7 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.Polynominal.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.Polynominal.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.Polynominal.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.Polynominal.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.Polynominal.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.Polynominal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.Polynominal.pipe 2>&1)