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.4841/0.4865, allocations: 80.81 MB / 0.5904 GB, free: 22.28 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynominal): time 0.003196/0.4898, allocations: 1.407 MB / 0.5918 GB, free: 21.18 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004964/0.4903, allocations: 132.2 kB / 0.5919 GB, free: 21.08 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.132e-05/0.4903, allocations: 1.25 kB / 0.5919 GB, free: 21.08 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 6.863e-05/0.4904, allocations: 3.938 kB / 0.5919 GB, free: 21.07 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.047e-05/0.4905, allocations: 3.469 kB / 0.5919 GB, free: 21.07 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003217/0.4908, allocations: 37.89 kB / 0.5919 GB, free: 21.05 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.969e-05/0.4909, allocations: 26.3 kB / 0.592 GB, free: 21.03 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.491, allocations: 3.625 kB / 0.592 GB, free: 21.03 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.187e-05/0.4911, allocations: 11.73 kB / 0.592 GB, free: 21.02 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.696e-05/0.4911, allocations: 11.88 kB / 0.592 GB, free: 21.02 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.584e-05/0.4912, allocations: 2.625 kB / 0.592 GB, free: 21.02 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001527/0.4913, allocations: 55.44 kB / 0.5921 GB, free: 20.98 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.014e-05/0.4914, allocations: 2.5 kB / 0.5921 GB, free: 20.98 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.184e-05/0.4914, allocations: 14.14 kB / 0.5921 GB, free: 20.97 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001546/0.4916, allocations: 52.03 kB / 0.5921 GB, free: 20.94 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.4916, allocations: 1.406 kB / 0.5921 GB, free: 20.94 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.4916, allocations: 4.625 kB / 0.5921 GB, free: 20.93 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.4916, allocations: 0 / 0.5921 GB, free: 20.93 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005406/0.4922, allocations: 352.4 kB / 0.5925 GB, free: 20.56 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.4922, allocations: 8.688 kB / 0.5925 GB, free: 20.56 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.522e-05/0.4922, allocations: 11.47 kB / 0.5925 GB, free: 20.55 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.683e-05/0.4923, allocations: 171.4 kB / 0.5926 GB, free: 20.35 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.4924, allocations: 384 / 0.5926 GB, free: 20.35 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.273e-05/0.4924, allocations: 1.812 kB / 0.5926 GB, free: 20.35 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002033/0.4926, allocations: 56.14 kB / 0.5927 GB, free: 20.3 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.4926, allocations: 3.938 kB / 0.5927 GB, free: 20.3 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.4926, allocations: 0.5938 kB / 0.5927 GB, free: 20.3 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.4926, allocations: 1.094 kB / 0.5927 GB, free: 20.3 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001721/0.4928, allocations: 39.61 kB / 0.5927 GB, free: 20.29 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003803/0.4932, allocations: 261.9 kB / 0.593 GB, free: 19.99 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000152/0.4934, allocations: 40.69 kB / 0.593 GB, free: 19.96 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.4935, allocations: 22.56 kB / 0.593 GB, free: 19.95 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.582e-05/0.4935, allocations: 11.97 kB / 0.5931 GB, free: 19.93 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.879e-05/0.4936, allocations: 30.56 kB / 0.5931 GB, free: 19.89 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.4936, allocations: 4 kB / 0.5931 GB, free: 19.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003957/0.494, allocations: 93.23 kB / 0.5932 GB, free: 19.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/0.494, allocations: 55.41 kB / 0.5932 GB, free: 19.73 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.702e-05/0.4941, allocations: 109.8 kB / 0.5933 GB, free: 19.61 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.376e-06/0.4941, allocations: 25.7 kB / 0.5934 GB, free: 19.58 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.274e-05/0.4942, allocations: 80.14 kB / 0.5934 GB, free: 19.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.257e-05/0.4942, allocations: 11.62 kB / 0.5935 GB, free: 19.49 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-05/0.4943, allocations: 13.72 kB / 0.5935 GB, free: 19.47 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.27e-05/0.4943, allocations: 314.8 kB / 0.5938 GB, free: 19.16 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.773e-05/0.4944, allocations: 23.97 kB / 0.5938 GB, free: 19.13 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.324e-05/0.4945, allocations: 15.98 kB / 0.5938 GB, free: 19.12 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001499/0.4947, allocations: 48 kB / 0.5938 GB, free: 19.07 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.4947, allocations: 0 / 0.5938 GB, free: 19.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001732/0.4949, allocations: 65.61 kB / 0.5939 GB, free: 19 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.4949, allocations: 11.98 kB / 0.5939 GB, free: 18.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.4949, allocations: 0 / 0.5939 GB, free: 18.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.4949, allocations: 4.219 kB / 0.5939 GB, free: 18.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.06e-05/0.495, allocations: 8 kB / 0.5939 GB, free: 18.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.495, allocations: 0 / 0.5939 GB, free: 18.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.394e-05/0.4951, allocations: 7.984 kB / 0.5939 GB, free: 18.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.473e-06/0.4951, allocations: 0 / 0.5939 GB, free: 18.97 MB / 446.1 MB 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 5.131e-05/0.4951, allocations: 113.8 kB / 0.5941 GB, free: 18.85 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.287e-05/0.4952, allocations: 4 kB / 0.5941 GB, free: 18.84 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002174/0.4954, allocations: 81.11 kB / 0.5941 GB, free: 18.76 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.4954, allocations: 3.938 kB / 0.5941 GB, free: 18.76 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.4954, allocations: 256 / 0.5941 GB, free: 18.76 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.4954, allocations: 0 / 0.5941 GB, free: 18.76 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001276/0.4956, allocations: 177.5 kB / 0.5943 GB, free: 18.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-06/0.4956, allocations: 0 / 0.5943 GB, free: 18.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.964e-05/0.4956, allocations: 8 kB / 0.5943 GB, free: 18.53 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.4956, allocations: 0 / 0.5943 GB, free: 18.53 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.4956, allocations: 0 / 0.5943 GB, free: 18.53 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.4956, allocations: 4.031 kB / 0.5943 GB, free: 18.52 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.4957, allocations: 3.984 kB / 0.5943 GB, free: 18.52 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001998/0.4959, allocations: 171.4 kB / 0.5945 GB, free: 18.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.183e-05/0.4959, allocations: 77.11 kB / 0.5946 GB, free: 18.24 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/0.4959, allocations: 0 / 0.5946 GB, free: 18.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.627e-05/0.496, allocations: 4 kB / 0.5946 GB, free: 18.24 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.231e-05/0.4961, allocations: 12.02 kB / 0.5946 GB, free: 18.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-06/0.4961, allocations: 0 / 0.5946 GB, free: 18.23 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.51e-05/0.4962, allocations: 87.22 kB / 0.5947 GB, free: 18.14 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4962, allocations: 0 / 0.5947 GB, free: 18.14 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002391/0.4964, allocations: 8 kB / 0.5947 GB, free: 18.13 MB / 446.1 MB 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.0001948/0.4966, allocations: 99.23 kB / 0.5948 GB, free: 18.03 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002602/0.4969, allocations: 39.97 kB / 0.5948 GB, free: 17.99 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.4969, allocations: 4 kB / 0.5948 GB, free: 17.98 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.643e-05/0.497, allocations: 23.97 kB / 0.5948 GB, free: 17.96 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004176/0.4974, allocations: 9.75 kB / 0.5948 GB, free: 17.95 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000428/0.4978, allocations: 117.4 kB / 0.5949 GB, free: 17.81 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002578/0.4981, allocations: 0.6846 MB / 0.5956 GB, free: 17.1 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.893e-05/0.4982, allocations: 0 / 0.5956 GB, free: 17.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.269e-05/0.4982, allocations: 11.44 kB / 0.5956 GB, free: 17.09 MB / 446.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4982, allocations: 0 / 0.5956 GB, free: 17.09 MB / 446.1 MB Notification: Performance of Templates: time 0.003413/0.5016, allocations: 0.5344 MB / 0.5961 GB, free: 16.57 MB / 446.1 MB 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)