Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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_1.6_Buildings.Utilities.Math.Examples.Polynominal") translateModel(Buildings.Utilities.Math.Examples.Polynominal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001129/0.001129, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001615/0.001615, allocations: 195.9 kB / 16.14 MB, free: 6.703 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.552/1.552, allocations: 205.1 MB / 222 MB, free: 4.996 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.588/0.588, allocations: 95.48 MB / 364.8 MB, free: 10.12 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 63.91 kB / 444.7 MB, free: 10.11 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.3304, allocations: 69.08 MB / 0.5017 GB, free: 17.6 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynominal): time 0.002521/0.3329, allocations: 1.46 MB / 0.5031 GB, free: 16.12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003702/0.3333, allocations: 128.1 kB / 0.5032 GB, free: 16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.484e-05/0.3334, allocations: 0 / 0.5032 GB, free: 16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.664e-05/0.3334, allocations: 0 / 0.5032 GB, free: 16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.599e-05/0.3335, allocations: 7.938 kB / 0.5033 GB, free: 15.99 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002309/0.3337, allocations: 19.98 kB / 0.5033 GB, free: 15.97 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.18e-05/0.3338, allocations: 27.92 kB / 0.5033 GB, free: 15.95 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.775e-05/0.3339, allocations: 4 kB / 0.5033 GB, free: 15.94 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.845e-05/0.3339, allocations: 11.97 kB / 0.5033 GB, free: 15.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.846e-05/0.334, allocations: 11.88 kB / 0.5033 GB, free: 15.92 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.294e-05/0.334, allocations: 4 kB / 0.5033 GB, free: 15.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001219/0.3341, allocations: 55.88 kB / 0.5034 GB, free: 15.86 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.341e-05/0.3342, allocations: 0 / 0.5034 GB, free: 15.86 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.785e-05/0.3342, allocations: 19.88 kB / 0.5034 GB, free: 15.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001268/0.3343, allocations: 43.92 kB / 0.5034 GB, free: 15.8 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3343, allocations: 0 / 0.5034 GB, free: 15.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.42e-07/0.3343, allocations: 0 / 0.5034 GB, free: 15.8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.3343, allocations: 0 / 0.5034 GB, free: 15.8 MB / 382.1 MB 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.0004029/0.3348, allocations: 353.3 kB / 0.5038 GB, free: 15.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/0.3348, allocations: 15.98 kB / 0.5038 GB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.747e-05/0.3348, allocations: 4.844 kB / 0.5038 GB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.612e-05/0.3349, allocations: 168.4 kB / 0.504 GB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.3349, allocations: 8.375 kB / 0.504 GB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.107e-05/0.3349, allocations: 3.938 kB / 0.504 GB, free: 15.17 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001536/0.3351, allocations: 53.61 kB / 0.504 GB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.3351, allocations: 3.984 kB / 0.504 GB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.615e-06/0.3351, allocations: 0 / 0.504 GB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.3351, allocations: 0 / 0.504 GB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001457/0.3353, allocations: 39.97 kB / 0.5041 GB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002496/0.3355, allocations: 256.9 kB / 0.5043 GB, free: 14.77 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001097/0.3357, allocations: 46.48 kB / 0.5044 GB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.518e-05/0.3357, allocations: 20.91 kB / 0.5044 GB, free: 14.69 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.138e-05/0.3358, allocations: 4 kB / 0.5044 GB, free: 14.69 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.617e-05/0.3358, allocations: 34.56 kB / 0.5044 GB, free: 14.64 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.3358, allocations: 0 / 0.5044 GB, free: 14.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003123/0.3361, allocations: 89.55 kB / 0.5045 GB, free: 14.55 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.279e-05/0.3362, allocations: 51.41 kB / 0.5045 GB, free: 14.49 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.881e-05/0.3362, allocations: 105.8 kB / 0.5046 GB, free: 14.38 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.516e-06/0.3362, allocations: 25.7 kB / 0.5047 GB, free: 14.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.375e-05/0.3363, allocations: 92.27 kB / 0.5048 GB, free: 14.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.371e-05/0.3363, allocations: 7.891 kB / 0.5048 GB, free: 14.24 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.378e-05/0.3363, allocations: 17.66 kB / 0.5048 GB, free: 14.22 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.648e-05/0.3364, allocations: 318.8 kB / 0.5051 GB, free: 13.9 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.5e-05/0.3365, allocations: 15.98 kB / 0.5051 GB, free: 13.88 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.497e-05/0.3365, allocations: 19.97 kB / 0.5051 GB, free: 13.86 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001322/0.3367, allocations: 48.89 kB / 0.5052 GB, free: 13.81 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.3367, allocations: 0 / 0.5052 GB, free: 13.81 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001619/0.3368, allocations: 65.66 kB / 0.5052 GB, free: 13.74 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.3369, allocations: 10.66 kB / 0.5052 GB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.3369, allocations: 0 / 0.5052 GB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.3369, allocations: 0 / 0.5052 GB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.138e-05/0.337, allocations: 15.95 kB / 0.5053 GB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.337, allocations: 3.938 kB / 0.5053 GB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.282e-05/0.337, allocations: 11.98 kB / 0.5053 GB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.337, allocations: 7.938 kB / 0.5053 GB, free: 13.7 MB / 382.1 MB 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 4.231e-05/0.3371, allocations: 109.8 kB / 0.5054 GB, free: 13.58 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.247e-05/0.3371, allocations: 3.906 kB / 0.5054 GB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001956/0.3373, allocations: 85.14 kB / 0.5055 GB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.3373, allocations: 0 / 0.5055 GB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.3373, allocations: 0 / 0.5055 GB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.3373, allocations: 3.984 kB / 0.5055 GB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001105/0.3375, allocations: 161.6 kB / 0.5056 GB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3375, allocations: 256 / 0.5056 GB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.149e-05/0.3375, allocations: 11.98 kB / 0.5056 GB, free: 13.26 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.3375, allocations: 4 kB / 0.5056 GB, free: 13.26 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.3375, allocations: 0 / 0.5056 GB, free: 13.26 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.3375, allocations: 0 / 0.5056 GB, free: 13.26 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3375, allocations: 3.938 kB / 0.5056 GB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001836/0.3377, allocations: 171.5 kB / 0.5058 GB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.346e-05/0.3378, allocations: 81.05 kB / 0.5059 GB, free: 12.97 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.3378, allocations: 0 / 0.5059 GB, free: 12.97 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.876e-05/0.3379, allocations: 7.984 kB / 0.5059 GB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.328e-05/0.3379, allocations: 0 / 0.5059 GB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.3379, allocations: 8.031 kB / 0.5059 GB, free: 12.96 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.792e-05/0.3379, allocations: 87.27 kB / 0.506 GB, free: 12.87 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3379, allocations: 0 / 0.506 GB, free: 12.87 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002151/0.3382, allocations: 15.94 kB / 0.506 GB, free: 12.86 MB / 382.1 MB 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.0001191/0.3383, allocations: 99.23 kB / 0.5061 GB, free: 12.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001914/0.3385, allocations: 47.89 kB / 0.5061 GB, free: 12.7 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.3385, allocations: 4.062 kB / 0.5061 GB, free: 12.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.555e-05/0.3386, allocations: 19.98 kB / 0.5062 GB, free: 12.68 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002839/0.3389, allocations: 7.984 kB / 0.5062 GB, free: 12.67 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002556/0.3391, allocations: 119.2 kB / 0.5063 GB, free: 12.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001359/0.3393, allocations: 0.677 MB / 0.5069 GB, free: 11.82 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.395e-05/0.3393, allocations: 8.062 kB / 0.507 GB, free: 11.81 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.725e-05/0.3393, allocations: 7.438 kB / 0.507 GB, free: 11.8 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3393, allocations: 0 / 0.507 GB, free: 11.8 MB / 382.1 MB Notification: Performance of Templates: time 0.002208/0.3415, allocations: 480.7 kB / 0.5074 GB, free: 11.34 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.Polynominal.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.Polynominal.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.Polynominal.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.Polynominal.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.Polynominal.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.Polynominal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.Polynominal.pipe 2>&1)