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.2064/0.2072, allocations: 82.22 MB / 0.5935 GB, free: 5.961 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001401/0.2086, allocations: 0.9809 MB / 0.5944 GB, free: 4.965 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008207/0.2095, allocations: 0.4956 MB / 0.5949 GB, free: 4.469 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.63e-05/0.2095, allocations: 4 kB / 0.5949 GB, free: 4.465 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.886e-05/0.2096, allocations: 3.984 kB / 0.5949 GB, free: 4.461 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.172e-05/0.2096, allocations: 3.938 kB / 0.5949 GB, free: 4.457 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004597/0.2101, allocations: 95.66 kB / 0.595 GB, free: 4.363 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.585e-05/0.2102, allocations: 19.92 kB / 0.595 GB, free: 4.344 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.416e-05/0.2102, allocations: 4 kB / 0.595 GB, free: 4.34 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.37e-05/0.2102, allocations: 11.94 kB / 0.5951 GB, free: 4.328 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.823e-05/0.2103, allocations: 7.984 kB / 0.5951 GB, free: 4.32 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.032e-05/0.2103, allocations: 0 / 0.5951 GB, free: 4.32 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004958/0.2108, allocations: 335.4 kB / 0.5954 GB, free: 3.992 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.549e-05/0.2108, allocations: 11.98 kB / 0.5954 GB, free: 3.98 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.841e-05/0.2109, allocations: 29.64 kB / 0.5954 GB, free: 3.945 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001772/0.2111, allocations: 88.11 kB / 0.5955 GB, free: 3.859 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.2111, allocations: 0 / 0.5955 GB, free: 3.859 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2111, allocations: 4 kB / 0.5955 GB, free: 3.855 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.339e-06/0.2111, allocations: 0 / 0.5955 GB, free: 3.855 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.0003836/0.2115, allocations: 355.1 kB / 0.5958 GB, free: 3.461 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.2115, allocations: 12.03 kB / 0.5959 GB, free: 3.449 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.709e-05/0.2116, allocations: 0 / 0.5959 GB, free: 3.449 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.2117, allocations: 163.1 kB / 0.596 GB, free: 3.25 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.2117, allocations: 4 kB / 0.596 GB, free: 3.246 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.338e-05/0.2117, allocations: 0 / 0.596 GB, free: 3.246 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005731/0.2123, allocations: 129.5 kB / 0.5961 GB, free: 3.113 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.2123, allocations: 4 kB / 0.5961 GB, free: 3.109 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.2123, allocations: 0 / 0.5961 GB, free: 3.109 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.2123, allocations: 0 / 0.5961 GB, free: 3.109 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004525/0.2128, allocations: 95.84 kB / 0.5962 GB, free: 3.016 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001788/0.213, allocations: 157.7 kB / 0.5964 GB, free: 2.812 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005656/0.2136, allocations: 126.5 kB / 0.5965 GB, free: 2.68 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.626e-05/0.2136, allocations: 16.86 kB / 0.5965 GB, free: 2.66 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003321/0.214, allocations: 121.2 kB / 0.5966 GB, free: 2.523 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.214, allocations: 30.56 kB / 0.5967 GB, free: 2.484 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.214, allocations: 3.938 kB / 0.5967 GB, free: 2.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.004307/0.2183, allocations: 1.103 MB / 0.5977 GB, free: 1.324 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.2184, allocations: 55.41 kB / 0.5978 GB, free: 1.258 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.628e-05/0.2185, allocations: 101.8 kB / 0.5979 GB, free: 1.148 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.2185, allocations: 29.7 kB / 0.5979 GB, free: 1.113 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.317e-05/0.2185, allocations: 80.14 kB / 0.598 GB, free: 1.031 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.229e-05/0.2186, allocations: 15.8 kB / 0.598 GB, free: 1.016 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.096e-06/0.2186, allocations: 4 kB / 0.598 GB, free: 1.012 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.2187, allocations: 310.8 kB / 0.5983 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000244/0.2189, allocations: 71.94 kB / 0.5984 GB, free: 0.6289 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002233/0.2192, allocations: 71.94 kB / 0.5985 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002397/0.2194, allocations: 72.09 kB / 0.5985 GB, free: 500 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.2194, allocations: 0 / 0.5985 GB, free: 500 kB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005118/0.22, allocations: 189.5 kB / 0.5987 GB, free: 304 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.74e-05/0.22, allocations: 19.89 kB / 0.5987 GB, free: 284 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.22, allocations: 0 / 0.5987 GB, free: 284 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.22, allocations: 0 / 0.5987 GB, free: 284 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002102/0.2202, allocations: 40.03 kB / 0.5988 GB, free: 244 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.2203, allocations: 3.938 kB / 0.5988 GB, free: 240 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001506/0.2204, allocations: 31.97 kB / 0.5988 GB, free: 208 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.338e-05/0.2204, allocations: 4 kB / 0.5988 GB, free: 204 kB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.216e-05/0.2205, allocations: 114.7 kB / 0.5989 GB, free: 80 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.731e-05/0.2206, allocations: 4 kB / 0.5989 GB, free: 76 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.898e-05/0.2206, allocations: 11.92 kB / 0.5989 GB, free: 60 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.2206, allocations: 0 / 0.5989 GB, free: 60 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.334e-05/0.2206, allocations: 0 / 0.5989 GB, free: 60 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.247e-06/0.2207, allocations: 4 kB / 0.5989 GB, free: 56 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009383/0.2216, allocations: 471.2 kB / 0.5994 GB, free: 15.54 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.2216, allocations: 0 / 0.5994 GB, free: 15.54 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002022/0.2218, allocations: 43.91 kB / 0.5994 GB, free: 15.49 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.616e-06/0.2218, allocations: 0 / 0.5994 GB, free: 15.49 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.2219, allocations: 4 kB / 0.5994 GB, free: 15.49 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.2219, allocations: 4.031 kB / 0.5994 GB, free: 15.48 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2219, allocations: 0 / 0.5994 GB, free: 15.48 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008206/0.2227, allocations: 364.1 kB / 0.5998 GB, free: 15.11 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.495e-05/0.2228, allocations: 81.09 kB / 0.5999 GB, free: 15.01 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.39e-05/0.2228, allocations: 7.984 kB / 0.5999 GB, free: 15 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001915/0.223, allocations: 32.03 kB / 0.5999 GB, free: 14.97 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.684e-05/0.223, allocations: 7.984 kB / 0.5999 GB, free: 14.96 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.223, allocations: 4 kB / 0.5999 GB, free: 14.96 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.449e-05/0.2231, allocations: 79.28 kB / 0.6 GB, free: 14.88 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2231, allocations: 0 / 0.6 GB, free: 14.88 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002369/0.2234, allocations: 15.94 kB / 0.6 GB, free: 14.87 MB / 462.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001315/0.2235, allocations: 111.2 kB / 0.6001 GB, free: 14.75 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005385/0.2241, allocations: 147.8 kB / 0.6002 GB, free: 14.61 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2241, allocations: 4 kB / 0.6002 GB, free: 14.6 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002406/0.2243, allocations: 83.98 kB / 0.6003 GB, free: 14.52 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002343/0.2246, allocations: 10.92 kB / 0.6003 GB, free: 14.51 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.2257, allocations: 397.7 kB / 0.6007 GB, free: 14.09 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002749/0.226, allocations: 0.6848 MB / 0.6014 GB, free: 13.38 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 7.437e-05/0.2261, allocations: 8 kB / 0.6014 GB, free: 13.37 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.164e-05/0.2261, allocations: 15.42 kB / 0.6014 GB, free: 13.36 MB / 462.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2261, allocations: 4 kB / 0.6014 GB, free: 13.36 MB / 462.1 MB Notification: Performance of Templates: time 0.003104/0.2292, allocations: 0.7444 MB / 0.6021 GB, free: 12.64 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: