Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.009/2.009, allocations: 391.2 MB / 407 MB, free: 10.92 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 197.3 kB / 499.1 MB, free: 4.691 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 222.9 MB / 0.7948 GB, free: 15.77 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009162/0.0009164, allocations: 106.1 kB / 0.9329 GB, free: 7.074 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001164, allocations: 53.52 kB / 1.081 GB, free: 218 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.2127, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001501/0.2142, allocations: 0.6372 MB / 1.219 GB, free: 116.6 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0002207/0.2145, allocations: 39.88 kB / 1.219 GB, free: 116.5 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.568e-06/0.2145, allocations: 0 / 1.219 GB, free: 116.5 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 1.821e-05/0.2145, allocations: 0 / 1.219 GB, free: 116.5 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 4.809e-06/0.2145, allocations: 4 kB / 1.219 GB, free: 116.5 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002097/0.2147, allocations: 15.97 kB / 1.219 GB, free: 116.5 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 3.301e-05/0.2148, allocations: 4 kB / 1.219 GB, free: 116.5 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 3.792e-05/0.2148, allocations: 0 / 1.219 GB, free: 116.5 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 1.499e-05/0.2148, allocations: 4 kB / 1.219 GB, free: 116.5 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 3.699e-05/0.2149, allocations: 7.922 kB / 1.219 GB, free: 116.5 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 8.326e-06/0.2149, allocations: 0 / 1.219 GB, free: 116.5 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 7.864e-05/0.215, allocations: 15.98 kB / 1.219 GB, free: 116.5 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 8.115e-06/0.215, allocations: 0 / 1.219 GB, free: 116.5 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 1.725e-05/0.215, allocations: 0 / 1.219 GB, free: 116.5 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 7.604e-05/0.2151, allocations: 23.92 kB / 1.219 GB, free: 116.5 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2151, allocations: 0 / 1.219 GB, free: 116.5 MB / 0.823 GB Notification: Performance of FrontEnd: time 7.81e-07/0.2151, allocations: 0 / 1.219 GB, free: 116.5 MB / 0.823 GB Notification: Performance of Transformations before backend: time 3.106e-06/0.2151, allocations: 0 / 1.219 GB, free: 116.5 MB / 0.823 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.0002338/0.2153, allocations: 315.6 kB / 1.219 GB, free: 116.1 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.2154, allocations: 11.98 kB / 1.219 GB, free: 116.1 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.383e-05/0.2154, allocations: 0.9375 kB / 1.219 GB, free: 116.1 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.631e-05/0.2155, allocations: 164.4 kB / 1.219 GB, free: 115.9 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.912e-06/0.2155, allocations: 4.375 kB / 1.219 GB, free: 115.9 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.065e-05/0.2155, allocations: 384 / 1.219 GB, free: 115.9 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.704e-05/0.2156, allocations: 42.19 kB / 1.219 GB, free: 115.9 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.124e-06/0.2156, allocations: 192 / 1.219 GB, free: 115.9 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.743e-06/0.2156, allocations: 3.938 kB / 1.219 GB, free: 115.8 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.2156, allocations: 8 kB / 1.219 GB, free: 115.8 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.791e-05/0.2156, allocations: 3.938 kB / 1.219 GB, free: 115.8 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.65e-05/0.2157, allocations: 145.7 kB / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 2.458e-05/0.2157, allocations: 18.61 kB / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.328e-05/0.2158, allocations: 12.86 kB / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.067e-05/0.2158, allocations: 4.062 kB / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.494e-05/0.2158, allocations: 38.48 kB / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.2158, allocations: 0 / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=1): time 9.625e-05/0.2159, allocations: 37.58 kB / 1.22 GB, free: 115.5 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.863e-05/0.216, allocations: 51.41 kB / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.52e-05/0.216, allocations: 89.86 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 6.072e-06/0.216, allocations: 25.83 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 9.898e-06/0.216, allocations: 88.14 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.428e-05/0.216, allocations: 3.906 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.122e-05/0.2161, allocations: 13.72 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 4.174e-05/0.2161, allocations: 314.8 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.797e-06/0.2161, allocations: 4 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.2e-06/0.2161, allocations: 0 / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.135e-05/0.2162, allocations: 8.859 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2162, allocations: 4.062 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.891e-05/0.2162, allocations: 37.64 kB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/0.2162, allocations: 8 kB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.2162, allocations: 0 / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.2162, allocations: 3.938 kB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.447e-05/0.2163, allocations: 3.984 kB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.2163, allocations: 0 / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.143e-05/0.2163, allocations: 4 kB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.2163, allocations: 0 / 1.22 GB, free: 114.8 MB / 0.823 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 3.764e-05/0.2164, allocations: 110.5 kB / 1.22 GB, free: 114.7 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.61e-06/0.2164, allocations: 0 / 1.22 GB, free: 114.7 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.544e-05/0.2165, allocations: 48.75 kB / 1.22 GB, free: 114.6 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.2165, allocations: 3.938 kB / 1.22 GB, free: 114.6 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.2165, allocations: 0 / 1.22 GB, free: 114.6 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-06/0.2165, allocations: 0 / 1.22 GB, free: 114.6 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.306e-05/0.2165, allocations: 141.7 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.92e-07/0.2165, allocations: 8.031 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.416e-05/0.2166, allocations: 3.984 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.2166, allocations: 0 / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-06/0.2166, allocations: 3.938 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.2166, allocations: 3.938 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.2166, allocations: 4 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001494/0.2167, allocations: 0.6006 MB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.396e-05/0.2168, allocations: 81.05 kB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.618e-06/0.2168, allocations: 8 kB / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.909e-06/0.2168, allocations: 0 / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.398e-05/0.2168, allocations: 0 / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.846e-06/0.2168, allocations: 0 / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of sorting global known variables: time 1.142e-05/0.2168, allocations: 79.27 kB / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of sort global known variables: time 1e-07/0.2168, allocations: 0 / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002665/0.2171, allocations: 12 kB / 1.221 GB, free: 113.6 MB / 0.823 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.000115/0.2172, allocations: 103.2 kB / 1.221 GB, free: 113.4 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 4.91e-05/0.2173, allocations: 4 kB / 1.221 GB, free: 113.4 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.2173, allocations: 0 / 1.221 GB, free: 113.4 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 6.121e-06/0.2173, allocations: 3.938 kB / 1.221 GB, free: 113.4 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001195/0.2174, allocations: 7.938 kB / 1.221 GB, free: 113.4 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001739/0.2176, allocations: 173.7 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.111e-05/0.2177, allocations: 0.6772 MB / 1.222 GB, free: 112.5 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 2.323e-05/0.2177, allocations: 0 / 1.222 GB, free: 112.5 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.569e-05/0.2177, allocations: 7.438 kB / 1.222 GB, free: 112.5 MB / 0.823 GB Notification: Performance of SimCode: time 2.1e-07/0.2177, allocations: 4 kB / 1.222 GB, free: 112.5 MB / 0.823 GB Notification: Performance of Templates: time 0.001633/0.2194, allocations: 288.5 kB / 1.223 GB, free: 112.2 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)