Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Examples.Polynominal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Polynominal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.Polynominal") translateModel(Buildings.Utilities.Math.Examples.Polynominal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.Polynominal") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.1883/0.1903, allocations: 80.83 MB / 0.6706 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynominal): time 0.003029/0.1934, allocations: 1.419 MB / 0.672 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005534/0.194, allocations: 131.9 kB / 0.6721 GB, free: 500 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.62e-05/0.194, allocations: 0 / 0.6721 GB, free: 500 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001041/0.1942, allocations: 3.938 kB / 0.6721 GB, free: 496 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.726e-05/0.1942, allocations: 11.92 kB / 0.6721 GB, free: 484 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003841/0.1946, allocations: 19.92 kB / 0.6722 GB, free: 464 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.155e-05/0.1947, allocations: 23.98 kB / 0.6722 GB, free: 440 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.1948, allocations: 12 kB / 0.6722 GB, free: 428 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.393e-05/0.1949, allocations: 7.922 kB / 0.6722 GB, free: 420 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.146e-05/0.195, allocations: 19.91 kB / 0.6722 GB, free: 400 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.195, allocations: 4 kB / 0.6722 GB, free: 396 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001694/0.1952, allocations: 47.95 kB / 0.6723 GB, free: 348 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.09e-05/0.1952, allocations: 7.938 kB / 0.6723 GB, free: 340 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.784e-05/0.1953, allocations: 15.92 kB / 0.6723 GB, free: 324 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001859/0.1955, allocations: 51.81 kB / 0.6723 GB, free: 272 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.004e-05/0.1955, allocations: 3.984 kB / 0.6723 GB, free: 268 kB / 0.4981 GB Notification: Performance of FrontEnd: time 2.605e-06/0.1955, allocations: 0 / 0.6723 GB, free: 268 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.323e-06/0.1955, allocations: 0 / 0.6723 GB, free: 268 kB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000597/0.1961, allocations: 351.4 kB / 0.6727 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.1962, allocations: 8.031 kB / 0.6727 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.644e-05/0.1962, allocations: 4.938 kB / 0.6727 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001697/0.1964, allocations: 164.3 kB / 0.6728 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.1964, allocations: 4.375 kB / 0.6728 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.589e-05/0.1964, allocations: 4.312 kB / 0.6729 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002125/0.1967, allocations: 53.61 kB / 0.6729 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.1967, allocations: 7.984 kB / 0.6729 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.1967, allocations: 0 / 0.6729 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.1967, allocations: 0 / 0.6729 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001869/0.1969, allocations: 43.89 kB / 0.673 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000357/0.1973, allocations: 260.8 kB / 0.6732 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001313/0.1974, allocations: 38.56 kB / 0.6732 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.1975, allocations: 28.89 kB / 0.6733 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.794e-05/0.1976, allocations: 4 kB / 0.6733 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.1976, allocations: 30.56 kB / 0.6733 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 2.304e-06/0.1976, allocations: 0 / 0.6733 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0003752/0.198, allocations: 93.58 kB / 0.6734 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.02e-05/0.198, allocations: 51.41 kB / 0.6734 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.1982, allocations: 105.8 kB / 0.6735 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.1982, allocations: 25.7 kB / 0.6736 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.388e-05/0.1982, allocations: 88.14 kB / 0.6736 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.939e-05/0.1983, allocations: 3.906 kB / 0.6737 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.858e-05/0.1983, allocations: 9.719 kB / 0.6737 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.1984, allocations: 330.9 kB / 0.674 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.575e-05/0.1985, allocations: 11.98 kB / 0.674 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.597e-05/0.1986, allocations: 19.98 kB / 0.674 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/0.1988, allocations: 44.75 kB / 0.674 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1988, allocations: 7.938 kB / 0.6741 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001889/0.199, allocations: 73.62 kB / 0.6741 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.199, allocations: 6.344 kB / 0.6741 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.199, allocations: 0 / 0.6741 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.199, allocations: 4 kB / 0.6741 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.418e-05/0.1991, allocations: 7.984 kB / 0.6741 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.1991, allocations: 0 / 0.6741 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.421e-05/0.1992, allocations: 4 kB / 0.6741 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.1992, allocations: 0 / 0.6741 GB, free: 14.19 MB / 0.5137 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 (2): * Single equations (assignments): 2 * 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 8.328e-05/0.1993, allocations: 125.8 kB / 0.6743 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.149e-05/0.1993, allocations: 256 / 0.6743 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002437/0.1996, allocations: 85.12 kB / 0.6743 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.1996, allocations: 0 / 0.6743 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1996, allocations: 0 / 0.6743 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1996, allocations: 0 / 0.6743 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001672/0.1998, allocations: 165.6 kB / 0.6745 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1998, allocations: 4.031 kB / 0.6745 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.629e-05/0.1998, allocations: 7.984 kB / 0.6745 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.1998, allocations: 0 / 0.6745 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.1999, allocations: 7.938 kB / 0.6745 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.1999, allocations: 0 / 0.6745 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1999, allocations: 0 / 0.6745 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002422/0.2001, allocations: 175.3 kB / 0.6747 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.388e-05/0.2002, allocations: 81.11 kB / 0.6748 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.2002, allocations: 0 / 0.6748 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.229e-05/0.2003, allocations: 7.984 kB / 0.6748 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.841e-05/0.2003, allocations: 0 / 0.6748 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.2003, allocations: 0 / 0.6748 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.425e-05/0.2004, allocations: 91.27 kB / 0.6749 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.2004, allocations: 0 / 0.6749 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002309/0.2006, allocations: 8 kB / 0.6749 GB, free: 13.34 MB / 0.5137 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 (2): * Single equations (assignments): 2 * 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.000156/0.2008, allocations: 103.3 kB / 0.675 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002574/0.2011, allocations: 51.89 kB / 0.675 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.2011, allocations: 0 / 0.675 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.5e-05/0.2012, allocations: 19.92 kB / 0.675 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003362/0.2015, allocations: 11.94 kB / 0.6751 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003678/0.2019, allocations: 111.7 kB / 0.6752 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000296/0.2022, allocations: 0.6807 MB / 0.6758 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.612e-05/0.2022, allocations: 0 / 0.6758 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.11e-05/0.2023, allocations: 7.438 kB / 0.6758 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of SimCode: time 2e-07/0.2023, allocations: 0 / 0.6758 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of Templates: time 0.003145/0.2054, allocations: 0.5439 MB / 0.6764 GB, free: 11.75 MB / 0.5137 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.Polynominal.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.Polynominal.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Examples.Polynominal.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Examples.Polynominal.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Examples.Polynominal.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Examples.Polynominal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Examples.Polynominal.pipe 2>&1)