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.2183/0.2191, allocations: 82.22 MB / 0.5941 GB, free: 5.551 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PolynomialDerivativeCheck): time 0.0008018/0.2199, allocations: 296.8 kB / 0.5944 GB, free: 5.258 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005245/0.2205, allocations: 155.6 kB / 0.5945 GB, free: 5.105 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.211e-05/0.2205, allocations: 0 / 0.5945 GB, free: 5.105 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.474e-05/0.2205, allocations: 0 / 0.5945 GB, free: 5.105 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.682e-06/0.2205, allocations: 0 / 0.5945 GB, free: 5.105 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003542/0.2209, allocations: 35.91 kB / 0.5946 GB, free: 5.07 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.568e-05/0.221, allocations: 11.94 kB / 0.5946 GB, free: 5.059 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.642e-05/0.221, allocations: 4 kB / 0.5946 GB, free: 5.055 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.078e-05/0.221, allocations: 0 / 0.5946 GB, free: 5.055 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.432e-05/0.2211, allocations: 11.97 kB / 0.5946 GB, free: 5.043 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.909e-06/0.2211, allocations: 0 / 0.5946 GB, free: 5.043 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001526/0.2213, allocations: 47.89 kB / 0.5947 GB, free: 4.996 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.065e-05/0.2213, allocations: 0 / 0.5947 GB, free: 4.996 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.266e-05/0.2213, allocations: 29.7 kB / 0.5947 GB, free: 4.961 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001205/0.2215, allocations: 39.88 kB / 0.5947 GB, free: 4.922 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.2215, allocations: 0 / 0.5947 GB, free: 4.922 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2215, allocations: 4 kB / 0.5947 GB, free: 4.918 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.2215, allocations: 0 / 0.5947 GB, free: 4.918 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.000344/0.2218, allocations: 315.6 kB / 0.595 GB, free: 4.562 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/0.2219, allocations: 16.02 kB / 0.595 GB, free: 4.547 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.686e-05/0.2219, allocations: 0.9375 kB / 0.595 GB, free: 4.547 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.2221, allocations: 160.7 kB / 0.5952 GB, free: 4.352 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.2221, allocations: 384 / 0.5952 GB, free: 4.352 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.364e-05/0.2221, allocations: 4.375 kB / 0.5952 GB, free: 4.348 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/0.2223, allocations: 49.75 kB / 0.5952 GB, free: 4.293 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.2223, allocations: 0 / 0.5952 GB, free: 4.293 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.2223, allocations: 0 / 0.5952 GB, free: 4.293 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.2223, allocations: 0 / 0.5952 GB, free: 4.293 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.693e-05/0.2224, allocations: 4 kB / 0.5953 GB, free: 4.289 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001735/0.2225, allocations: 153.5 kB / 0.5954 GB, free: 4.09 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.732e-05/0.2226, allocations: 22.59 kB / 0.5954 GB, free: 4.059 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.475e-05/0.2226, allocations: 12.86 kB / 0.5954 GB, free: 4.043 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.882e-05/0.2227, allocations: 11.92 kB / 0.5954 GB, free: 4.031 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.939e-05/0.2227, allocations: 42.5 kB / 0.5955 GB, free: 3.98 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.2228, allocations: 0 / 0.5955 GB, free: 3.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.000633/0.2234, allocations: 242.4 kB / 0.5957 GB, free: 3.691 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.186e-05/0.2234, allocations: 55.39 kB / 0.5958 GB, free: 3.625 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.803e-05/0.2235, allocations: 89.86 kB / 0.5959 GB, free: 3.527 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/0.2235, allocations: 29.92 kB / 0.5959 GB, free: 3.492 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.614e-05/0.2236, allocations: 84.14 kB / 0.596 GB, free: 3.406 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.632e-05/0.2236, allocations: 7.906 kB / 0.596 GB, free: 3.398 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.416e-05/0.2236, allocations: 9.719 kB / 0.596 GB, free: 3.383 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.2238, allocations: 314.8 kB / 0.5963 GB, free: 3.066 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.385e-05/0.2238, allocations: 7.984 kB / 0.5963 GB, free: 3.059 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.216e-05/0.2239, allocations: 13.72 kB / 0.5963 GB, free: 3.039 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.404e-05/0.2239, allocations: 33.66 kB / 0.5963 GB, free: 3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.2239, allocations: 0 / 0.5963 GB, free: 3 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.779e-05/0.224, allocations: 65.47 kB / 0.5964 GB, free: 2.93 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.2241, allocations: 4 kB / 0.5964 GB, free: 2.926 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.2241, allocations: 0 / 0.5964 GB, free: 2.926 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.2241, allocations: 0 / 0.5964 GB, free: 2.926 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.618e-05/0.2242, allocations: 15.92 kB / 0.5964 GB, free: 2.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.2242, allocations: 0 / 0.5964 GB, free: 2.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.249e-05/0.2242, allocations: 4.062 kB / 0.5964 GB, free: 2.906 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.622e-05/0.2242, allocations: 4 kB / 0.5964 GB, free: 2.902 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 8.847e-05/0.2243, allocations: 110.7 kB / 0.5965 GB, free: 2.785 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.638e-06/0.2243, allocations: 3.938 kB / 0.5965 GB, free: 2.781 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001588/0.2245, allocations: 65.17 kB / 0.5966 GB, free: 2.707 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-06/0.2245, allocations: 0 / 0.5966 GB, free: 2.707 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.687e-06/0.2245, allocations: 4 kB / 0.5966 GB, free: 2.703 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.2245, allocations: 3.938 kB / 0.5966 GB, free: 2.699 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001472/0.2247, allocations: 149.7 kB / 0.5967 GB, free: 2.504 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.2247, allocations: 0 / 0.5967 GB, free: 2.504 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.909e-05/0.2248, allocations: 11.94 kB / 0.5968 GB, free: 2.492 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.2248, allocations: 0 / 0.5968 GB, free: 2.492 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.2248, allocations: 0 / 0.5968 GB, free: 2.492 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.2248, allocations: 0 / 0.5968 GB, free: 2.492 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2248, allocations: 4 kB / 0.5968 GB, free: 2.488 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001421/0.2249, allocations: 77.11 kB / 0.5968 GB, free: 2.395 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.364e-05/0.225, allocations: 85.08 kB / 0.5969 GB, free: 2.293 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.225, allocations: 0 / 0.5969 GB, free: 2.293 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.303e-05/0.2251, allocations: 0 / 0.5969 GB, free: 2.293 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.604e-05/0.2251, allocations: 4 kB / 0.5969 GB, free: 2.289 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.112e-06/0.2251, allocations: 0 / 0.5969 GB, free: 2.289 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.696e-05/0.2252, allocations: 83.28 kB / 0.597 GB, free: 2.207 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2252, allocations: 3.938 kB / 0.597 GB, free: 2.203 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002005/0.2254, allocations: 15.98 kB / 0.597 GB, free: 2.188 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.000188/0.2256, allocations: 111.2 kB / 0.5971 GB, free: 2.07 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.54e-05/0.2257, allocations: 19.98 kB / 0.5971 GB, free: 2.051 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2257, allocations: 0 / 0.5971 GB, free: 2.051 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.665e-05/0.2257, allocations: 4 kB / 0.5971 GB, free: 2.047 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001432/0.2258, allocations: 15.88 kB / 0.5972 GB, free: 2.031 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002799/0.2261, allocations: 115.9 kB / 0.5973 GB, free: 1.895 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00029/0.2264, allocations: 0.6731 MB / 0.5979 GB, free: 1.195 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.429e-05/0.2265, allocations: 11.98 kB / 0.5979 GB, free: 1.184 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.038e-05/0.2265, allocations: 11.44 kB / 0.598 GB, free: 1.172 MB / 446.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2266, allocations: 0 / 0.598 GB, free: 1.172 MB / 446.1 MB Notification: Performance of Templates: time 0.003045/0.2296, allocations: 0.5158 MB / 0.5985 GB, free: 0.6875 MB / 446.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.PolynomialDerivativeCheck.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: