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/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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000868/0.0008681, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008853/0.0008853, allocations: 168.7 kB / 15.95 MB, free: 204 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.716/1.716, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.576/1.576, allocations: 252 MB / 0.5102 GB, free: 4.809 MB / 414.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: Performance of FrontEnd - loaded program: time 0.0005271/0.0005274, allocations: 16 kB / 0.6243 GB, free: 1.109 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5439/0.5444, allocations: 106.3 MB / 0.7281 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.0007639/0.5453, allocations: 320.6 kB / 0.7284 GB, free: 11.11 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002324/0.5455, allocations: 31.92 kB / 0.7285 GB, free: 11.08 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.373e-05/0.5456, allocations: 0 / 0.7285 GB, free: 11.08 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.143e-05/0.5456, allocations: 3.938 kB / 0.7285 GB, free: 11.08 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.544e-06/0.5456, allocations: 0 / 0.7285 GB, free: 11.08 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002782/0.5459, allocations: 7.984 kB / 0.7285 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.536e-05/0.5459, allocations: 4 kB / 0.7285 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.914e-05/0.546, allocations: 0 / 0.7285 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.039e-05/0.546, allocations: 7.984 kB / 0.7285 GB, free: 11.06 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.302e-05/0.5461, allocations: 4 kB / 0.7285 GB, free: 11.05 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.124e-05/0.5461, allocations: 0 / 0.7285 GB, free: 11.05 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.5462, allocations: 19.98 kB / 0.7285 GB, free: 11.04 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.065e-06/0.5462, allocations: 0 / 0.7285 GB, free: 11.04 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.431e-05/0.5463, allocations: 25.7 kB / 0.7285 GB, free: 11 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 7.597e-05/0.5463, allocations: 11.98 kB / 0.7286 GB, free: 10.99 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.5464, allocations: 0 / 0.7286 GB, free: 10.99 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.246e-06/0.5464, allocations: 0 / 0.7286 GB, free: 10.99 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.5464, allocations: 3.938 kB / 0.7286 GB, free: 10.99 MB / 0.545 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.0003015/0.5467, allocations: 311.4 kB / 0.7289 GB, free: 10.64 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.5467, allocations: 8.031 kB / 0.7289 GB, free: 10.63 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.907e-05/0.5468, allocations: 3.906 kB / 0.7289 GB, free: 10.62 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.5469, allocations: 167 kB / 0.729 GB, free: 10.42 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.5469, allocations: 7.938 kB / 0.729 GB, free: 10.41 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.265e-06/0.5469, allocations: 0 / 0.729 GB, free: 10.41 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.782e-05/0.547, allocations: 25.7 kB / 0.7291 GB, free: 10.38 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.547, allocations: 0 / 0.7291 GB, free: 10.38 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.547, allocations: 0 / 0.7291 GB, free: 10.38 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.5471, allocations: 4 kB / 0.7291 GB, free: 10.38 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.442e-05/0.5471, allocations: 4 kB / 0.7291 GB, free: 10.38 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001533/0.5473, allocations: 153.6 kB / 0.7292 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.736e-05/0.5473, allocations: 22.55 kB / 0.7292 GB, free: 10.14 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.631e-05/0.5473, allocations: 4.859 kB / 0.7292 GB, free: 10.14 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.27e-05/0.5474, allocations: 0 / 0.7292 GB, free: 10.14 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.5474, allocations: 34.62 kB / 0.7293 GB, free: 10.09 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.5474, allocations: 4 kB / 0.7293 GB, free: 10.09 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001699/0.5476, allocations: 41.62 kB / 0.7293 GB, free: 10.04 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/0.5476, allocations: 51.41 kB / 0.7294 GB, free: 9.98 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.934e-05/0.5477, allocations: 89.86 kB / 0.7295 GB, free: 9.883 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.5477, allocations: 25.7 kB / 0.7295 GB, free: 9.852 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.439e-05/0.5477, allocations: 80.14 kB / 0.7296 GB, free: 9.77 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.817e-05/0.5478, allocations: 4 kB / 0.7296 GB, free: 9.766 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.304e-06/0.5478, allocations: 3.938 kB / 0.7296 GB, free: 9.762 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.5479, allocations: 315 kB / 0.7299 GB, free: 9.445 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.456e-06/0.5479, allocations: 0 / 0.7299 GB, free: 9.445 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.78e-06/0.5479, allocations: 0 / 0.7299 GB, free: 9.445 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.383e-05/0.548, allocations: 8 kB / 0.7299 GB, free: 9.438 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.548, allocations: 3.953 kB / 0.7299 GB, free: 9.434 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.23e-05/0.548, allocations: 37.69 kB / 0.7299 GB, free: 9.391 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.5481, allocations: 9.719 kB / 0.7299 GB, free: 9.383 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.5481, allocations: 0 / 0.7299 GB, free: 9.383 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.5481, allocations: 0 / 0.7299 GB, free: 9.383 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.394e-05/0.5482, allocations: 8.031 kB / 0.7299 GB, free: 9.375 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.5482, allocations: 0 / 0.7299 GB, free: 9.375 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.353e-05/0.5482, allocations: 4 kB / 0.7299 GB, free: 9.371 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.401e-05/0.5482, allocations: 0 / 0.7299 GB, free: 9.371 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.227e-05/0.5483, allocations: 105.8 kB / 0.73 GB, free: 9.258 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.006e-05/0.5483, allocations: 3.953 kB / 0.73 GB, free: 9.254 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001168/0.5484, allocations: 48.81 kB / 0.7301 GB, free: 9.199 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.5484, allocations: 3.938 kB / 0.7301 GB, free: 9.195 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.5484, allocations: 0 / 0.7301 GB, free: 9.195 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.5485, allocations: 0 / 0.7301 GB, free: 9.195 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.623e-05/0.5486, allocations: 149.7 kB / 0.7302 GB, free: 9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.5486, allocations: 4 kB / 0.7302 GB, free: 8.996 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.166e-05/0.5486, allocations: 3.953 kB / 0.7302 GB, free: 8.992 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.626e-06/0.5486, allocations: 0 / 0.7302 GB, free: 8.992 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.5486, allocations: 0 / 0.7302 GB, free: 8.992 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.5486, allocations: 0 / 0.7302 GB, free: 8.992 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.5486, allocations: 7.938 kB / 0.7302 GB, free: 8.984 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.375e-05/0.5487, allocations: 61.16 kB / 0.7303 GB, free: 8.906 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.034e-05/0.5488, allocations: 79.08 kB / 0.7304 GB, free: 8.812 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.5488, allocations: 7.953 kB / 0.7304 GB, free: 8.805 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.139e-05/0.5488, allocations: 0 / 0.7304 GB, free: 8.805 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.809e-05/0.5488, allocations: 0 / 0.7304 GB, free: 8.805 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.5488, allocations: 0 / 0.7304 GB, free: 8.805 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.105e-05/0.5489, allocations: 78.14 kB / 0.7305 GB, free: 8.73 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5489, allocations: 4.031 kB / 0.7305 GB, free: 8.727 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002206/0.5491, allocations: 4 kB / 0.7305 GB, free: 8.723 MB / 0.545 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 (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.0001845/0.5493, allocations: 111.2 kB / 0.7306 GB, free: 8.602 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.376e-05/0.5494, allocations: 7.938 kB / 0.7306 GB, free: 8.594 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.5494, allocations: 4 kB / 0.7306 GB, free: 8.59 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.174e-06/0.5494, allocations: 0 / 0.7306 GB, free: 8.59 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001492/0.5495, allocations: 4 kB / 0.7306 GB, free: 8.586 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000199/0.5498, allocations: 82.73 kB / 0.7307 GB, free: 8.48 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000254/0.55, allocations: 0.677 MB / 0.7313 GB, free: 7.777 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.063e-05/0.5501, allocations: 4 kB / 0.7313 GB, free: 7.773 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.324e-05/0.5501, allocations: 7.438 kB / 0.7313 GB, free: 7.766 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.5501, allocations: 0 / 0.7313 GB, free: 7.766 MB / 0.545 GB Notification: Performance of Templates: time 0.002469/0.5526, allocations: 286.8 kB / 0.7316 GB, free: 7.488 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: