Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 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_3.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001264/0.001264, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001385/0.001385, allocations: 191.3 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 222.9 MB / 239.9 MB, free: 4.484 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.782/2.782, allocations: 472.6 MB / 0.7448 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001779/0.001779, allocations: 65.3 kB / 0.9115 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3978/0.3996, allocations: 159.9 MB / 1.068 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.002083/0.4017, allocations: 0.6348 MB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002588/0.402, allocations: 39.81 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.3e-05/0.402, allocations: 0 / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.684e-05/0.4021, allocations: 4 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.3e-06/0.4021, allocations: 0 / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003154/0.4024, allocations: 8 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.057e-05/0.4025, allocations: 8 kB / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.547e-05/0.4025, allocations: 0 / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.644e-05/0.4026, allocations: 7.922 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.642e-05/0.4026, allocations: 0 / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.307e-05/0.4026, allocations: 7.984 kB / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.4027, allocations: 15.98 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.212e-05/0.4027, allocations: 4 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.017e-05/0.4028, allocations: 0 / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.322e-05/0.4029, allocations: 11.98 kB / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.4029, allocations: 0 / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.873e-06/0.4029, allocations: 8 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.427e-06/0.4029, allocations: 0 / 1.068 GB, free: 10.02 MB / 0.8262 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.0003837/0.4033, allocations: 315.5 kB / 1.069 GB, free: 9.664 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.4033, allocations: 8.031 kB / 1.069 GB, free: 9.656 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.891e-05/0.4034, allocations: 0.9375 kB / 1.069 GB, free: 9.656 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.022e-05/0.4035, allocations: 160.4 kB / 1.069 GB, free: 9.461 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.715e-06/0.4035, allocations: 4.312 kB / 1.069 GB, free: 9.457 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.4035, allocations: 4.375 kB / 1.069 GB, free: 9.453 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.559e-05/0.4036, allocations: 38.19 kB / 1.069 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.4036, allocations: 192 / 1.069 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.4036, allocations: 3.938 kB / 1.069 GB, free: 9.406 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-06/0.4036, allocations: 0 / 1.069 GB, free: 9.406 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.274e-05/0.4037, allocations: 8 kB / 1.069 GB, free: 9.398 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001357/0.4038, allocations: 145.7 kB / 1.069 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.48e-05/0.4039, allocations: 18.61 kB / 1.069 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.14e-05/0.4039, allocations: 8.844 kB / 1.069 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.405e-05/0.4039, allocations: 4 kB / 1.069 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.4039, allocations: 42.56 kB / 1.069 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 9.51e-07/0.404, allocations: 0 / 1.069 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001357/0.4041, allocations: 33.64 kB / 1.069 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.268e-05/0.4041, allocations: 51.41 kB / 1.069 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.022e-05/0.4042, allocations: 89.86 kB / 1.069 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.089e-05/0.4042, allocations: 25.7 kB / 1.069 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.396e-05/0.4042, allocations: 80.27 kB / 1.069 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.897e-05/0.4043, allocations: 8 kB / 1.069 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.937e-05/0.4043, allocations: 17.7 kB / 1.069 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.4044, allocations: 314.8 kB / 1.07 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.04e-05/0.4044, allocations: 0 / 1.07 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.676e-06/0.4044, allocations: 7.938 kB / 1.07 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.751e-05/0.4045, allocations: 8.859 kB / 1.07 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.4045, allocations: 0 / 1.07 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.553e-05/0.4045, allocations: 33.77 kB / 1.07 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.4046, allocations: 7.984 kB / 1.07 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.4046, allocations: 0 / 1.07 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.4046, allocations: 7.938 kB / 1.07 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.515e-05/0.4047, allocations: 0 / 1.07 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.4047, allocations: 0 / 1.07 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.293e-05/0.4047, allocations: 3.938 kB / 1.07 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.4047, allocations: 4 kB / 1.07 GB, free: 8.371 MB / 0.8262 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.865e-05/0.4048, allocations: 109.8 kB / 1.07 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.967e-06/0.4048, allocations: 7.938 kB / 1.07 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001139/0.4049, allocations: 48.69 kB / 1.07 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.4049, allocations: 0 / 1.07 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.4049, allocations: 0 / 1.07 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.4049, allocations: 0 / 1.07 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001177/0.4051, allocations: 153.7 kB / 1.07 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.4051, allocations: 0 / 1.07 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.206e-05/0.4051, allocations: 4 kB / 1.07 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.4051, allocations: 7.969 kB / 1.07 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.4051, allocations: 3.938 kB / 1.07 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.4051, allocations: 0 / 1.07 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.4051, allocations: 0 / 1.07 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.921e-05/0.4052, allocations: 59.25 kB / 1.07 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.165e-05/0.4052, allocations: 81.09 kB / 1.07 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.129e-05/0.4053, allocations: 3.938 kB / 1.07 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.396e-05/0.4053, allocations: 8.031 kB / 1.07 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.585e-05/0.4053, allocations: 4 kB / 1.07 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.618e-06/0.4053, allocations: 0 / 1.07 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.184e-05/0.4053, allocations: 75.28 kB / 1.07 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4054, allocations: 0 / 1.07 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002244/0.4056, allocations: 8 kB / 1.07 GB, free: 7.707 MB / 0.8262 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.0001677/0.4058, allocations: 99.25 kB / 1.07 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.538e-05/0.4059, allocations: 7.984 kB / 1.07 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4059, allocations: 8.062 kB / 1.07 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.466e-05/0.4059, allocations: 3.938 kB / 1.07 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001549/0.4061, allocations: 0 / 1.07 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000212/0.4063, allocations: 84.92 kB / 1.071 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002332/0.4065, allocations: 0.6729 MB / 1.071 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.115e-05/0.4066, allocations: 12.05 kB / 1.071 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.52e-05/0.4066, allocations: 7.438 kB / 1.071 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.4066, allocations: 0 / 1.071 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of Templates: time 0.002194/0.4088, allocations: 284.6 kB / 1.072 GB, free: 6.473 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)