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.0007309/0.0007308, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.00428/0.00428, allocations: 170.7 kB / 16.27 MB, free: 6.648 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.154/1.154, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.329/1.329, allocations: 252 MB / 0.5105 GB, free: 4.648 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.0004575/0.0004575, allocations: 23.98 kB / 0.6249 GB, free: 0.7148 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3725/0.3729, allocations: 106.3 MB / 0.7287 GB, free: 11.26 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.0006209/0.3736, allocations: 324.5 kB / 0.729 GB, free: 10.94 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002146/0.3738, allocations: 39.94 kB / 0.7291 GB, free: 10.9 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.656e-06/0.3739, allocations: 0 / 0.7291 GB, free: 10.9 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.654e-05/0.3739, allocations: 3.938 kB / 0.7291 GB, free: 10.9 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.198e-06/0.3739, allocations: 3.938 kB / 0.7291 GB, free: 10.89 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002059/0.3741, allocations: 7.984 kB / 0.7291 GB, free: 10.89 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 3.28e-05/0.3741, allocations: 8 kB / 0.7291 GB, free: 10.88 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.236e-05/0.3742, allocations: 4 kB / 0.7291 GB, free: 10.88 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.534e-05/0.3742, allocations: 0 / 0.7291 GB, free: 10.88 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.639e-05/0.3743, allocations: 0 / 0.7291 GB, free: 10.88 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.404e-06/0.3743, allocations: 0 / 0.7291 GB, free: 10.88 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.616e-05/0.3743, allocations: 15.98 kB / 0.7291 GB, free: 10.86 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.012e-05/0.3744, allocations: 7.969 kB / 0.7291 GB, free: 10.85 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.622e-05/0.3744, allocations: 29.7 kB / 0.7292 GB, free: 10.82 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 7.053e-05/0.3745, allocations: 7.984 kB / 0.7292 GB, free: 10.81 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3745, allocations: 4 kB / 0.7292 GB, free: 10.8 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3745, allocations: 0 / 0.7292 GB, free: 10.8 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.306e-06/0.3745, allocations: 0 / 0.7292 GB, free: 10.8 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.0002489/0.3748, allocations: 315.6 kB / 0.7295 GB, free: 10.45 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.3748, allocations: 12.02 kB / 0.7295 GB, free: 10.43 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.7e-05/0.3748, allocations: 8.844 kB / 0.7295 GB, free: 10.43 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.4e-05/0.3749, allocations: 168.3 kB / 0.7296 GB, free: 10.22 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.3749, allocations: 384 / 0.7296 GB, free: 10.22 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.127e-06/0.3749, allocations: 384 / 0.7296 GB, free: 10.22 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.766e-05/0.375, allocations: 34.14 kB / 0.7297 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.881e-06/0.375, allocations: 192 / 0.7297 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.3751, allocations: 7.938 kB / 0.7297 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.3751, allocations: 8 kB / 0.7297 GB, free: 10.17 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.636e-05/0.3751, allocations: 0 / 0.7297 GB, free: 10.17 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001099/0.3752, allocations: 149.7 kB / 0.7298 GB, free: 9.973 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 3.59e-05/0.3752, allocations: 22.55 kB / 0.7299 GB, free: 9.941 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.443e-05/0.3753, allocations: 4.859 kB / 0.7299 GB, free: 9.934 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.967e-05/0.3753, allocations: 4.062 kB / 0.7299 GB, free: 9.93 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/0.3753, allocations: 34.56 kB / 0.7299 GB, free: 9.887 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.3753, allocations: 0 / 0.7299 GB, free: 9.887 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001107/0.3754, allocations: 41.62 kB / 0.7299 GB, free: 9.84 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.988e-05/0.3755, allocations: 51.41 kB / 0.73 GB, free: 9.777 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.126e-05/0.3755, allocations: 97.8 kB / 0.7301 GB, free: 9.672 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 9.107e-06/0.3755, allocations: 25.7 kB / 0.7301 GB, free: 9.641 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.185e-05/0.3756, allocations: 80.14 kB / 0.7302 GB, free: 9.559 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.466e-05/0.3756, allocations: 0 / 0.7302 GB, free: 9.559 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.811e-05/0.3756, allocations: 9.719 kB / 0.7302 GB, free: 9.543 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.821e-05/0.3757, allocations: 315 kB / 0.7305 GB, free: 9.227 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.644e-06/0.3757, allocations: 0 / 0.7305 GB, free: 9.227 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.055e-06/0.3757, allocations: 4 kB / 0.7305 GB, free: 9.223 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.598e-05/0.3758, allocations: 12.86 kB / 0.7305 GB, free: 9.207 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3758, allocations: 0 / 0.7305 GB, free: 9.207 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.941e-05/0.3758, allocations: 33.69 kB / 0.7305 GB, free: 9.168 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.3758, allocations: 5.719 kB / 0.7305 GB, free: 9.164 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.3759, allocations: 0 / 0.7305 GB, free: 9.164 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.3759, allocations: 12.03 kB / 0.7306 GB, free: 9.152 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.603e-05/0.3759, allocations: 3.938 kB / 0.7306 GB, free: 9.148 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.3759, allocations: 0 / 0.7306 GB, free: 9.148 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.182e-05/0.3759, allocations: 0 / 0.7306 GB, free: 9.148 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.376, allocations: 4 kB / 0.7306 GB, free: 9.145 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.594e-05/0.376, allocations: 105.8 kB / 0.7307 GB, free: 9.031 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.204e-06/0.376, allocations: 3.984 kB / 0.7307 GB, free: 9.027 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.105e-05/0.3761, allocations: 48.77 kB / 0.7307 GB, free: 8.973 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.3761, allocations: 0 / 0.7307 GB, free: 8.973 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3762, allocations: 0 / 0.7307 GB, free: 8.973 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.943e-06/0.3762, allocations: 3.938 kB / 0.7307 GB, free: 8.969 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.235e-05/0.3762, allocations: 145.7 kB / 0.7309 GB, free: 8.777 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.3762, allocations: 0 / 0.7309 GB, free: 8.777 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.761e-05/0.3763, allocations: 4 kB / 0.7309 GB, free: 8.773 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.3763, allocations: 0 / 0.7309 GB, free: 8.773 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.3763, allocations: 3.938 kB / 0.7309 GB, free: 8.77 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.215e-06/0.3763, allocations: 7.875 kB / 0.7309 GB, free: 8.762 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3763, allocations: 4.031 kB / 0.7309 GB, free: 8.758 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.106e-05/0.3764, allocations: 63.98 kB / 0.7309 GB, free: 8.68 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.673e-05/0.3764, allocations: 79.08 kB / 0.731 GB, free: 8.586 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.818e-06/0.3764, allocations: 3.938 kB / 0.731 GB, free: 8.582 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.728e-06/0.3764, allocations: 0 / 0.731 GB, free: 8.582 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.058e-05/0.3764, allocations: 4 kB / 0.731 GB, free: 8.578 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.437e-06/0.3764, allocations: 0 / 0.731 GB, free: 8.578 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.394e-05/0.3765, allocations: 79.31 kB / 0.7311 GB, free: 8.5 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3765, allocations: 0 / 0.7311 GB, free: 8.5 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001716/0.3767, allocations: 4 kB / 0.7311 GB, free: 8.496 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 (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.0001221/0.3768, allocations: 103.2 kB / 0.7312 GB, free: 8.383 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 5.376e-05/0.3768, allocations: 11.94 kB / 0.7312 GB, free: 8.371 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3768, allocations: 0 / 0.7312 GB, free: 8.371 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.617e-06/0.3769, allocations: 4 kB / 0.7312 GB, free: 8.367 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000117/0.377, allocations: 4.125 kB / 0.7312 GB, free: 8.363 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001502/0.3771, allocations: 82.66 kB / 0.7313 GB, free: 8.258 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001786/0.3773, allocations: 0.6692 MB / 0.732 GB, free: 7.562 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.528e-05/0.3774, allocations: 4 kB / 0.732 GB, free: 7.559 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.26e-05/0.3774, allocations: 15.38 kB / 0.732 GB, free: 7.543 MB / 0.545 GB Notification: Performance of SimCode: time 3.2e-07/0.3774, allocations: 4 kB / 0.732 GB, free: 7.539 MB / 0.545 GB Notification: Performance of Templates: time 0.001852/0.3793, allocations: 284.6 kB / 0.7322 GB, free: 7.262 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: