Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.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.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") [/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.1741/0.1762, allocations: 80.83 MB / 0.6706 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002397/0.1786, allocations: 1.258 MB / 0.6719 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009388/0.1796, allocations: 0.5219 MB / 0.6724 GB, free: 248 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.64e-05/0.1796, allocations: 8 kB / 0.6724 GB, free: 240 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.058e-05/0.1797, allocations: 3.938 kB / 0.6724 GB, free: 236 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.635e-05/0.1797, allocations: 0 / 0.6724 GB, free: 236 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004869/0.1802, allocations: 127.4 kB / 0.6725 GB, free: 108 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.544e-05/0.1803, allocations: 19.86 kB / 0.6725 GB, free: 88 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.639e-05/0.1803, allocations: 8 kB / 0.6725 GB, free: 80 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.712e-05/0.1804, allocations: 8 kB / 0.6725 GB, free: 72 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.863e-05/0.1805, allocations: 15.91 kB / 0.6726 GB, free: 56 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.353e-05/0.1805, allocations: 0 / 0.6726 GB, free: 56 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000528/0.181, allocations: 347.4 kB / 0.6729 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.162e-05/0.181, allocations: 0 / 0.6729 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.098e-05/0.1811, allocations: 11.88 kB / 0.6729 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002567/0.1813, allocations: 135.7 kB / 0.673 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1813, allocations: 0 / 0.673 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.324e-06/0.1813, allocations: 0 / 0.673 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.1814, allocations: 0 / 0.673 GB, free: 15.57 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004841/0.1818, allocations: 359.4 kB / 0.6734 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.1819, allocations: 11.97 kB / 0.6734 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.677e-05/0.1819, allocations: 8.844 kB / 0.6734 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000165/0.1821, allocations: 164.4 kB / 0.6735 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.426e-06/0.1821, allocations: 384 / 0.6735 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.888e-05/0.1822, allocations: 8.375 kB / 0.6736 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006128/0.1828, allocations: 113.5 kB / 0.6737 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.1828, allocations: 4 kB / 0.6737 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.1828, allocations: 0 / 0.6737 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.1828, allocations: 0 / 0.6737 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000465/0.1833, allocations: 83.89 kB / 0.6737 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001818/0.1835, allocations: 157.7 kB / 0.6739 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006084/0.1841, allocations: 118.4 kB / 0.674 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.985e-05/0.1842, allocations: 16.86 kB / 0.674 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003469/0.1845, allocations: 109.1 kB / 0.6741 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.1846, allocations: 30.56 kB / 0.6742 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=4): time 1.734e-06/0.1846, allocations: 0 / 0.6742 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.004717/0.1893, allocations: 0.9779 MB / 0.6751 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.48e-05/0.1894, allocations: 51.41 kB / 0.6752 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.574e-05/0.1895, allocations: 97.86 kB / 0.6753 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.1895, allocations: 25.7 kB / 0.6753 GB, free: 13 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.359e-05/0.1896, allocations: 84.14 kB / 0.6754 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.227e-05/0.1896, allocations: 31.52 kB / 0.6754 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.944e-05/0.1897, allocations: 25.7 kB / 0.6754 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.1899, allocations: 314.8 kB / 0.6757 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002612/0.1901, allocations: 59.94 kB / 0.6758 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002585/0.1904, allocations: 63.94 kB / 0.6758 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005108/0.1909, allocations: 133 kB / 0.676 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1909, allocations: 0 / 0.676 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0006099/0.1916, allocations: 169.9 kB / 0.6761 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.611e-05/0.1916, allocations: 7.984 kB / 0.6761 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.639e-06/0.1916, allocations: 4 kB / 0.6761 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.554e-05/0.1916, allocations: 0 / 0.6761 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002268/0.1919, allocations: 39.91 kB / 0.6762 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.1919, allocations: 0 / 0.6762 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001648/0.1921, allocations: 23.97 kB / 0.6762 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.1921, allocations: 0 / 0.6762 GB, free: 12.04 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 (7): * Single equations (assignments): 7 * 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.0001477/0.1922, allocations: 125.7 kB / 0.6763 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.203e-05/0.1923, allocations: 3.984 kB / 0.6763 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.785e-05/0.1924, allocations: 11.95 kB / 0.6763 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.1924, allocations: 4 kB / 0.6763 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.1924, allocations: 0 / 0.6763 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.1924, allocations: 0 / 0.6763 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001191/0.1936, allocations: 451.2 kB / 0.6768 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.1936, allocations: 0 / 0.6768 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002169/0.1938, allocations: 36 kB / 0.6768 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.1938, allocations: 0 / 0.6768 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.784e-05/0.1939, allocations: 7.984 kB / 0.6768 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.1939, allocations: 0 / 0.6768 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.1939, allocations: 0 / 0.6768 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009276/0.1948, allocations: 344 kB / 0.6771 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.819e-05/0.1949, allocations: 85.12 kB / 0.6772 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.397e-05/0.1949, allocations: 4 kB / 0.6772 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002061/0.1951, allocations: 23.97 kB / 0.6772 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.292e-05/0.1952, allocations: 4.125 kB / 0.6772 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.19e-05/0.1952, allocations: 4 kB / 0.6772 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.335e-05/0.1952, allocations: 91.14 kB / 0.6773 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1952, allocations: 4.062 kB / 0.6773 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002416/0.1955, allocations: 12 kB / 0.6774 GB, free: 10.73 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_comp) * 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 (6): * Single equations (assignments): 6 * 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.0001666/0.1957, allocations: 103.2 kB / 0.6774 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006277/0.1963, allocations: 139.8 kB / 0.6776 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.1963, allocations: 0 / 0.6776 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002873/0.1966, allocations: 67.92 kB / 0.6776 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002635/0.1969, allocations: 4.062 kB / 0.6777 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001351/0.1982, allocations: 340.1 kB / 0.678 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003912/0.1987, allocations: 0.6807 MB / 0.6786 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 6.366e-05/0.1987, allocations: 8 kB / 0.6786 GB, free: 9.336 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.148e-05/0.1988, allocations: 15.42 kB / 0.6787 GB, free: 9.324 MB / 0.5137 GB Notification: Performance of SimCode: time 2.1e-07/0.1988, allocations: 0 / 0.6787 GB, free: 9.324 MB / 0.5137 GB Notification: Performance of Templates: time 0.003223/0.202, allocations: 0.8363 MB / 0.6795 GB, free: 8.523 MB / 0.5137 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)