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.52/1.52, allocations: 252 MB / 268 MB, free: 10.82 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.00126/0.00126, allocations: 178.6 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 2.179/2.179, allocations: 205.4 MB / 0.5786 GB, free: 20.12 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.0008581/0.0008581, allocations: 95.39 kB / 0.6832 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003948/0.000395, allocations: 11.84 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2694/0.2698, allocations: 106.3 MB / 0.9015 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.0009373/0.2708, allocations: 330.3 kB / 0.9018 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003291/0.2712, allocations: 39.88 kB / 0.9018 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.387e-05/0.2712, allocations: 0 / 0.9018 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.57e-05/0.2712, allocations: 0 / 0.9018 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.502e-06/0.2712, allocations: 3.938 kB / 0.9018 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003195/0.2716, allocations: 8 kB / 0.9018 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.675e-05/0.2716, allocations: 8 kB / 0.9018 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.768e-05/0.2717, allocations: 1.281 kB / 0.9018 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.351e-05/0.2717, allocations: 7.969 kB / 0.9018 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.649e-05/0.2718, allocations: 4 kB / 0.9018 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.323e-05/0.2718, allocations: 0 / 0.9018 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001178/0.272, allocations: 11.98 kB / 0.9019 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.431e-05/0.272, allocations: 4 kB / 0.9019 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.51e-05/0.272, allocations: 25.7 kB / 0.9019 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.366e-05/0.2721, allocations: 11.92 kB / 0.9019 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.2721, allocations: 0 / 0.9019 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.794e-06/0.2721, allocations: 0 / 0.9019 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.2722, allocations: 4 kB / 0.9019 GB, free: 63.04 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003105/0.2725, allocations: 319.6 kB / 0.9022 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/0.2725, allocations: 8.031 kB / 0.9022 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.765e-05/0.2726, allocations: 4.844 kB / 0.9022 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.176e-05/0.2727, allocations: 160.4 kB / 0.9024 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.2727, allocations: 4.375 kB / 0.9024 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.588e-06/0.2727, allocations: 384 / 0.9024 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000121/0.2729, allocations: 30.27 kB / 0.9024 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.2729, allocations: 4.188 kB / 0.9024 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.2729, allocations: 3.938 kB / 0.9024 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.2729, allocations: 3.938 kB / 0.9024 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.625e-05/0.273, allocations: 7.984 kB / 0.9024 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001562/0.2731, allocations: 149.6 kB / 0.9026 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.711e-05/0.2732, allocations: 18.61 kB / 0.9026 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.762e-05/0.2732, allocations: 4.859 kB / 0.9026 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.832e-05/0.2733, allocations: 0 / 0.9026 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.2733, allocations: 42.56 kB / 0.9026 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.193e-06/0.2733, allocations: 0 / 0.9026 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001923/0.2735, allocations: 41.56 kB / 0.9027 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.549e-05/0.2736, allocations: 55.41 kB / 0.9027 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.515e-05/0.2736, allocations: 89.86 kB / 0.9028 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.769e-06/0.2736, allocations: 25.7 kB / 0.9028 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.427e-05/0.2737, allocations: 84.14 kB / 0.9029 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.508e-05/0.2737, allocations: 0 / 0.9029 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-06/0.2737, allocations: 4.125 kB / 0.9029 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.06e-05/0.2738, allocations: 310.8 kB / 0.9032 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.075e-05/0.2738, allocations: 0 / 0.9032 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.388e-06/0.2738, allocations: 4 kB / 0.9032 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.591e-05/0.2739, allocations: 4.859 kB / 0.9032 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2739, allocations: 0 / 0.9032 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.691e-05/0.274, allocations: 45.62 kB / 0.9033 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.274, allocations: 4.094 kB / 0.9033 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.274, allocations: 4 kB / 0.9033 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.274, allocations: 3.938 kB / 0.9033 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.053e-05/0.2741, allocations: 4 kB / 0.9033 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.2741, allocations: 0 / 0.9033 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.587e-05/0.2741, allocations: 0 / 0.9033 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.443e-05/0.2742, allocations: 0 / 0.9033 GB, free: 61.4 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 (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.302e-05/0.2742, allocations: 109.8 kB / 0.9034 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.898e-06/0.2743, allocations: 3.984 kB / 0.9034 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001166/0.2744, allocations: 44.77 kB / 0.9034 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.2744, allocations: 3.984 kB / 0.9034 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.2744, allocations: 4 kB / 0.9034 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.2744, allocations: 0 / 0.9034 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.139e-05/0.2745, allocations: 149.6 kB / 0.9036 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.2745, allocations: 0 / 0.9036 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.526e-05/0.2745, allocations: 7.938 kB / 0.9036 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.2746, allocations: 0 / 0.9036 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.2746, allocations: 7.969 kB / 0.9036 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.2746, allocations: 0 / 0.9036 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2746, allocations: 0 / 0.9036 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.987e-05/0.2747, allocations: 61.12 kB / 0.9037 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.353e-05/0.2747, allocations: 77.11 kB / 0.9037 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.731e-05/0.2748, allocations: 3.938 kB / 0.9037 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.472e-05/0.2748, allocations: 0 / 0.9037 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.765e-05/0.2748, allocations: 0 / 0.9037 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.2748, allocations: 12.03 kB / 0.9037 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.646e-05/0.2748, allocations: 75.28 kB / 0.9038 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2749, allocations: 3.938 kB / 0.9038 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002663/0.2751, allocations: 7.984 kB / 0.9038 GB, free: 60.74 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 (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.000177/0.2753, allocations: 107.2 kB / 0.9039 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 6.925e-05/0.2754, allocations: 4 kB / 0.9039 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2754, allocations: 0 / 0.9039 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.035e-05/0.2754, allocations: 8.062 kB / 0.9039 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001797/0.2756, allocations: 1.719 kB / 0.9039 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002093/0.2758, allocations: 106 kB / 0.904 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000118/0.276, allocations: 0.6731 MB / 0.9047 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.467e-05/0.276, allocations: 7.438 kB / 0.9047 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of SimCode: time 3.81e-07/0.276, allocations: 0 / 0.9047 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of Templates: time 0.002113/0.2781, allocations: 443.9 kB / 0.9051 GB, free: 59.34 MB / 0.6042 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)