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.243/0.2454, allocations: 80.84 MB / 0.6706 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynominal): time 0.004136/0.2496, allocations: 1.416 MB / 0.672 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000514/0.2501, allocations: 127.9 kB / 0.6721 GB, free: 484 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.377e-05/0.2502, allocations: 0 / 0.6721 GB, free: 484 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001006/0.2504, allocations: 3.938 kB / 0.6721 GB, free: 480 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.208e-05/0.2505, allocations: 4 kB / 0.6721 GB, free: 476 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004188/0.2509, allocations: 31.89 kB / 0.6722 GB, free: 444 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001161/0.251, allocations: 27.92 kB / 0.6722 GB, free: 416 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.2512, allocations: 8 kB / 0.6722 GB, free: 408 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.688e-05/0.2512, allocations: 11.92 kB / 0.6722 GB, free: 396 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.486e-05/0.2513, allocations: 8 kB / 0.6722 GB, free: 388 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.2513, allocations: 4 kB / 0.6722 GB, free: 384 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002059/0.2515, allocations: 59.88 kB / 0.6723 GB, free: 324 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.624e-05/0.2516, allocations: 3.938 kB / 0.6723 GB, free: 320 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.481e-05/0.2517, allocations: 11.94 kB / 0.6723 GB, free: 308 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001972/0.2519, allocations: 47.86 kB / 0.6723 GB, free: 260 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.2519, allocations: 4 kB / 0.6723 GB, free: 256 kB / 0.4981 GB Notification: Performance of FrontEnd: time 2.365e-06/0.2519, allocations: 4 kB / 0.6723 GB, free: 252 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.536e-06/0.2519, allocations: 0 / 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.0006154/0.2525, allocations: 355.3 kB / 0.6727 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.2526, allocations: 8.031 kB / 0.6727 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.993e-05/0.2526, allocations: 4.938 kB / 0.6727 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001856/0.2528, allocations: 164.3 kB / 0.6728 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.2529, allocations: 8.312 kB / 0.6729 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.502e-05/0.2529, allocations: 384 / 0.6729 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002394/0.2531, allocations: 57.61 kB / 0.6729 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.2532, allocations: 0 / 0.6729 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.2532, allocations: 0 / 0.6729 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.2532, allocations: 0 / 0.6729 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001849/0.2534, allocations: 39.95 kB / 0.6729 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004878/0.2539, allocations: 264.8 kB / 0.6732 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001478/0.254, allocations: 38.56 kB / 0.6732 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.862e-05/0.2541, allocations: 20.91 kB / 0.6733 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.537e-05/0.2542, allocations: 7.984 kB / 0.6733 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.2542, allocations: 34.56 kB / 0.6733 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.542e-05/0.2542, allocations: 0 / 0.6733 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0004096/0.2547, allocations: 89.58 kB / 0.6734 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.945e-05/0.2547, allocations: 55.41 kB / 0.6734 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.8e-05/0.2548, allocations: 109.8 kB / 0.6735 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.2548, allocations: 25.7 kB / 0.6736 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.723e-05/0.2549, allocations: 84.14 kB / 0.6736 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.996e-05/0.2549, allocations: 3.906 kB / 0.6736 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.696e-05/0.255, allocations: 13.84 kB / 0.6737 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.2551, allocations: 322.8 kB / 0.674 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.277e-05/0.2552, allocations: 19.97 kB / 0.674 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.648e-05/0.2553, allocations: 15.98 kB / 0.674 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001641/0.2555, allocations: 48.81 kB / 0.6741 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2555, allocations: 4.062 kB / 0.6741 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002175/0.2557, allocations: 69.52 kB / 0.6741 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.2558, allocations: 11.92 kB / 0.6741 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.2558, allocations: 0 / 0.6741 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.2558, allocations: 4 kB / 0.6741 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.81e-05/0.2559, allocations: 4 kB / 0.6741 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.2559, allocations: 0 / 0.6741 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.068e-05/0.256, allocations: 7.984 kB / 0.6741 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.256, allocations: 4.031 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 0.0001116/0.2561, allocations: 117.8 kB / 0.6743 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.63e-05/0.2561, allocations: 0 / 0.6743 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002912/0.2564, allocations: 81.36 kB / 0.6743 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.2565, allocations: 0 / 0.6743 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.869e-06/0.2565, allocations: 4 kB / 0.6743 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.2565, allocations: 0 / 0.6743 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001892/0.2567, allocations: 173.6 kB / 0.6745 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.2567, allocations: 0 / 0.6745 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.6e-05/0.2567, allocations: 4 kB / 0.6745 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.2568, allocations: 3.938 kB / 0.6745 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-06/0.2568, allocations: 4 kB / 0.6745 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.2568, allocations: 0 / 0.6745 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.828e-06/0.2568, allocations: 3.984 kB / 0.6745 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002519/0.257, allocations: 171.4 kB / 0.6747 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.704e-05/0.2571, allocations: 85.09 kB / 0.6748 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.414e-05/0.2571, allocations: 0 / 0.6748 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.155e-05/0.2572, allocations: 4 kB / 0.6748 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.402e-05/0.2573, allocations: 7.922 kB / 0.6748 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.2573, allocations: 0 / 0.6748 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.868e-05/0.2573, allocations: 87.28 kB / 0.6749 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2573, allocations: 0 / 0.6749 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002318/0.2576, allocations: 12.03 kB / 0.6749 GB, free: 13.31 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.0001594/0.2577, allocations: 107.2 kB / 0.675 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002294/0.258, allocations: 39.91 kB / 0.675 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.258, allocations: 0 / 0.675 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.968e-05/0.2581, allocations: 23.97 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.0003354/0.2584, allocations: 8.125 kB / 0.675 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003485/0.2588, allocations: 113.4 kB / 0.6752 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002705/0.2591, allocations: 0.6845 MB / 0.6758 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.778e-05/0.2591, allocations: 0 / 0.6758 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.162e-05/0.2591, allocations: 7.438 kB / 0.6758 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of SimCode: time 5.11e-07/0.2591, allocations: 0 / 0.6758 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of Templates: time 0.00294/0.2621, allocations: 0.5508 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)