Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.307/1.307, allocations: 252 MB / 267.9 MB, free: 10.95 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009352/0.0009352, allocations: 179 kB / 327.6 MB, free: 2.18 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.45/1.45, allocations: 205.4 MB / 0.5785 GB, free: 20.51 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000683/0.0006829, allocations: 92.33 kB / 0.6831 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003476/0.000348, allocations: 11.28 kB / 0.7974 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1796/0.18, allocations: 106.3 MB / 0.9012 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1471/0.3272, allocations: 131 MB / 1.029 GB, free: 12.91 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002368/0.3275, allocations: 75.94 kB / 1.029 GB, free: 12.84 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001048/0.3285, allocations: 488.5 kB / 1.03 GB, free: 12.36 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.344e-06/0.3285, allocations: 0 / 1.03 GB, free: 12.36 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.3286, allocations: 0 / 1.03 GB, free: 12.36 MB / 0.6823 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.0002239/0.3288, allocations: 315.6 kB / 1.03 GB, free: 12 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.3288, allocations: 8.031 kB / 1.03 GB, free: 11.99 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.157e-05/0.3289, allocations: 4.938 kB / 1.03 GB, free: 11.98 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.797e-05/0.3289, allocations: 164.4 kB / 1.03 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.227e-06/0.329, allocations: 4.375 kB / 1.03 GB, free: 11.78 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.988e-06/0.329, allocations: 384 / 1.03 GB, free: 11.78 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.728e-05/0.3291, allocations: 26.27 kB / 1.03 GB, free: 11.75 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.3291, allocations: 192 / 1.03 GB, free: 11.75 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.797e-06/0.3291, allocations: 3.938 kB / 1.03 GB, free: 11.75 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.3291, allocations: 0 / 1.03 GB, free: 11.75 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.715e-05/0.3291, allocations: 4 kB / 1.03 GB, free: 11.74 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000118/0.3292, allocations: 153.7 kB / 1.03 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 3.495e-05/0.3293, allocations: 23.59 kB / 1.03 GB, free: 11.51 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.595e-05/0.3293, allocations: 8.859 kB / 1.03 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.3e-05/0.3293, allocations: 3.984 kB / 1.03 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.3294, allocations: 34.62 kB / 1.03 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.3294, allocations: 0 / 1.03 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0001121/0.3295, allocations: 33.77 kB / 1.03 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/0.3295, allocations: 59.34 kB / 1.031 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.436e-05/0.3296, allocations: 97.84 kB / 1.031 GB, free: 11.24 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.124e-05/0.3296, allocations: 25.7 kB / 1.031 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 2.454e-05/0.3296, allocations: 80.14 kB / 1.031 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.44e-05/0.3297, allocations: 12.12 kB / 1.031 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.325e-06/0.3297, allocations: 3.938 kB / 1.031 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.117e-05/0.3298, allocations: 310.8 kB / 1.031 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.015e-06/0.3298, allocations: 0 / 1.031 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.311e-06/0.3298, allocations: 4 kB / 1.031 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.358e-05/0.3298, allocations: 12.8 kB / 1.031 GB, free: 10.78 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.3298, allocations: 0 / 1.031 GB, free: 10.78 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.171e-05/0.3299, allocations: 41.69 kB / 1.031 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.3299, allocations: 10.91 kB / 1.031 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.3299, allocations: 0 / 1.031 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.3299, allocations: 3.938 kB / 1.031 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.431e-05/0.33, allocations: 4 kB / 1.031 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.33, allocations: 96 / 1.031 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.133e-05/0.33, allocations: 4 kB / 1.031 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.33, allocations: 0 / 1.031 GB, free: 10.71 MB / 0.6823 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 5.896e-05/0.3301, allocations: 109.8 kB / 1.031 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.63e-06/0.3301, allocations: 0 / 1.031 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.908e-05/0.3302, allocations: 44.75 kB / 1.031 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.3302, allocations: 32 / 1.031 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.3302, allocations: 4 kB / 1.031 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.3302, allocations: 4 kB / 1.031 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.166e-05/0.3303, allocations: 145.7 kB / 1.031 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.3303, allocations: 0 / 1.031 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.646e-05/0.3303, allocations: 0 / 1.031 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.3303, allocations: 7.938 kB / 1.031 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.54e-06/0.3304, allocations: 3.938 kB / 1.031 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.3304, allocations: 0 / 1.031 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.3304, allocations: 3.984 kB / 1.031 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.049e-05/0.3304, allocations: 65.12 kB / 1.031 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.615e-05/0.3305, allocations: 77.11 kB / 1.032 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.016e-05/0.3305, allocations: 3.938 kB / 1.032 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.979e-06/0.3305, allocations: 0 / 1.032 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.319e-05/0.3305, allocations: 0 / 1.032 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.079e-06/0.3305, allocations: 4 kB / 1.032 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 2.008e-05/0.3305, allocations: 75.28 kB / 1.032 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of sort global known variables: time 9e-08/0.3306, allocations: 0 / 1.032 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001841/0.3307, allocations: 12.03 kB / 1.032 GB, free: 10.06 MB / 0.6823 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.0001349/0.3309, allocations: 101.4 kB / 1.032 GB, free: 9.949 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 5.531e-05/0.3309, allocations: 15.86 kB / 1.032 GB, free: 9.934 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.331, allocations: 0 / 1.032 GB, free: 9.934 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 7.424e-06/0.331, allocations: 4 kB / 1.032 GB, free: 9.93 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001212/0.3311, allocations: 1.891 kB / 1.032 GB, free: 9.93 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001552/0.3313, allocations: 82.83 kB / 1.032 GB, free: 9.82 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002181/0.3315, allocations: 0.677 MB / 1.032 GB, free: 9.117 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.591e-05/0.3315, allocations: 4 kB / 1.032 GB, free: 9.113 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.953e-05/0.3315, allocations: 7.438 kB / 1.032 GB, free: 9.105 MB / 0.6823 GB Notification: Performance of SimCode: time 2.21e-07/0.3315, allocations: 0 / 1.032 GB, free: 9.105 MB / 0.6823 GB Notification: Performance of Templates: time 0.001931/0.3335, allocations: 276.1 kB / 1.033 GB, free: 8.836 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)