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.4883/0.4908, allocations: 80.82 MB / 0.5904 GB, free: 22.2 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002412/0.4933, allocations: 1.262 MB / 0.5916 GB, free: 21.21 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008219/0.4941, allocations: 0.5255 MB / 0.5922 GB, free: 20.79 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.331e-05/0.4942, allocations: 1.469 kB / 0.5922 GB, free: 20.79 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.259e-05/0.4942, allocations: 0 / 0.5922 GB, free: 20.79 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.933e-05/0.4943, allocations: 13.97 kB / 0.5922 GB, free: 20.78 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004789/0.4947, allocations: 121.4 kB / 0.5923 GB, free: 20.7 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.846e-05/0.4948, allocations: 18.09 kB / 0.5923 GB, free: 20.69 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.512e-05/0.4949, allocations: 7.203 kB / 0.5923 GB, free: 20.68 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.072e-05/0.4949, allocations: 8.156 kB / 0.5923 GB, free: 20.68 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.356e-05/0.495, allocations: 8.062 kB / 0.5923 GB, free: 20.68 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.404e-05/0.495, allocations: 0 / 0.5923 GB, free: 20.68 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000506/0.4955, allocations: 352 kB / 0.5927 GB, free: 20.48 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.224e-05/0.4955, allocations: 9.766 kB / 0.5927 GB, free: 20.47 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.314e-05/0.4955, allocations: 12.62 kB / 0.5927 GB, free: 20.46 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002153/0.4958, allocations: 138.2 kB / 0.5928 GB, free: 20.33 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.217e-06/0.4958, allocations: 1.094 kB / 0.5928 GB, free: 20.33 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.4958, allocations: 0 / 0.5928 GB, free: 20.33 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.4958, allocations: 0 / 0.5928 GB, free: 20.33 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003399/0.4961, allocations: 361 kB / 0.5932 GB, free: 19.93 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.4962, allocations: 11.98 kB / 0.5932 GB, free: 19.92 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.393e-05/0.4962, allocations: 8.938 kB / 0.5932 GB, free: 19.91 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.181e-05/0.4963, allocations: 165.4 kB / 0.5933 GB, free: 19.71 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.4963, allocations: 4.375 kB / 0.5933 GB, free: 19.71 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.85e-05/0.4964, allocations: 4.375 kB / 0.5934 GB, free: 19.7 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005825/0.497, allocations: 118.4 kB / 0.5935 GB, free: 19.59 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.497, allocations: 0 / 0.5935 GB, free: 19.59 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.497, allocations: 0 / 0.5935 GB, free: 19.59 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.497, allocations: 0 / 0.5935 GB, free: 19.59 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004256/0.4974, allocations: 83.19 kB / 0.5935 GB, free: 19.51 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001392/0.4976, allocations: 157.7 kB / 0.5937 GB, free: 19.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005587/0.4982, allocations: 114 kB / 0.5938 GB, free: 19.19 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.193e-05/0.4982, allocations: 24.92 kB / 0.5938 GB, free: 19.16 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003035/0.4985, allocations: 105.1 kB / 0.5939 GB, free: 19.04 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.567e-05/0.4985, allocations: 38.5 kB / 0.594 GB, free: 18.99 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.4985, allocations: 4 kB / 0.594 GB, free: 18.99 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.004245/0.5028, allocations: 0.9661 MB / 0.5949 GB, free: 17.97 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.762e-05/0.5028, allocations: 51.41 kB / 0.595 GB, free: 17.91 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.465e-05/0.5029, allocations: 101.8 kB / 0.5951 GB, free: 17.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.315e-05/0.5029, allocations: 25.7 kB / 0.5951 GB, free: 17.77 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.117e-05/0.5029, allocations: 88.14 kB / 0.5952 GB, free: 17.68 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.184e-05/0.503, allocations: 19.73 kB / 0.5952 GB, free: 17.66 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.904e-05/0.503, allocations: 21.72 kB / 0.5952 GB, free: 17.63 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.38e-05/0.5031, allocations: 318.8 kB / 0.5955 GB, free: 17.31 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002464/0.5033, allocations: 59.94 kB / 0.5956 GB, free: 17.25 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002302/0.5036, allocations: 63.92 kB / 0.5956 GB, free: 17.19 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004644/0.5041, allocations: 128.8 kB / 0.5958 GB, free: 17.06 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.5041, allocations: 0 / 0.5958 GB, free: 17.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005209/0.5046, allocations: 173.4 kB / 0.5959 GB, free: 16.88 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.5046, allocations: 4 kB / 0.5959 GB, free: 16.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.5046, allocations: 0 / 0.5959 GB, free: 16.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.5047, allocations: 0 / 0.5959 GB, free: 16.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002016/0.5049, allocations: 43.89 kB / 0.596 GB, free: 16.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.5049, allocations: 3.938 kB / 0.596 GB, free: 16.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001494/0.505, allocations: 31.97 kB / 0.596 GB, free: 16.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.505, allocations: 0 / 0.596 GB, free: 16.8 MB / 446.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 (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 6.697e-05/0.5051, allocations: 109.8 kB / 0.5961 GB, free: 16.68 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.736e-05/0.5051, allocations: 3.938 kB / 0.5961 GB, free: 16.68 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.428e-05/0.5052, allocations: 7.969 kB / 0.5961 GB, free: 16.67 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.5052, allocations: 7.984 kB / 0.5961 GB, free: 16.66 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.5052, allocations: 0 / 0.5961 GB, free: 16.66 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.5052, allocations: 0 / 0.5961 GB, free: 16.66 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008618/0.5061, allocations: 451.2 kB / 0.5966 GB, free: 16.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.5061, allocations: 128 / 0.5966 GB, free: 16.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001952/0.5063, allocations: 39.97 kB / 0.5966 GB, free: 16.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.5063, allocations: 0 / 0.5966 GB, free: 16.12 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.5063, allocations: 7.984 kB / 0.5966 GB, free: 16.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.5063, allocations: 0 / 0.5966 GB, free: 16.12 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.5063, allocations: 3.938 kB / 0.5966 GB, free: 16.11 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007848/0.5071, allocations: 336.1 kB / 0.5969 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.986e-05/0.5072, allocations: 85.12 kB / 0.597 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.993e-05/0.5072, allocations: 0 / 0.597 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001899/0.5074, allocations: 23.97 kB / 0.597 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.991e-05/0.5074, allocations: 12.05 kB / 0.597 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-06/0.5075, allocations: 0 / 0.597 GB, free: 15.63 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.233e-05/0.5075, allocations: 83.8 kB / 0.5971 GB, free: 15.55 MB / 446.1 MB Notification: Performance of sort global known variables: time 2e-07/0.5075, allocations: 0 / 0.5971 GB, free: 15.55 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002315/0.5077, allocations: 11.94 kB / 0.5971 GB, free: 15.54 MB / 446.1 MB 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.0001085/0.5078, allocations: 107.2 kB / 0.5972 GB, free: 15.42 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005322/0.5084, allocations: 140.1 kB / 0.5974 GB, free: 15.29 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.5084, allocations: 0 / 0.5974 GB, free: 15.29 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002409/0.5086, allocations: 75.94 kB / 0.5974 GB, free: 15.21 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002329/0.5089, allocations: 0 / 0.5974 GB, free: 15.21 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.5099, allocations: 348 kB / 0.5978 GB, free: 14.84 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001183/0.5101, allocations: 0.6846 MB / 0.5984 GB, free: 14.13 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.275e-05/0.5101, allocations: 11.94 kB / 0.5984 GB, free: 14.12 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.001e-05/0.5102, allocations: 15.42 kB / 0.5985 GB, free: 14.11 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.5102, allocations: 3.938 kB / 0.5985 GB, free: 14.1 MB / 446.1 MB Notification: Performance of Templates: time 0.002772/0.513, allocations: 0.8265 MB / 0.5993 GB, free: 13.32 MB / 446.1 MB 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)