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.0009083/0.0009083, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.000927/0.0009272, allocations: 195.6 kB / 16.25 MB, free: 6.621 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.222/1.222, allocations: 205.1 MB / 222.1 MB, free: 4.688 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.327/1.327, allocations: 251.6 MB / 0.5089 GB, free: 3.246 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.001134/0.001134, allocations: 67.91 kB / 0.6218 GB, free: 1.805 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.42/0.4212, allocations: 104.7 MB / 0.724 GB, free: 13.2 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001455/0.4227, allocations: 0.6403 MB / 0.7246 GB, free: 12.55 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001203/0.4228, allocations: 35.88 kB / 0.7247 GB, free: 12.52 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.621e-06/0.4228, allocations: 4 kB / 0.7247 GB, free: 12.51 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 8.095e-06/0.4228, allocations: 3.938 kB / 0.7247 GB, free: 12.51 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.215e-06/0.4228, allocations: 0 / 0.7247 GB, free: 12.51 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000137/0.423, allocations: 15.98 kB / 0.7247 GB, free: 12.49 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 1.924e-05/0.423, allocations: 7.938 kB / 0.7247 GB, free: 12.48 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 1.808e-05/0.423, allocations: 0 / 0.7247 GB, free: 12.48 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.634e-06/0.423, allocations: 3.984 kB / 0.7247 GB, free: 12.48 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 1.404e-05/0.4231, allocations: 0 / 0.7247 GB, free: 12.48 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.408e-06/0.4231, allocations: 4 kB / 0.7247 GB, free: 12.48 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 5.566e-05/0.4231, allocations: 15.98 kB / 0.7247 GB, free: 12.46 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.178e-06/0.4231, allocations: 4 kB / 0.7247 GB, free: 12.46 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.055e-06/0.4231, allocations: 0 / 0.7247 GB, free: 12.46 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 4.348e-05/0.4232, allocations: 11.97 kB / 0.7247 GB, free: 12.45 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 1.533e-06/0.4232, allocations: 4 kB / 0.7247 GB, free: 12.44 MB / 0.545 GB Notification: Performance of FrontEnd: time 5.81e-07/0.4232, allocations: 7.938 kB / 0.7247 GB, free: 12.43 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.365e-06/0.4232, allocations: 0 / 0.7247 GB, free: 12.43 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.0001877/0.4234, allocations: 311.6 kB / 0.725 GB, free: 12.08 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.063e-05/0.4234, allocations: 12.02 kB / 0.725 GB, free: 12.07 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.867e-05/0.4235, allocations: 12.83 kB / 0.7251 GB, free: 12.05 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.282e-05/0.4235, allocations: 164.3 kB / 0.7252 GB, free: 11.86 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.338e-06/0.4235, allocations: 384 / 0.7252 GB, free: 11.86 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.679e-06/0.4236, allocations: 4.375 kB / 0.7252 GB, free: 11.85 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.194e-05/0.4236, allocations: 26.27 kB / 0.7252 GB, free: 11.82 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.705e-06/0.4236, allocations: 4.188 kB / 0.7252 GB, free: 11.82 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.931e-06/0.4236, allocations: 3.938 kB / 0.7253 GB, free: 11.81 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.623e-06/0.4236, allocations: 3.938 kB / 0.7253 GB, free: 11.81 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.205e-05/0.4236, allocations: 4 kB / 0.7253 GB, free: 11.8 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.909e-05/0.4237, allocations: 149.7 kB / 0.7254 GB, free: 11.61 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 2.437e-05/0.4238, allocations: 22.55 kB / 0.7254 GB, free: 11.58 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.078e-05/0.4238, allocations: 4.859 kB / 0.7254 GB, free: 11.57 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.076e-05/0.4238, allocations: 4 kB / 0.7254 GB, free: 11.57 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.677e-05/0.4238, allocations: 34.62 kB / 0.7255 GB, free: 11.52 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 7.81e-07/0.4238, allocations: 0 / 0.7255 GB, free: 11.52 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 6.555e-05/0.4239, allocations: 41.62 kB / 0.7255 GB, free: 11.48 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.061e-05/0.4239, allocations: 51.41 kB / 0.7256 GB, free: 11.41 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.652e-05/0.424, allocations: 93.8 kB / 0.7256 GB, free: 11.31 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.099e-05/0.424, allocations: 25.7 kB / 0.7257 GB, free: 11.28 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.767e-05/0.424, allocations: 80.14 kB / 0.7257 GB, free: 11.2 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.347e-05/0.424, allocations: 8.125 kB / 0.7258 GB, free: 11.19 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.12e-05/0.4241, allocations: 9.719 kB / 0.7258 GB, free: 11.18 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.477e-05/0.4242, allocations: 310.8 kB / 0.7261 GB, free: 10.86 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.254e-06/0.4242, allocations: 4 kB / 0.7261 GB, free: 10.86 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.979e-06/0.4242, allocations: 2.859 kB / 0.7261 GB, free: 10.86 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.884e-05/0.4242, allocations: 16.84 kB / 0.7261 GB, free: 10.84 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.4242, allocations: 0 / 0.7261 GB, free: 10.84 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.334e-05/0.4243, allocations: 33.77 kB / 0.7261 GB, free: 10.8 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.104e-06/0.4243, allocations: 4 kB / 0.7261 GB, free: 10.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.874e-06/0.4243, allocations: 0 / 0.7261 GB, free: 10.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.943e-06/0.4243, allocations: 7.938 kB / 0.7261 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.659e-05/0.4243, allocations: 3.938 kB / 0.7261 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.306e-06/0.4243, allocations: 0 / 0.7261 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.003e-05/0.4243, allocations: 0 / 0.7261 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.4243, allocations: 4 kB / 0.7261 GB, free: 10.78 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 6.007e-05/0.4244, allocations: 109.8 kB / 0.7262 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.751e-06/0.4244, allocations: 4.031 kB / 0.7262 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.092e-05/0.4245, allocations: 44.77 kB / 0.7263 GB, free: 10.61 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.4245, allocations: 3.938 kB / 0.7263 GB, free: 10.61 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.796e-06/0.4245, allocations: 0 / 0.7263 GB, free: 10.61 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.4245, allocations: 3.984 kB / 0.7263 GB, free: 10.6 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.064e-05/0.4246, allocations: 145.7 kB / 0.7264 GB, free: 10.41 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.4246, allocations: 0 / 0.7264 GB, free: 10.41 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.55e-05/0.4246, allocations: 7.938 kB / 0.7264 GB, free: 10.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.4247, allocations: 4.031 kB / 0.7264 GB, free: 10.4 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.283e-06/0.4247, allocations: 7.938 kB / 0.7264 GB, free: 10.39 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.4247, allocations: 3.938 kB / 0.7265 GB, free: 10.39 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.4247, allocations: 0 / 0.7265 GB, free: 10.39 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.489e-05/0.4247, allocations: 61.12 kB / 0.7265 GB, free: 10.31 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.429e-05/0.4248, allocations: 79.22 kB / 0.7266 GB, free: 10.21 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.438e-06/0.4248, allocations: 3.938 kB / 0.7266 GB, free: 10.21 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.458e-06/0.4248, allocations: 4.031 kB / 0.7266 GB, free: 10.21 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.847e-06/0.4248, allocations: 4 kB / 0.7266 GB, free: 10.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-06/0.4248, allocations: 3.984 kB / 0.7266 GB, free: 10.2 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.077e-05/0.4248, allocations: 75.28 kB / 0.7267 GB, free: 10.12 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.4249, allocations: 0 / 0.7267 GB, free: 10.12 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001634/0.425, allocations: 8 kB / 0.7267 GB, free: 10.12 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.0001285/0.4252, allocations: 103.2 kB / 0.7268 GB, free: 10 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 5.748e-05/0.4252, allocations: 15.94 kB / 0.7268 GB, free: 9.988 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.542e-06/0.4252, allocations: 0 / 0.7268 GB, free: 9.988 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.442e-06/0.4252, allocations: 0 / 0.7268 GB, free: 9.988 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001115/0.4254, allocations: 4 kB / 0.7268 GB, free: 9.984 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001299/0.4255, allocations: 80.83 kB / 0.7269 GB, free: 9.879 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002134/0.4257, allocations: 0.669 MB / 0.7275 GB, free: 9.184 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.399e-05/0.4257, allocations: 8.125 kB / 0.7275 GB, free: 9.176 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.783e-05/0.4258, allocations: 7.438 kB / 0.7275 GB, free: 9.168 MB / 0.545 GB Notification: Performance of SimCode: time 2.11e-07/0.4258, allocations: 0 / 0.7275 GB, free: 9.168 MB / 0.545 GB Notification: Performance of Templates: time 0.001745/0.4275, allocations: 292.7 kB / 0.7278 GB, free: 8.883 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile (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)