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.2292/0.2313, allocations: 80.83 MB / 0.5897 GB, free: 7.078 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PolynomialDerivativeCheck): time 0.002087/0.2335, allocations: 0.619 MB / 0.5903 GB, free: 6.449 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000643/0.2341, allocations: 167.5 kB / 0.5904 GB, free: 6.285 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.623e-05/0.2341, allocations: 0 / 0.5904 GB, free: 6.285 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.293e-05/0.2342, allocations: 0 / 0.5904 GB, free: 6.285 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 1.023e-05/0.2342, allocations: 0 / 0.5904 GB, free: 6.285 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004512/0.2347, allocations: 39.91 kB / 0.5905 GB, free: 6.246 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.826e-05/0.2347, allocations: 4 kB / 0.5905 GB, free: 6.242 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.526e-05/0.2348, allocations: 7.984 kB / 0.5905 GB, free: 6.234 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.523e-05/0.2348, allocations: 3.938 kB / 0.5905 GB, free: 6.23 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.341e-05/0.2349, allocations: 4 kB / 0.5905 GB, free: 6.227 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.2349, allocations: 0 / 0.5905 GB, free: 6.227 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001598/0.2351, allocations: 43.95 kB / 0.5905 GB, free: 6.184 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.75e-05/0.2351, allocations: 3.984 kB / 0.5906 GB, free: 6.18 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.92e-05/0.2352, allocations: 15.92 kB / 0.5906 GB, free: 6.164 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001533/0.2353, allocations: 27.91 kB / 0.5906 GB, free: 6.137 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.2353, allocations: 4 kB / 0.5906 GB, free: 6.133 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2353, allocations: 0 / 0.5906 GB, free: 6.133 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.144e-06/0.2353, allocations: 0 / 0.5906 GB, free: 6.133 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.0004696/0.2358, allocations: 327.6 kB / 0.5909 GB, free: 5.766 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.341e-05/0.2359, allocations: 8.031 kB / 0.5909 GB, free: 5.758 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.166e-05/0.2359, allocations: 4.938 kB / 0.5909 GB, free: 5.754 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.2361, allocations: 164.7 kB / 0.5911 GB, free: 5.555 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.2361, allocations: 384 / 0.5911 GB, free: 5.555 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.155e-05/0.2361, allocations: 384 / 0.5911 GB, free: 5.555 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000135/0.2363, allocations: 41.83 kB / 0.5911 GB, free: 5.508 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.2363, allocations: 4 kB / 0.5911 GB, free: 5.504 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.2363, allocations: 0 / 0.5911 GB, free: 5.504 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.2363, allocations: 0 / 0.5911 GB, free: 5.504 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.725e-05/0.2363, allocations: 7.922 kB / 0.5911 GB, free: 5.496 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001732/0.2365, allocations: 153.5 kB / 0.5913 GB, free: 5.297 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.348e-05/0.2366, allocations: 26.59 kB / 0.5913 GB, free: 5.262 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.344e-05/0.2366, allocations: 12.91 kB / 0.5913 GB, free: 5.246 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.935e-05/0.2367, allocations: 4 kB / 0.5913 GB, free: 5.242 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.286e-05/0.2367, allocations: 34.5 kB / 0.5914 GB, free: 5.199 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 4.228e-06/0.2367, allocations: 0 / 0.5914 GB, free: 5.199 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0006235/0.2373, allocations: 254.3 kB / 0.5916 GB, free: 4.898 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.162e-05/0.2374, allocations: 51.41 kB / 0.5916 GB, free: 4.836 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.403e-05/0.2374, allocations: 94.02 kB / 0.5917 GB, free: 4.734 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.2375, allocations: 29.7 kB / 0.5918 GB, free: 4.699 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.026e-05/0.2375, allocations: 84.12 kB / 0.5918 GB, free: 4.613 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.012e-05/0.2375, allocations: 15.89 kB / 0.5919 GB, free: 4.598 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.224e-05/0.2376, allocations: 13.72 kB / 0.5919 GB, free: 4.578 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.2377, allocations: 314.8 kB / 0.5922 GB, free: 4.262 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.69e-05/0.2377, allocations: 4 kB / 0.5922 GB, free: 4.258 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.239e-05/0.2378, allocations: 17.7 kB / 0.5922 GB, free: 4.234 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.69e-05/0.2378, allocations: 29.72 kB / 0.5922 GB, free: 4.199 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.2378, allocations: 0 / 0.5922 GB, free: 4.199 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.529e-05/0.2379, allocations: 61.47 kB / 0.5923 GB, free: 4.133 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.238, allocations: 8 kB / 0.5923 GB, free: 4.125 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.238, allocations: 0 / 0.5923 GB, free: 4.125 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.238, allocations: 3.938 kB / 0.5923 GB, free: 4.121 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.719e-05/0.2381, allocations: 12 kB / 0.5923 GB, free: 4.109 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.2381, allocations: 4.062 kB / 0.5923 GB, free: 4.105 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.02e-05/0.2381, allocations: 0 / 0.5923 GB, free: 4.105 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.933e-05/0.2381, allocations: 7.984 kB / 0.5923 GB, free: 4.098 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 7.871e-05/0.2382, allocations: 110.7 kB / 0.5924 GB, free: 3.98 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.127e-05/0.2382, allocations: 3.938 kB / 0.5924 GB, free: 3.977 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001552/0.2384, allocations: 69.16 kB / 0.5925 GB, free: 3.898 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.2384, allocations: 0 / 0.5925 GB, free: 3.898 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.2384, allocations: 0 / 0.5925 GB, free: 3.898 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.2384, allocations: 0 / 0.5925 GB, free: 3.898 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001046/0.2385, allocations: 149.7 kB / 0.5926 GB, free: 3.703 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.2385, allocations: 0 / 0.5926 GB, free: 3.703 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.37e-05/0.2386, allocations: 11.92 kB / 0.5926 GB, free: 3.691 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.2386, allocations: 0 / 0.5926 GB, free: 3.691 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.2386, allocations: 4 kB / 0.5926 GB, free: 3.688 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.2386, allocations: 4 kB / 0.5926 GB, free: 3.684 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2387, allocations: 0 / 0.5926 GB, free: 3.684 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001321/0.2388, allocations: 77.06 kB / 0.5927 GB, free: 3.59 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.913e-05/0.2388, allocations: 85.03 kB / 0.5928 GB, free: 3.488 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/0.2389, allocations: 0 / 0.5928 GB, free: 3.488 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.348e-05/0.2389, allocations: 7.969 kB / 0.5928 GB, free: 3.48 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.426e-05/0.2389, allocations: 0 / 0.5928 GB, free: 3.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/0.2389, allocations: 4 kB / 0.5928 GB, free: 3.477 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.545e-05/0.239, allocations: 79.34 kB / 0.5929 GB, free: 3.398 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.239, allocations: 0 / 0.5929 GB, free: 3.398 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002001/0.2392, allocations: 8 kB / 0.5929 GB, free: 3.391 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.0001901/0.2394, allocations: 115.2 kB / 0.593 GB, free: 3.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.586e-05/0.2395, allocations: 20.16 kB / 0.593 GB, free: 3.25 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2395, allocations: 0 / 0.593 GB, free: 3.25 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.753e-05/0.2395, allocations: 8 kB / 0.593 GB, free: 3.242 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000152/0.2397, allocations: 12.06 kB / 0.593 GB, free: 3.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002742/0.24, allocations: 107.6 kB / 0.5931 GB, free: 3.098 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002649/0.2402, allocations: 0.677 MB / 0.5938 GB, free: 2.395 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.998e-05/0.2403, allocations: 8 kB / 0.5938 GB, free: 2.387 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.638e-05/0.2403, allocations: 7.438 kB / 0.5938 GB, free: 2.379 MB / 446.1 MB Notification: Performance of SimCode: time 1.212e-06/0.2403, allocations: 4 kB / 0.5938 GB, free: 2.375 MB / 446.1 MB Notification: Performance of Templates: time 0.002725/0.2431, allocations: 0.5332 MB / 0.5943 GB, free: 1.879 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)