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_DerivativeCheck2.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_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") [/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.1764/0.1771, allocations: 82.22 MB / 0.5941 GB, free: 5.594 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001416/0.1785, allocations: 1.004 MB / 0.5951 GB, free: 4.578 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009737/0.1795, allocations: 0.5458 MB / 0.5956 GB, free: 4.031 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.097e-05/0.1796, allocations: 0 / 0.5956 GB, free: 4.031 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.79e-05/0.1796, allocations: 3.938 kB / 0.5956 GB, free: 4.027 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.529e-05/0.1796, allocations: 7.969 kB / 0.5956 GB, free: 4.02 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004341/0.1801, allocations: 107.7 kB / 0.5957 GB, free: 3.914 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.699e-05/0.1802, allocations: 31.8 kB / 0.5958 GB, free: 3.883 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.163e-05/0.1802, allocations: 4 kB / 0.5958 GB, free: 3.879 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.341e-05/0.1802, allocations: 7.984 kB / 0.5958 GB, free: 3.871 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.562e-05/0.1803, allocations: 15.92 kB / 0.5958 GB, free: 3.855 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.1803, allocations: 4 kB / 0.5958 GB, free: 3.852 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004869/0.1808, allocations: 347.4 kB / 0.5961 GB, free: 3.512 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.359e-05/0.1808, allocations: 4 kB / 0.5961 GB, free: 3.508 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.685e-05/0.1809, allocations: 45.62 kB / 0.5962 GB, free: 3.457 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002435/0.1811, allocations: 143.9 kB / 0.5963 GB, free: 3.316 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.1811, allocations: 0 / 0.5963 GB, free: 3.316 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1811, allocations: 0 / 0.5963 GB, free: 3.316 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.1812, allocations: 0 / 0.5963 GB, free: 3.316 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003565/0.1815, allocations: 359.4 kB / 0.5967 GB, free: 2.918 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/0.1816, allocations: 8.031 kB / 0.5967 GB, free: 2.91 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.819e-05/0.1816, allocations: 0.9375 kB / 0.5967 GB, free: 2.91 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.1817, allocations: 176.3 kB / 0.5968 GB, free: 2.699 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.1817, allocations: 4.375 kB / 0.5968 GB, free: 2.695 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.131e-05/0.1818, allocations: 4.375 kB / 0.5969 GB, free: 2.691 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006214/0.1824, allocations: 133.7 kB / 0.597 GB, free: 2.555 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.1824, allocations: 3.984 kB / 0.597 GB, free: 2.551 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.1824, allocations: 4 kB / 0.597 GB, free: 2.547 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.1824, allocations: 0 / 0.597 GB, free: 2.547 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000509/0.1829, allocations: 107.9 kB / 0.5971 GB, free: 2.441 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001639/0.1831, allocations: 165.6 kB / 0.5972 GB, free: 2.23 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005878/0.1837, allocations: 146.4 kB / 0.5974 GB, free: 2.078 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.785e-05/0.1838, allocations: 32.84 kB / 0.5974 GB, free: 2.043 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003279/0.1841, allocations: 117.1 kB / 0.5975 GB, free: 1.91 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.1842, allocations: 38.5 kB / 0.5976 GB, free: 1.863 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.1842, allocations: 0 / 0.5976 GB, free: 1.863 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.009028/0.1932, allocations: 2.008 MB / 0.5995 GB, free: 15.76 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.1933, allocations: 55.41 kB / 0.5996 GB, free: 15.7 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.912e-05/0.1934, allocations: 89.86 kB / 0.5997 GB, free: 15.6 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.212e-05/0.1934, allocations: 33.7 kB / 0.5997 GB, free: 15.56 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.924e-05/0.1934, allocations: 84.27 kB / 0.5998 GB, free: 15.47 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.401e-05/0.1935, allocations: 39.39 kB / 0.5998 GB, free: 15.43 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.022e-05/0.1935, allocations: 21.7 kB / 0.5998 GB, free: 15.41 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.1937, allocations: 314.8 kB / 0.6001 GB, free: 15.09 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004366/0.1941, allocations: 115.9 kB / 0.6003 GB, free: 14.98 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004261/0.1945, allocations: 115.9 kB / 0.6004 GB, free: 14.86 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000872/0.1954, allocations: 244.6 kB / 0.6006 GB, free: 14.62 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.1954, allocations: 3.938 kB / 0.6006 GB, free: 14.62 MB / 462.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0009309/0.1964, allocations: 281.4 kB / 0.6009 GB, free: 14.34 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.1964, allocations: 4 kB / 0.6009 GB, free: 14.33 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.1964, allocations: 0 / 0.6009 GB, free: 14.33 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.1964, allocations: 0 / 0.6009 GB, free: 14.33 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000398/0.1968, allocations: 71.92 kB / 0.6009 GB, free: 14.26 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.1969, allocations: 3.938 kB / 0.6009 GB, free: 14.26 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000282/0.1971, allocations: 47.95 kB / 0.601 GB, free: 14.21 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.445e-05/0.1972, allocations: 240 / 0.601 GB, free: 14.21 MB / 462.1 MB 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 (13): * Single equations (assignments): 13 * 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.622e-05/0.1973, allocations: 122.7 kB / 0.6011 GB, free: 14.08 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.408e-05/0.1973, allocations: 4 kB / 0.6011 GB, free: 14.08 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.715e-05/0.1974, allocations: 7.969 kB / 0.6011 GB, free: 14.07 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.1974, allocations: 4 kB / 0.6011 GB, free: 14.06 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.1974, allocations: 0 / 0.6011 GB, free: 14.06 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.1974, allocations: 11.92 kB / 0.6011 GB, free: 14.05 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001283/0.1987, allocations: 0.5412 MB / 0.6017 GB, free: 13.45 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.1987, allocations: 0 / 0.6017 GB, free: 13.45 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003944/0.1991, allocations: 71.94 kB / 0.6017 GB, free: 13.38 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.1991, allocations: 0 / 0.6017 GB, free: 13.38 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.795e-05/0.1991, allocations: 3.984 kB / 0.6017 GB, free: 13.38 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.1991, allocations: 0 / 0.6017 GB, free: 13.38 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1991, allocations: 0 / 0.6017 GB, free: 13.38 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001542/0.2007, allocations: 0.4991 MB / 0.6022 GB, free: 12.86 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.326e-05/0.2007, allocations: 81.02 kB / 0.6023 GB, free: 12.77 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.768e-05/0.2008, allocations: 8.016 kB / 0.6023 GB, free: 12.76 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003411/0.2011, allocations: 40.03 kB / 0.6023 GB, free: 12.72 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.398e-05/0.2012, allocations: 8.078 kB / 0.6024 GB, free: 12.71 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.879e-05/0.2012, allocations: 15.92 kB / 0.6024 GB, free: 12.7 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.94e-05/0.2012, allocations: 79.22 kB / 0.6024 GB, free: 12.62 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2012, allocations: 0 / 0.6024 GB, free: 12.62 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002647/0.2015, allocations: 24 kB / 0.6025 GB, free: 12.59 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_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 (11): * Single equations (assignments): 11 * 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.0001325/0.2017, allocations: 103.3 kB / 0.6026 GB, free: 12.48 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000951/0.2026, allocations: 258.7 kB / 0.6028 GB, free: 12.23 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.2026, allocations: 0 / 0.6028 GB, free: 12.23 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004553/0.2031, allocations: 123.9 kB / 0.6029 GB, free: 12.11 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.2034, allocations: 12.61 kB / 0.6029 GB, free: 12.1 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00237/0.2058, allocations: 0.6913 MB / 0.6036 GB, free: 11.38 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002376/0.206, allocations: 0.6809 MB / 0.6043 GB, free: 10.68 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001409/0.2062, allocations: 23.92 kB / 0.6043 GB, free: 10.65 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.032e-05/0.2062, allocations: 15.42 kB / 0.6043 GB, free: 10.64 MB / 462.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2062, allocations: 0 / 0.6043 GB, free: 10.64 MB / 462.1 MB Notification: Performance of Templates: time 0.003315/0.2096, allocations: 1.075 MB / 0.6054 GB, free: 9.602 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) Environment - environmentSimulation: