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.223/0.2251, allocations: 80.83 MB / 0.6706 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynominal): time 0.003361/0.2285, allocations: 1.408 MB / 0.672 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004813/0.229, allocations: 131.9 kB / 0.6721 GB, free: 488 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.87e-05/0.2291, allocations: 0 / 0.6721 GB, free: 488 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.454e-05/0.2292, allocations: 7.922 kB / 0.6721 GB, free: 480 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.475e-05/0.2292, allocations: 3.938 kB / 0.6721 GB, free: 476 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003498/0.2296, allocations: 27.98 kB / 0.6721 GB, free: 448 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.62e-05/0.2297, allocations: 23.92 kB / 0.6722 GB, free: 424 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.2298, allocations: 11.97 kB / 0.6722 GB, free: 412 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.197e-05/0.2299, allocations: 7.938 kB / 0.6722 GB, free: 404 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.503e-05/0.2299, allocations: 11.98 kB / 0.6722 GB, free: 392 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.2299, allocations: 4 kB / 0.6722 GB, free: 388 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001394/0.2301, allocations: 47.89 kB / 0.6723 GB, free: 340 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.99e-05/0.2301, allocations: 15.92 kB / 0.6723 GB, free: 324 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.001e-05/0.2302, allocations: 11.94 kB / 0.6723 GB, free: 312 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001477/0.2303, allocations: 55.86 kB / 0.6723 GB, free: 256 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.2303, allocations: 0 / 0.6723 GB, free: 256 kB / 0.4981 GB Notification: Performance of FrontEnd: time 3.777e-06/0.2303, allocations: 0 / 0.6723 GB, free: 256 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.313e-05/0.2304, allocations: 3.938 kB / 0.6723 GB, free: 252 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.0005326/0.2309, allocations: 347.4 kB / 0.6727 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.2309, allocations: 11.97 kB / 0.6727 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.011e-05/0.231, allocations: 8.938 kB / 0.6727 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.2311, allocations: 164.3 kB / 0.6728 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.2311, allocations: 384 / 0.6728 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.365e-05/0.2312, allocations: 8.375 kB / 0.6729 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001954/0.2314, allocations: 57.59 kB / 0.6729 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.2314, allocations: 0 / 0.6729 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.936e-06/0.2314, allocations: 0 / 0.6729 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.2314, allocations: 0 / 0.6729 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001765/0.2316, allocations: 39.95 kB / 0.6729 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003669/0.232, allocations: 264.8 kB / 0.6732 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000141/0.2321, allocations: 38.56 kB / 0.6732 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.518e-05/0.2322, allocations: 28.89 kB / 0.6733 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.495e-05/0.2323, allocations: 4 kB / 0.6733 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.2323, allocations: 30.56 kB / 0.6733 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.2323, allocations: 4 kB / 0.6733 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0004151/0.2327, allocations: 89.58 kB / 0.6734 GB, free: 15 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.205e-05/0.2328, allocations: 51.41 kB / 0.6734 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.2329, allocations: 105.8 kB / 0.6735 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.2329, allocations: 25.7 kB / 0.6736 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.01e-05/0.233, allocations: 84.14 kB / 0.6736 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.506e-05/0.233, allocations: 12.03 kB / 0.6737 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.015e-05/0.233, allocations: 9.719 kB / 0.6737 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.2332, allocations: 326.8 kB / 0.674 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.562e-05/0.2333, allocations: 11.98 kB / 0.674 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.641e-05/0.2334, allocations: 19.98 kB / 0.674 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001605/0.2335, allocations: 44.88 kB / 0.674 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.2335, allocations: 3.938 kB / 0.674 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001917/0.2337, allocations: 77.5 kB / 0.6741 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.2338, allocations: 6.5 kB / 0.6741 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.2338, allocations: 0 / 0.6741 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.2338, allocations: 0 / 0.6741 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.471e-05/0.2339, allocations: 11.98 kB / 0.6741 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.2339, allocations: 0 / 0.6741 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.595e-05/0.234, allocations: 8.031 kB / 0.6741 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.912e-06/0.234, allocations: 4 kB / 0.6742 GB, free: 14.16 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 9.322e-05/0.2341, allocations: 117.8 kB / 0.6743 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.329e-05/0.2341, allocations: 0 / 0.6743 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002638/0.2344, allocations: 77.12 kB / 0.6743 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.2344, allocations: 4 kB / 0.6743 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.2344, allocations: 4.281 kB / 0.6743 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.2344, allocations: 0 / 0.6743 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001563/0.2346, allocations: 173.5 kB / 0.6745 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2346, allocations: 4 kB / 0.6745 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.567e-05/0.2346, allocations: 7.984 kB / 0.6745 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.2346, allocations: 0 / 0.6745 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.2346, allocations: 0 / 0.6745 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.2347, allocations: 0 / 0.6745 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2347, allocations: 4 kB / 0.6745 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002544/0.2349, allocations: 171.4 kB / 0.6747 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.958e-05/0.235, allocations: 81.11 kB / 0.6748 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.23e-05/0.235, allocations: 0 / 0.6748 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.69e-05/0.2351, allocations: 7.984 kB / 0.6748 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.056e-05/0.2351, allocations: 3.938 kB / 0.6748 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.2351, allocations: 0 / 0.6748 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.93e-05/0.2352, allocations: 95.3 kB / 0.6749 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4.41e-07/0.2352, allocations: 0 / 0.6749 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002278/0.2354, allocations: 4 kB / 0.6749 GB, free: 13.32 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.0001496/0.2356, allocations: 103.2 kB / 0.675 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002385/0.2358, allocations: 51.89 kB / 0.675 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2358, allocations: 0 / 0.675 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.896e-05/0.2359, allocations: 20.05 kB / 0.675 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002587/0.2362, allocations: 11.94 kB / 0.6751 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003307/0.2365, allocations: 111.4 kB / 0.6752 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003025/0.2369, allocations: 0.6768 MB / 0.6758 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.239e-05/0.2369, allocations: 7.984 kB / 0.6758 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.636e-05/0.2369, allocations: 7.438 kB / 0.6758 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of SimCode: time 4.91e-07/0.2369, allocations: 64 / 0.6758 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of Templates: time 0.003703/0.2406, allocations: 0.5399 MB / 0.6764 GB, free: 11.73 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)