Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.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.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001613/0.001613, allocations: 102.1 kB / 16.27 MB, free: 6.348 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.001816/0.001816, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.576/1.576, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.828/1.828, allocations: 292.3 MB / 0.5495 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.001505/0.001505, allocations: 75.89 kB / 0.6722 GB, free: 6.594 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2696/0.2712, allocations: 114.5 MB / 0.784 GB, free: 3.934 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001888/0.2731, allocations: 0.5786 MB / 0.7846 GB, free: 3.344 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0002439/0.2734, allocations: 39.88 kB / 0.7846 GB, free: 3.305 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.311e-05/0.2734, allocations: 0 / 0.7846 GB, free: 3.305 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.563e-05/0.2734, allocations: 0 / 0.7846 GB, free: 3.305 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.384e-06/0.2734, allocations: 0 / 0.7846 GB, free: 3.305 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003004/0.2737, allocations: 15.92 kB / 0.7846 GB, free: 3.289 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 4.659e-05/0.2738, allocations: 8 kB / 0.7847 GB, free: 3.281 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.993e-05/0.2738, allocations: 0 / 0.7847 GB, free: 3.281 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.813e-05/0.2739, allocations: 3.984 kB / 0.7847 GB, free: 3.277 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.699e-05/0.2739, allocations: 0 / 0.7847 GB, free: 3.277 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.049e-05/0.2739, allocations: 4 kB / 0.7847 GB, free: 3.273 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.577e-05/0.274, allocations: 19.98 kB / 0.7847 GB, free: 3.254 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.055e-05/0.274, allocations: 0 / 0.7847 GB, free: 3.254 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.178e-05/0.2741, allocations: 7.922 kB / 0.7847 GB, free: 3.246 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 8.983e-05/0.2742, allocations: 11.98 kB / 0.7847 GB, free: 3.234 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.2742, allocations: 4 kB / 0.7847 GB, free: 3.23 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.392e-06/0.2742, allocations: 4 kB / 0.7847 GB, free: 3.227 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.072e-06/0.2742, allocations: 0 / 0.7847 GB, free: 3.227 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003216/0.2745, allocations: 311.6 kB / 0.785 GB, free: 2.871 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.2746, allocations: 12.02 kB / 0.785 GB, free: 2.859 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.824e-05/0.2746, allocations: 0.9375 kB / 0.785 GB, free: 2.859 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.549e-05/0.2747, allocations: 160.4 kB / 0.7852 GB, free: 2.664 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.2747, allocations: 4.312 kB / 0.7852 GB, free: 2.66 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.526e-06/0.2747, allocations: 4.375 kB / 0.7852 GB, free: 2.656 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.379e-05/0.2748, allocations: 30.27 kB / 0.7852 GB, free: 2.621 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.2748, allocations: 192 / 0.7852 GB, free: 2.621 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.417e-06/0.2749, allocations: 3.938 kB / 0.7852 GB, free: 2.617 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.2749, allocations: 0 / 0.7852 GB, free: 2.617 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.254e-05/0.2749, allocations: 11.94 kB / 0.7852 GB, free: 2.605 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001335/0.275, allocations: 145.7 kB / 0.7854 GB, free: 2.414 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 3.9e-05/0.2751, allocations: 22.55 kB / 0.7854 GB, free: 2.383 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.045e-05/0.2751, allocations: 8.844 kB / 0.7854 GB, free: 2.371 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.434e-05/0.2751, allocations: 4 kB / 0.7854 GB, free: 2.367 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.2752, allocations: 38.62 kB / 0.7854 GB, free: 2.32 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.2752, allocations: 0 / 0.7854 GB, free: 2.32 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0001306/0.2753, allocations: 37.62 kB / 0.7855 GB, free: 2.277 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/0.2754, allocations: 51.41 kB / 0.7855 GB, free: 2.215 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.416e-05/0.2754, allocations: 89.86 kB / 0.7856 GB, free: 2.117 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.2754, allocations: 25.7 kB / 0.7856 GB, free: 2.086 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.722e-05/0.2754, allocations: 80.27 kB / 0.7857 GB, free: 2.004 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.756e-05/0.2755, allocations: 11.94 kB / 0.7857 GB, free: 1.992 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.497e-05/0.2755, allocations: 9.719 kB / 0.7857 GB, free: 1.977 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.719e-05/0.2756, allocations: 314.8 kB / 0.786 GB, free: 1.66 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.65e-05/0.2756, allocations: 3.938 kB / 0.786 GB, free: 1.656 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.442e-06/0.2757, allocations: 4 kB / 0.786 GB, free: 1.652 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.813e-05/0.2757, allocations: 12.84 kB / 0.786 GB, free: 1.637 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-06/0.2757, allocations: 0 / 0.786 GB, free: 1.637 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.742e-05/0.2757, allocations: 33.77 kB / 0.7861 GB, free: 1.598 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.2758, allocations: 4 kB / 0.7861 GB, free: 1.594 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.2758, allocations: 0 / 0.7861 GB, free: 1.594 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.2758, allocations: 7.938 kB / 0.7861 GB, free: 1.586 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.443e-05/0.2759, allocations: 4 kB / 0.7861 GB, free: 1.582 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.2759, allocations: 0 / 0.7861 GB, free: 1.582 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.466e-05/0.2759, allocations: 3.906 kB / 0.7861 GB, free: 1.578 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.2759, allocations: 7.938 kB / 0.7861 GB, free: 1.57 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 (1): * Single equations (assignments): 1 * 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 6.692e-05/0.276, allocations: 113.8 kB / 0.7862 GB, free: 1.449 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.642e-06/0.276, allocations: 4.031 kB / 0.7862 GB, free: 1.445 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.565e-05/0.2761, allocations: 40.77 kB / 0.7863 GB, free: 1.398 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.2761, allocations: 0 / 0.7863 GB, free: 1.398 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.2761, allocations: 0 / 0.7863 GB, free: 1.398 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.2761, allocations: 3.984 kB / 0.7863 GB, free: 1.395 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.713e-05/0.2762, allocations: 149.7 kB / 0.7864 GB, free: 1.199 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.02e-07/0.2762, allocations: 0 / 0.7864 GB, free: 1.199 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.74e-05/0.2762, allocations: 4.031 kB / 0.7864 GB, free: 1.195 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.2762, allocations: 4 kB / 0.7864 GB, free: 1.191 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.2762, allocations: 3.938 kB / 0.7864 GB, free: 1.188 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.2763, allocations: 0 / 0.7864 GB, free: 1.188 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.2763, allocations: 0 / 0.7864 GB, free: 1.188 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.254e-05/0.2763, allocations: 61.06 kB / 0.7865 GB, free: 1.109 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.931e-05/0.2764, allocations: 77.39 kB / 0.7865 GB, free: 1.016 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.172e-05/0.2764, allocations: 7.875 kB / 0.7866 GB, free: 1.008 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.948e-06/0.2764, allocations: 4.031 kB / 0.7866 GB, free: 1.004 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.359e-05/0.2764, allocations: 8 kB / 0.7866 GB, free: 0.9961 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.2764, allocations: 3.984 kB / 0.7866 GB, free: 0.9922 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.545e-05/0.2765, allocations: 75.28 kB / 0.7866 GB, free: 0.918 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.603e-06/0.2765, allocations: 0 / 0.7866 GB, free: 0.918 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00019/0.2767, allocations: 11.94 kB / 0.7867 GB, free: 0.9062 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 (1): * Single equations (assignments): 1 * 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.0001602/0.2768, allocations: 103.2 kB / 0.7868 GB, free: 0.7969 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 7.178e-05/0.2769, allocations: 8 kB / 0.7868 GB, free: 0.7891 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2769, allocations: 3.938 kB / 0.7868 GB, free: 0.7852 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 6.472e-06/0.2769, allocations: 0 / 0.7868 GB, free: 0.7852 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001362/0.2771, allocations: 7.938 kB / 0.7868 GB, free: 0.7773 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001949/0.2773, allocations: 98.77 kB / 0.7869 GB, free: 0.6484 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4369/0.7142, allocations: 0.669 MB / 0.7875 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.904e-05/0.7143, allocations: 8.25 kB / 0.7875 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of SimCode: time 1.453e-06/0.7143, allocations: 2.094 kB / 0.7875 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of Templates: time 0.00203/0.7164, allocations: 450.6 kB / 0.788 GB, free: 48.16 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)