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.0007849/0.0007845, allocations: 90.53 kB / 15.35 MB, free: 0.7422 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.005465/0.005465, allocations: 180.8 kB / 16.26 MB, free: 6.605 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.485/1.485, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.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.718/1.718, allocations: 292.7 MB / 0.5502 GB, free: 14.44 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.000528/0.0005279, allocations: 17.78 kB / 0.6743 GB, free: 25.96 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2108/0.2114, allocations: 116.3 MB / 0.7879 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.0007848/0.2122, allocations: 327.4 kB / 0.7882 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002617/0.2125, allocations: 35.88 kB / 0.7882 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.041e-05/0.2125, allocations: 0 / 0.7882 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.428e-05/0.2126, allocations: 0 / 0.7882 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.17e-06/0.2126, allocations: 0 / 0.7882 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002764/0.2128, allocations: 19.92 kB / 0.7882 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.135e-05/0.2129, allocations: 4 kB / 0.7882 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.37e-05/0.213, allocations: 0 / 0.7882 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.233e-05/0.213, allocations: 4 kB / 0.7883 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.185e-05/0.2131, allocations: 7.922 kB / 0.7883 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.658e-06/0.2131, allocations: 4 kB / 0.7883 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.171e-05/0.2132, allocations: 19.97 kB / 0.7883 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.985e-06/0.2132, allocations: 0 / 0.7883 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.899e-05/0.2132, allocations: 25.7 kB / 0.7883 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.639e-05/0.2133, allocations: 15.98 kB / 0.7883 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.2133, allocations: 0 / 0.7883 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2134, allocations: 0 / 0.7883 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.937e-06/0.2134, allocations: 0 / 0.7883 GB, free: 11.11 MB / 0.6075 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.0002567/0.2136, allocations: 311.6 kB / 0.7886 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.2137, allocations: 8.031 kB / 0.7886 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.652e-05/0.2137, allocations: 4.938 kB / 0.7886 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.565e-05/0.2138, allocations: 164.3 kB / 0.7888 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.2138, allocations: 384 / 0.7888 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.094e-05/0.2138, allocations: 8.375 kB / 0.7888 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.887e-05/0.2139, allocations: 26.27 kB / 0.7888 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.831e-06/0.2139, allocations: 192 / 0.7888 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.2139, allocations: 3.938 kB / 0.7888 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.2139, allocations: 0 / 0.7888 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.279e-05/0.214, allocations: 7.984 kB / 0.7888 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000134/0.2141, allocations: 145.7 kB / 0.789 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.069e-05/0.2142, allocations: 26.55 kB / 0.789 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.801e-05/0.2142, allocations: 4.859 kB / 0.789 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.431e-05/0.2142, allocations: 0 / 0.789 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.2143, allocations: 34.62 kB / 0.789 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.2143, allocations: 3.938 kB / 0.789 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001354/0.2144, allocations: 37.72 kB / 0.7891 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.91e-05/0.2145, allocations: 55.44 kB / 0.7891 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.181e-05/0.2146, allocations: 89.86 kB / 0.7892 GB, free: 10 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.2146, allocations: 25.7 kB / 0.7892 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.275e-05/0.2147, allocations: 80.14 kB / 0.7893 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.312e-05/0.2147, allocations: 15.84 kB / 0.7893 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.016e-05/0.2147, allocations: 9.719 kB / 0.7893 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.2148, allocations: 310.8 kB / 0.7896 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.097e-06/0.2149, allocations: 3.938 kB / 0.7896 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.972e-06/0.2149, allocations: 4 kB / 0.7896 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.73e-05/0.2149, allocations: 12.84 kB / 0.7897 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.2149, allocations: 0 / 0.7897 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.693e-05/0.215, allocations: 33.7 kB / 0.7897 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.215, allocations: 4 kB / 0.7897 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.215, allocations: 4 kB / 0.7897 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.215, allocations: 3.938 kB / 0.7897 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.719e-05/0.2151, allocations: 4 kB / 0.7897 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.2151, allocations: 4.031 kB / 0.7897 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.371e-05/0.2151, allocations: 8 kB / 0.7897 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.2151, allocations: 0 / 0.7897 GB, free: 9.453 MB / 0.6075 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 7.229e-05/0.2152, allocations: 114.5 kB / 0.7898 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.593e-06/0.2152, allocations: 0 / 0.7898 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.434e-05/0.2153, allocations: 36.77 kB / 0.7899 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.2153, allocations: 4.031 kB / 0.7899 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.2153, allocations: 0 / 0.7899 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.2153, allocations: 7.984 kB / 0.7899 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.371e-05/0.2154, allocations: 145.7 kB / 0.79 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2154, allocations: 0 / 0.79 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.75e-05/0.2155, allocations: 0 / 0.79 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.2155, allocations: 4 kB / 0.79 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.2155, allocations: 3.938 kB / 0.79 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.2155, allocations: 0 / 0.79 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.2155, allocations: 0 / 0.79 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.89e-05/0.2156, allocations: 73.06 kB / 0.7901 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.548e-05/0.2156, allocations: 77.39 kB / 0.7902 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.133e-05/0.2156, allocations: 7.875 kB / 0.7902 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.097e-05/0.2156, allocations: 0 / 0.7902 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.237e-06/0.2157, allocations: 0 / 0.7902 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.061e-06/0.2157, allocations: 4 kB / 0.7902 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.579e-05/0.2157, allocations: 79.27 kB / 0.7902 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2157, allocations: 0 / 0.7902 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001941/0.2159, allocations: 12.03 kB / 0.7903 GB, free: 8.789 MB / 0.6075 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.0001503/0.2161, allocations: 107.2 kB / 0.7904 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.212e-05/0.2161, allocations: 7.938 kB / 0.7904 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.2161, allocations: 0 / 0.7904 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.818e-06/0.2161, allocations: 4 kB / 0.7904 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000136/0.2163, allocations: 6.75 kB / 0.7904 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001697/0.2165, allocations: 82.88 kB / 0.7905 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002227/0.2167, allocations: 0.6731 MB / 0.7911 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.542e-05/0.2167, allocations: 3.938 kB / 0.7911 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.966e-05/0.2168, allocations: 7.438 kB / 0.7911 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.2168, allocations: 0 / 0.7911 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of Templates: time 0.002228/0.219, allocations: 289.8 kB / 0.7914 GB, free: 7.559 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: