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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 117.9 kB / 16.38 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 190.5 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.636/1.636, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.876/1.876, allocations: 292.3 MB / 0.5496 GB, free: 17.5 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002303/0.002304, allocations: 75.88 kB / 0.6729 GB, free: 5.852 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2969/0.2992, allocations: 114.6 MB / 0.7848 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynominal): time 0.002887/0.3021, allocations: 1.441 MB / 0.7862 GB, free: 1.73 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00033/0.3025, allocations: 92.58 kB / 0.7863 GB, free: 1.637 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.712e-05/0.3025, allocations: 4 kB / 0.7863 GB, free: 1.633 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 7.42e-05/0.3026, allocations: 0 / 0.7863 GB, free: 1.633 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.422e-05/0.3027, allocations: 7.875 kB / 0.7863 GB, free: 1.625 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003076/0.303, allocations: 23.91 kB / 0.7863 GB, free: 1.602 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.629e-05/0.3031, allocations: 16 kB / 0.7863 GB, free: 1.586 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.3032, allocations: 7.984 kB / 0.7863 GB, free: 1.578 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 5.228e-05/0.3032, allocations: 12 kB / 0.7864 GB, free: 1.566 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.285e-05/0.3033, allocations: 15.86 kB / 0.7864 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.578e-05/0.3033, allocations: 4 kB / 0.7864 GB, free: 1.547 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.685e-05/0.3034, allocations: 15.98 kB / 0.7864 GB, free: 1.531 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.881e-05/0.3035, allocations: 11.97 kB / 0.7864 GB, free: 1.52 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.575e-05/0.3035, allocations: 7.938 kB / 0.7864 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001237/0.3036, allocations: 35.89 kB / 0.7864 GB, free: 1.477 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3036, allocations: 0 / 0.7864 GB, free: 1.477 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.522e-06/0.3037, allocations: 0 / 0.7864 GB, free: 1.477 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.131e-06/0.3037, allocations: 0 / 0.7864 GB, free: 1.477 MB / 0.6544 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.0004889/0.3042, allocations: 351.4 kB / 0.7868 GB, free: 1.082 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.3042, allocations: 8.031 kB / 0.7868 GB, free: 1.074 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.637e-05/0.3042, allocations: 4.938 kB / 0.7868 GB, free: 1.07 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.3044, allocations: 164.3 kB / 0.7869 GB, free: 0.8711 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.3044, allocations: 4.375 kB / 0.7869 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.31e-05/0.3044, allocations: 12.25 kB / 0.787 GB, free: 0.8555 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001921/0.3046, allocations: 50.17 kB / 0.787 GB, free: 0.8008 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.996e-06/0.3046, allocations: 192 / 0.787 GB, free: 0.8008 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.3047, allocations: 11.94 kB / 0.787 GB, free: 0.7891 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.3047, allocations: 0 / 0.787 GB, free: 0.7891 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001675/0.3048, allocations: 43.94 kB / 0.7871 GB, free: 0.7461 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003389/0.3052, allocations: 253 kB / 0.7873 GB, free: 460 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000127/0.3053, allocations: 46.44 kB / 0.7873 GB, free: 404 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.206e-05/0.3054, allocations: 32.89 kB / 0.7874 GB, free: 368 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.697e-05/0.3055, allocations: 4 kB / 0.7874 GB, free: 364 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.3055, allocations: 30.56 kB / 0.7874 GB, free: 324 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.3055, allocations: 0 / 0.7874 GB, free: 324 kB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.000353/0.3059, allocations: 85.73 kB / 0.7875 GB, free: 232 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/0.3059, allocations: 55.44 kB / 0.7875 GB, free: 164 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.464e-05/0.306, allocations: 109.8 kB / 0.7876 GB, free: 44 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.306, allocations: 25.7 kB / 0.7877 GB, free: 12 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.4979/0.804, allocations: 83.7 kB / 0.7878 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.669e-05/0.804, allocations: 14 kB / 0.7878 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.188e-05/0.8041, allocations: 12.53 kB / 0.7878 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.993e-05/0.8042, allocations: 313.7 kB / 0.7881 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/0.8043, allocations: 19.52 kB / 0.7881 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.578e-05/0.8044, allocations: 17.62 kB / 0.7881 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001592/0.8046, allocations: 48.75 kB / 0.7882 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.8046, allocations: 0 / 0.7882 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002161/0.8048, allocations: 72.62 kB / 0.7882 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.8048, allocations: 8.656 kB / 0.7882 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.8048, allocations: 0 / 0.7882 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.8049, allocations: 2.562 kB / 0.7882 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.436e-05/0.805, allocations: 12.36 kB / 0.7883 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.805, allocations: 1 kB / 0.7883 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.908e-05/0.805, allocations: 3.031 kB / 0.7883 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.805, allocations: 1.938 kB / 0.7883 GB, free: 48.32 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.854e-05/0.8051, allocations: 113.5 kB / 0.7884 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.761e-05/0.8051, allocations: 2.375 kB / 0.7884 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002286/0.8054, allocations: 78.09 kB / 0.7884 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.81e-06/0.8054, allocations: 6.938 kB / 0.7884 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.8054, allocations: 2.625 kB / 0.7885 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.8054, allocations: 2.344 kB / 0.7885 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001241/0.8055, allocations: 160.2 kB / 0.7886 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.8056, allocations: 0 / 0.7886 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.208e-05/0.8056, allocations: 8.75 kB / 0.7886 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.8056, allocations: 0 / 0.7886 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.8056, allocations: 3.938 kB / 0.7886 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.8056, allocations: 8.719 kB / 0.7886 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.8056, allocations: 0.5625 kB / 0.7886 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001963/0.8058, allocations: 167.1 kB / 0.7888 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.287e-05/0.8059, allocations: 82.67 kB / 0.7889 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.8059, allocations: 2.875 kB / 0.7889 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.236e-05/0.806, allocations: 13.06 kB / 0.7889 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.606e-05/0.806, allocations: 3.375 kB / 0.7889 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.806, allocations: 3.188 kB / 0.7889 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.137e-05/0.8061, allocations: 84.53 kB / 0.789 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8061, allocations: 0 / 0.789 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002293/0.8063, allocations: 8.125 kB / 0.789 GB, free: 47.68 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001431/0.8065, allocations: 104.3 kB / 0.7891 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002232/0.8067, allocations: 41.64 kB / 0.7891 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.8067, allocations: 4.812 kB / 0.7891 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.281e-05/0.8068, allocations: 22.34 kB / 0.7891 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003059/0.8071, allocations: 6.906 kB / 0.7891 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002942/0.8074, allocations: 133.6 kB / 0.7893 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001094/0.8075, allocations: 0.679 MB / 0.7899 GB, free: 46.78 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.179e-05/0.8075, allocations: 9.25 kB / 0.7899 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/0.8076, allocations: 0 / 0.7899 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of Templates: time 0.002031/0.8096, allocations: 0.6592 MB / 0.7906 GB, free: 46.77 MB / 0.6544 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)