Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.PolynomialDerivativeCheck.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.Functions.Examples.PolynomialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.PolynomialDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.PolynomialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.PolynomialDerivativeCheck") [/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.4925/0.4957, allocations: 80.82 MB / 0.5904 GB, free: 22.21 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PolynomialDerivativeCheck): time 0.001886/0.4976, allocations: 0.5461 MB / 0.591 GB, free: 21.8 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004315/0.4981, allocations: 162.9 kB / 0.5911 GB, free: 21.68 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.516e-05/0.4981, allocations: 1.344 kB / 0.5911 GB, free: 21.68 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.854e-05/0.4981, allocations: 0 / 0.5911 GB, free: 21.68 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.813e-06/0.4982, allocations: 0 / 0.5911 GB, free: 21.68 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004103/0.4986, allocations: 46.53 kB / 0.5912 GB, free: 21.65 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.118e-05/0.4986, allocations: 7.719 kB / 0.5912 GB, free: 21.65 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.966e-05/0.4987, allocations: 1.875 kB / 0.5912 GB, free: 21.65 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.092e-05/0.4987, allocations: 8.406 kB / 0.5912 GB, free: 21.64 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.932e-05/0.4988, allocations: 9.281 kB / 0.5912 GB, free: 21.64 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.4988, allocations: 0 / 0.5912 GB, free: 21.64 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001527/0.4989, allocations: 49.64 kB / 0.5912 GB, free: 21.61 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.376e-05/0.499, allocations: 5.719 kB / 0.5912 GB, free: 21.61 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.99e-05/0.499, allocations: 3.125 kB / 0.5912 GB, free: 21.61 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001297/0.4991, allocations: 34.22 kB / 0.5913 GB, free: 21.59 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.4991, allocations: 0 / 0.5913 GB, free: 21.59 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.4991, allocations: 0 / 0.5913 GB, free: 21.59 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.4992, allocations: 1.188 kB / 0.5913 GB, free: 21.59 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003148/0.4995, allocations: 330.7 kB / 0.5916 GB, free: 21.22 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.587e-05/0.4995, allocations: 9.906 kB / 0.5916 GB, free: 21.22 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.189e-05/0.4996, allocations: 2.062 kB / 0.5916 GB, free: 21.22 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001021/0.4997, allocations: 164 kB / 0.5918 GB, free: 21.03 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.4997, allocations: 2.25 kB / 0.5918 GB, free: 21.03 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.574e-05/0.4998, allocations: 2.688 kB / 0.5918 GB, free: 21.03 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.4999, allocations: 41.22 kB / 0.5918 GB, free: 20.98 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.4999, allocations: 5.031 kB / 0.5918 GB, free: 20.98 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.4999, allocations: 0.9062 kB / 0.5918 GB, free: 20.98 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.4999, allocations: 0 / 0.5918 GB, free: 20.98 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.238e-05/0.5, allocations: 5.062 kB / 0.5918 GB, free: 20.98 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001314/0.5001, allocations: 152.1 kB / 0.592 GB, free: 20.79 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.996e-05/0.5002, allocations: 18.61 kB / 0.592 GB, free: 20.76 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.277e-05/0.5002, allocations: 8.328 kB / 0.592 GB, free: 20.75 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.112e-05/0.5002, allocations: 3.656 kB / 0.592 GB, free: 20.75 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.5003, allocations: 39.98 kB / 0.592 GB, free: 20.71 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.623e-06/0.5003, allocations: 0 / 0.592 GB, free: 20.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0006038/0.5009, allocations: 258.2 kB / 0.5923 GB, free: 20.43 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/0.5009, allocations: 51.41 kB / 0.5923 GB, free: 20.37 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.258e-05/0.501, allocations: 91.27 kB / 0.5924 GB, free: 20.27 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.047e-05/0.501, allocations: 25.7 kB / 0.5924 GB, free: 20.24 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.956e-05/0.501, allocations: 80.36 kB / 0.5925 GB, free: 20.16 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.462e-05/0.5011, allocations: 13.59 kB / 0.5925 GB, free: 20.15 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.414e-05/0.5011, allocations: 21.58 kB / 0.5925 GB, free: 20.12 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.16e-05/0.5012, allocations: 316 kB / 0.5928 GB, free: 19.81 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.127e-05/0.5012, allocations: 3.625 kB / 0.5928 GB, free: 19.81 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.83e-05/0.5012, allocations: 22.52 kB / 0.5929 GB, free: 19.79 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.487e-05/0.5013, allocations: 26.47 kB / 0.5929 GB, free: 19.76 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.5013, allocations: 1.281 kB / 0.5929 GB, free: 19.76 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.893e-05/0.5014, allocations: 56.38 kB / 0.5929 GB, free: 19.71 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.5014, allocations: 6.125 kB / 0.5929 GB, free: 19.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.5014, allocations: 0 / 0.5929 GB, free: 19.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.5015, allocations: 1.344 kB / 0.5929 GB, free: 19.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.584e-05/0.5015, allocations: 5.719 kB / 0.593 GB, free: 19.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.996e-06/0.5015, allocations: 5.109 kB / 0.593 GB, free: 19.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.138e-05/0.5016, allocations: 9.5 kB / 0.593 GB, free: 19.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.688e-05/0.5016, allocations: 2.625 kB / 0.593 GB, free: 19.7 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.817e-05/0.5017, allocations: 123 kB / 0.5931 GB, free: 19.57 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.273e-05/0.5017, allocations: 9.422 kB / 0.5931 GB, free: 19.57 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001398/0.5018, allocations: 58.25 kB / 0.5932 GB, free: 19.51 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.5018, allocations: 5.625 kB / 0.5932 GB, free: 19.51 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.5018, allocations: 0 / 0.5932 GB, free: 19.51 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.5018, allocations: 0 / 0.5932 GB, free: 19.51 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.471e-05/0.5019, allocations: 153.2 kB / 0.5933 GB, free: 19.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.5019, allocations: 0 / 0.5933 GB, free: 19.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.638e-05/0.502, allocations: 8.469 kB / 0.5933 GB, free: 19.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.502, allocations: 5.703 kB / 0.5933 GB, free: 19.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.502, allocations: 0 / 0.5933 GB, free: 19.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.502, allocations: 4.844 kB / 0.5933 GB, free: 19.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.502, allocations: 0 / 0.5933 GB, free: 19.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001196/0.5022, allocations: 82.55 kB / 0.5934 GB, free: 19.22 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.767e-05/0.5022, allocations: 81.05 kB / 0.5935 GB, free: 19.12 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.5022, allocations: 1.156 kB / 0.5935 GB, free: 19.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.297e-05/0.5023, allocations: 5.234 kB / 0.5935 GB, free: 19.12 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.71e-05/0.5023, allocations: 1.125 kB / 0.5935 GB, free: 19.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.5023, allocations: 2.219 kB / 0.5935 GB, free: 19.12 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.653e-05/0.5023, allocations: 78.94 kB / 0.5936 GB, free: 19.04 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5023, allocations: 0 / 0.5936 GB, free: 19.04 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002335/0.5026, allocations: 13.41 kB / 0.5936 GB, free: 19.04 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.000158/0.5027, allocations: 119.5 kB / 0.5937 GB, free: 18.94 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001046/0.5028, allocations: 19.69 kB / 0.5937 GB, free: 18.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.5028, allocations: 0 / 0.5937 GB, free: 18.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.998e-05/0.5029, allocations: 14.7 kB / 0.5937 GB, free: 18.92 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001513/0.503, allocations: 1.594 kB / 0.5937 GB, free: 18.92 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002646/0.5033, allocations: 111.8 kB / 0.5938 GB, free: 18.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001543/0.5035, allocations: 0.6757 MB / 0.5945 GB, free: 18.11 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.119e-05/0.5035, allocations: 11.92 kB / 0.5945 GB, free: 18.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.852e-05/0.5035, allocations: 14.69 kB / 0.5945 GB, free: 18.09 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.5036, allocations: 0 / 0.5945 GB, free: 18.09 MB / 446.1 MB Notification: Performance of Templates: time 0.003054/0.5066, allocations: 0.5327 MB / 0.595 GB, free: 17.69 MB / 446.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.PolynomialDerivativeCheck.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.PolynomialDerivativeCheck.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.PolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.PolynomialDerivativeCheck.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.PolynomialDerivativeCheck.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.PolynomialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.PolynomialDerivativeCheck.pipe 2>&1)