Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal.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.Examples.Polynominal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal") translateModel(Buildings.Utilities.Math.Examples.Polynominal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.395/1.395, allocations: 252 MB / 268 MB, free: 10.86 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.001105/0.001105, allocations: 181.1 kB / 327.6 MB, free: 2.086 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.74/1.74, allocations: 205.4 MB / 0.5786 GB, free: 20.42 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.0008842/0.0008843, allocations: 104 kB / 0.6832 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003192/0.0003192, allocations: 18.19 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.2162, allocations: 106.3 MB / 0.9014 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynominal): time 0.001675/0.2179, allocations: 1.164 MB / 0.9026 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003669/0.2183, allocations: 96.58 kB / 0.9027 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.841e-05/0.2184, allocations: 4 kB / 0.9027 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 5.538e-05/0.2184, allocations: 0 / 0.9027 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.378e-05/0.2185, allocations: 0 / 0.9027 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002566/0.2187, allocations: 15.92 kB / 0.9027 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.433e-05/0.2188, allocations: 23.98 kB / 0.9027 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.2189, allocations: 12 kB / 0.9027 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.44e-05/0.219, allocations: 3.938 kB / 0.9027 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.166e-05/0.219, allocations: 15.97 kB / 0.9027 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/0.2191, allocations: 3.938 kB / 0.9028 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.2192, allocations: 15.98 kB / 0.9028 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.259e-05/0.2192, allocations: 11.92 kB / 0.9028 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.679e-05/0.2193, allocations: 33.64 kB / 0.9028 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.674e-05/0.2194, allocations: 19.97 kB / 0.9028 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.2194, allocations: 7.984 kB / 0.9028 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.353e-06/0.2194, allocations: 0 / 0.9028 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.2194, allocations: 0 / 0.9028 GB, free: 62.35 MB / 0.6042 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.0004166/0.2198, allocations: 345.4 kB / 0.9032 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.2199, allocations: 12.03 kB / 0.9032 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.978e-05/0.2199, allocations: 4.844 kB / 0.9032 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.602e-05/0.22, allocations: 164.6 kB / 0.9033 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.22, allocations: 8.375 kB / 0.9033 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.197e-06/0.2201, allocations: 384 / 0.9033 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001981/0.2203, allocations: 62.17 kB / 0.9034 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.2203, allocations: 192 / 0.9034 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.2203, allocations: 3.938 kB / 0.9034 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.2203, allocations: 4 kB / 0.9034 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001795/0.2205, allocations: 47.95 kB / 0.9035 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003212/0.2208, allocations: 249 kB / 0.9037 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001256/0.221, allocations: 46.5 kB / 0.9037 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.872e-05/0.2211, allocations: 36.84 kB / 0.9038 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.724e-05/0.2211, allocations: 11.97 kB / 0.9038 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.007e-05/0.2211, allocations: 30.56 kB / 0.9038 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.2211, allocations: 0 / 0.9038 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003619/0.2215, allocations: 109.5 kB / 0.9039 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.966e-05/0.2215, allocations: 51.41 kB / 0.904 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.81e-05/0.2216, allocations: 109.8 kB / 0.9041 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.053e-05/0.2216, allocations: 25.7 kB / 0.9041 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.064e-05/0.2217, allocations: 88.27 kB / 0.9042 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.725e-05/0.2217, allocations: 7.906 kB / 0.9042 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-06/0.2217, allocations: 3.938 kB / 0.9042 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.959e-05/0.2218, allocations: 314.8 kB / 0.9045 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.446e-05/0.2219, allocations: 27.91 kB / 0.9045 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.232e-05/0.222, allocations: 27.98 kB / 0.9046 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000147/0.2221, allocations: 48.83 kB / 0.9046 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2221, allocations: 0 / 0.9046 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001906/0.2223, allocations: 85.66 kB / 0.9047 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.2223, allocations: 4 kB / 0.9047 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.2224, allocations: 0 / 0.9047 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.2224, allocations: 0 / 0.9047 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-05/0.2225, allocations: 11.98 kB / 0.9047 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.2225, allocations: 4.281 kB / 0.9047 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.988e-05/0.2226, allocations: 15.98 kB / 0.9047 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.148e-06/0.2226, allocations: 7.984 kB / 0.9047 GB, free: 60.2 MB / 0.6042 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 6.521e-05/0.2226, allocations: 117.7 kB / 0.9048 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.702e-05/0.2227, allocations: 3.984 kB / 0.9048 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002342/0.2229, allocations: 93.17 kB / 0.9049 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.2229, allocations: 0 / 0.9049 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.2229, allocations: 0 / 0.9049 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.2229, allocations: 0 / 0.9049 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001335/0.2231, allocations: 161.6 kB / 0.9051 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.2231, allocations: 0 / 0.9051 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.625e-05/0.2232, allocations: 16.02 kB / 0.9051 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.2232, allocations: 0 / 0.9051 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.822e-06/0.2232, allocations: 0 / 0.9051 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2232, allocations: 0 / 0.9051 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.2232, allocations: 4 kB / 0.9051 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002177/0.2234, allocations: 187.3 kB / 0.9053 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.285e-05/0.2235, allocations: 81.09 kB / 0.9054 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.246e-05/0.2235, allocations: 0 / 0.9054 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.952e-05/0.2236, allocations: 8 kB / 0.9054 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.75e-05/0.2236, allocations: 3.984 kB / 0.9054 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.898e-06/0.2236, allocations: 0 / 0.9054 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.749e-05/0.2237, allocations: 87.28 kB / 0.9055 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2237, allocations: 4.031 kB / 0.9055 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002086/0.2239, allocations: 8 kB / 0.9055 GB, free: 59.34 MB / 0.6042 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.0001425/0.224, allocations: 103.2 kB / 0.9056 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002134/0.2242, allocations: 59.91 kB / 0.9056 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2243, allocations: 3.938 kB / 0.9056 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.476e-05/0.2243, allocations: 23.97 kB / 0.9056 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002623/0.2246, allocations: 15.88 kB / 0.9057 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002895/0.2249, allocations: 146.4 kB / 0.9058 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001155/0.225, allocations: 0.677 MB / 0.9065 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.074e-05/0.2251, allocations: 7.438 kB / 0.9065 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of SimCode: time 5.11e-07/0.2251, allocations: 0 / 0.9065 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of Templates: time 0.002061/0.2271, allocations: 0.661 MB / 0.9071 GB, free: 57.59 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal.pipe 2>&1)