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.0009408/0.0009409, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.0008845/0.0008845, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.374/1.374, allocations: 205.4 MB / 222.1 MB, free: 5.52 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.572/0.572, allocations: 95.59 MB / 366 MB, free: 10.36 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.0006035/0.0006036, allocations: 23.89 kB / 446.8 MB, free: 9.363 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3122/0.3128, allocations: 70.33 MB / 0.505 GB, free: 16.53 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynominal): time 0.001301/0.3141, allocations: 1.122 MB / 0.5061 GB, free: 15.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002844/0.3144, allocations: 116.3 kB / 0.5062 GB, free: 15.28 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.501e-05/0.3145, allocations: 0 / 0.5062 GB, free: 15.28 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.428e-05/0.3145, allocations: 0 / 0.5062 GB, free: 15.28 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.308e-05/0.3146, allocations: 11.88 kB / 0.5062 GB, free: 15.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002285/0.3148, allocations: 19.97 kB / 0.5062 GB, free: 15.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.008e-05/0.3149, allocations: 15.98 kB / 0.5062 GB, free: 15.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.164e-05/0.3149, allocations: 3.984 kB / 0.5063 GB, free: 15.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.872e-05/0.315, allocations: 15.94 kB / 0.5063 GB, free: 15.21 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.465e-05/0.315, allocations: 7.984 kB / 0.5063 GB, free: 15.21 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.798e-06/0.315, allocations: 0 / 0.5063 GB, free: 15.21 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001034/0.3152, allocations: 43.89 kB / 0.5063 GB, free: 15.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.745e-05/0.3152, allocations: 11.98 kB / 0.5063 GB, free: 15.15 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.76e-05/0.3152, allocations: 25.7 kB / 0.5064 GB, free: 15.12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 8.862e-05/0.3153, allocations: 31.94 kB / 0.5064 GB, free: 15.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.3153, allocations: 0 / 0.5064 GB, free: 15.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3153, allocations: 0 / 0.5064 GB, free: 15.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.3153, allocations: 0 / 0.5064 GB, free: 15.09 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.0003634/0.3157, allocations: 353.2 kB / 0.5067 GB, free: 14.7 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.3157, allocations: 11.98 kB / 0.5067 GB, free: 14.69 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.998e-05/0.3158, allocations: 7.906 kB / 0.5067 GB, free: 14.68 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.577e-05/0.3159, allocations: 167 kB / 0.5069 GB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.3159, allocations: 0 / 0.5069 GB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.178e-05/0.3159, allocations: 7.938 kB / 0.5069 GB, free: 14.47 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.3161, allocations: 65.61 kB / 0.507 GB, free: 14.4 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.617e-06/0.3161, allocations: 0 / 0.507 GB, free: 14.4 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.3161, allocations: 0 / 0.507 GB, free: 14.4 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.3161, allocations: 0 / 0.507 GB, free: 14.4 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001582/0.3163, allocations: 47.95 kB / 0.507 GB, free: 14.35 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002892/0.3166, allocations: 260.9 kB / 0.5073 GB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.3167, allocations: 46.5 kB / 0.5073 GB, free: 13.99 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.758e-05/0.3168, allocations: 8.047 kB / 0.5073 GB, free: 13.98 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.3168, allocations: 34.56 kB / 0.5073 GB, free: 13.94 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.3168, allocations: 0 / 0.5073 GB, free: 13.94 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003766/0.3172, allocations: 101.7 kB / 0.5074 GB, free: 13.84 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.572e-05/0.3172, allocations: 55.41 kB / 0.5075 GB, free: 13.77 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.491e-05/0.3173, allocations: 105.8 kB / 0.5076 GB, free: 13.66 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.035e-06/0.3173, allocations: 25.7 kB / 0.5076 GB, free: 13.62 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.996e-05/0.3174, allocations: 84.08 kB / 0.5077 GB, free: 13.54 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.536e-05/0.3174, allocations: 7.906 kB / 0.5077 GB, free: 13.53 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-06/0.3174, allocations: 0 / 0.5077 GB, free: 13.53 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.021e-05/0.3174, allocations: 314.8 kB / 0.508 GB, free: 13.21 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.622e-05/0.3175, allocations: 28 kB / 0.508 GB, free: 13.19 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.546e-05/0.3176, allocations: 19.98 kB / 0.5081 GB, free: 13.17 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.337e-05/0.3177, allocations: 23.98 kB / 0.5081 GB, free: 13.14 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.3177, allocations: 4.062 kB / 0.5081 GB, free: 13.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001707/0.3179, allocations: 89.45 kB / 0.5082 GB, free: 13.05 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.3179, allocations: 8 kB / 0.5082 GB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.3179, allocations: 0 / 0.5082 GB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.3179, allocations: 0 / 0.5082 GB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.247e-05/0.318, allocations: 16.02 kB / 0.5082 GB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.318, allocations: 0 / 0.5082 GB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.497e-05/0.3181, allocations: 11.98 kB / 0.5082 GB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.521e-06/0.3181, allocations: 0 / 0.5082 GB, free: 13.01 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.805e-05/0.3181, allocations: 113.8 kB / 0.5083 GB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.162e-05/0.3182, allocations: 7.953 kB / 0.5083 GB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002042/0.3184, allocations: 89.14 kB / 0.5084 GB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.3184, allocations: 7.938 kB / 0.5084 GB, free: 12.78 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.3184, allocations: 0 / 0.5084 GB, free: 12.78 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3184, allocations: 3.984 kB / 0.5084 GB, free: 12.78 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001162/0.3185, allocations: 153.7 kB / 0.5086 GB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3185, allocations: 8.281 kB / 0.5086 GB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.257e-05/0.3186, allocations: 11.98 kB / 0.5086 GB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.3186, allocations: 7.953 kB / 0.5086 GB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.3186, allocations: 0 / 0.5086 GB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3186, allocations: 0 / 0.5086 GB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3186, allocations: 0 / 0.5086 GB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001934/0.3188, allocations: 183.4 kB / 0.5088 GB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.856e-05/0.3188, allocations: 81.05 kB / 0.5088 GB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.367e-05/0.3189, allocations: 7.953 kB / 0.5088 GB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.144e-05/0.3189, allocations: 7.984 kB / 0.5089 GB, free: 12.24 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.923e-05/0.319, allocations: 4 kB / 0.5089 GB, free: 12.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.185e-06/0.319, allocations: 4.031 kB / 0.5089 GB, free: 12.23 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.715e-05/0.319, allocations: 87.27 kB / 0.5089 GB, free: 12.15 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.319, allocations: 0 / 0.5089 GB, free: 12.15 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002164/0.3192, allocations: 8 kB / 0.509 GB, free: 12.14 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001357/0.3194, allocations: 103.2 kB / 0.5091 GB, free: 12.03 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002107/0.3196, allocations: 59.89 kB / 0.5091 GB, free: 11.97 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3196, allocations: 0 / 0.5091 GB, free: 11.97 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.697e-05/0.3197, allocations: 23.98 kB / 0.5091 GB, free: 11.95 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001944/0.3199, allocations: 6.031 kB / 0.5091 GB, free: 11.94 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002593/0.3202, allocations: 116.8 kB / 0.5093 GB, free: 11.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001086/0.3203, allocations: 0.6848 MB / 0.5099 GB, free: 11.09 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.323e-05/0.3203, allocations: 0 / 0.5099 GB, free: 11.09 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.721e-05/0.3203, allocations: 15.44 kB / 0.5099 GB, free: 11.07 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3203, allocations: 0 / 0.5099 GB, free: 11.07 MB / 382.1 MB Notification: Performance of Templates: time 0.002559/0.3229, allocations: 458.7 kB / 0.5104 GB, free: 10.63 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.Polynominal.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: