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.1977/0.1984, allocations: 82.21 MB / 0.5934 GB, free: 5.98 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001506/0.2, allocations: 0.9789 MB / 0.5943 GB, free: 4.988 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006561/0.2007, allocations: 319.2 kB / 0.5946 GB, free: 4.676 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.517e-05/0.2007, allocations: 0 / 0.5946 GB, free: 4.676 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.505e-05/0.2008, allocations: 0 / 0.5946 GB, free: 4.676 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.623e-05/0.2008, allocations: 7.984 kB / 0.5946 GB, free: 4.668 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004554/0.2013, allocations: 63.77 kB / 0.5947 GB, free: 4.605 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.278e-05/0.2014, allocations: 11.98 kB / 0.5947 GB, free: 4.594 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.395e-05/0.2014, allocations: 7.984 kB / 0.5947 GB, free: 4.586 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.284e-05/0.2015, allocations: 11.94 kB / 0.5947 GB, free: 4.574 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.855e-05/0.2015, allocations: 11.98 kB / 0.5947 GB, free: 4.562 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.2016, allocations: 0 / 0.5947 GB, free: 4.562 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003827/0.2019, allocations: 207.7 kB / 0.5949 GB, free: 4.359 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.109e-05/0.202, allocations: 3.984 kB / 0.5949 GB, free: 4.355 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.917e-05/0.202, allocations: 29.7 kB / 0.595 GB, free: 4.32 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001557/0.2022, allocations: 60.09 kB / 0.595 GB, free: 4.262 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.2022, allocations: 0 / 0.595 GB, free: 4.262 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.2022, allocations: 0 / 0.595 GB, free: 4.262 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.2022, allocations: 0 / 0.595 GB, free: 4.262 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.0004248/0.2026, allocations: 350.2 kB / 0.5954 GB, free: 3.875 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.2027, allocations: 8.031 kB / 0.5954 GB, free: 3.867 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.561e-05/0.2027, allocations: 4 kB / 0.5954 GB, free: 3.863 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.2029, allocations: 163.1 kB / 0.5955 GB, free: 3.664 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.2029, allocations: 3.984 kB / 0.5955 GB, free: 3.66 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.138e-05/0.2029, allocations: 4 kB / 0.5955 GB, free: 3.656 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006323/0.2035, allocations: 129.5 kB / 0.5957 GB, free: 3.523 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.2036, allocations: 0 / 0.5957 GB, free: 3.523 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.2036, allocations: 0 / 0.5957 GB, free: 3.523 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.2036, allocations: 0 / 0.5957 GB, free: 3.523 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004565/0.2041, allocations: 91.91 kB / 0.5957 GB, free: 3.434 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001917/0.2043, allocations: 161.7 kB / 0.5959 GB, free: 3.227 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006009/0.2049, allocations: 130.4 kB / 0.596 GB, free: 3.09 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003012/0.2052, allocations: 121.2 kB / 0.5961 GB, free: 2.953 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.2052, allocations: 34.56 kB / 0.5962 GB, free: 2.91 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.343e-06/0.2052, allocations: 0 / 0.5962 GB, free: 2.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.00453/0.2098, allocations: 1.095 MB / 0.5972 GB, free: 1.762 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/0.2098, allocations: 51.41 kB / 0.5973 GB, free: 1.699 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.706e-05/0.2099, allocations: 97.84 kB / 0.5974 GB, free: 1.594 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.2099, allocations: 29.7 kB / 0.5974 GB, free: 1.559 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.957e-05/0.21, allocations: 84.14 kB / 0.5975 GB, free: 1.473 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.089e-05/0.21, allocations: 7.812 kB / 0.5975 GB, free: 1.465 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.235e-06/0.21, allocations: 8 kB / 0.5975 GB, free: 1.457 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.2101, allocations: 318.8 kB / 0.5978 GB, free: 1.137 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002634/0.2104, allocations: 67.94 kB / 0.5979 GB, free: 1.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002517/0.2107, allocations: 72.73 kB / 0.5979 GB, free: 1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002518/0.2109, allocations: 79.88 kB / 0.598 GB, free: 0.9219 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.2109, allocations: 0 / 0.598 GB, free: 0.9219 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005641/0.2115, allocations: 189.4 kB / 0.5982 GB, free: 0.7305 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.2115, allocations: 7.953 kB / 0.5982 GB, free: 0.7227 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.2116, allocations: 0 / 0.5982 GB, free: 0.7227 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.2116, allocations: 4 kB / 0.5982 GB, free: 0.7188 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002092/0.2118, allocations: 43.95 kB / 0.5983 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.2118, allocations: 0 / 0.5983 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000156/0.212, allocations: 31.97 kB / 0.5983 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.212, allocations: 0 / 0.5983 GB, free: 0.6445 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.768e-05/0.2121, allocations: 113.8 kB / 0.5984 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.387e-05/0.2121, allocations: 0 / 0.5984 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.341e-05/0.2122, allocations: 15.92 kB / 0.5984 GB, free: 0.5039 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.2122, allocations: 0 / 0.5984 GB, free: 0.5039 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.2122, allocations: 4.062 kB / 0.5984 GB, free: 0.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.2122, allocations: 0 / 0.5984 GB, free: 0.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/0.2132, allocations: 471.2 kB / 0.5989 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.2132, allocations: 0 / 0.5989 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002092/0.2134, allocations: 47.89 kB / 0.5989 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.2134, allocations: 0 / 0.5989 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.2135, allocations: 11.98 kB / 0.5989 GB, free: 15.92 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.2135, allocations: 0 / 0.5989 GB, free: 15.92 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2135, allocations: 0 / 0.5989 GB, free: 15.92 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009139/0.2144, allocations: 377.8 kB / 0.5993 GB, free: 15.53 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.504e-05/0.2145, allocations: 81.09 kB / 0.5994 GB, free: 15.43 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.17e-05/0.2145, allocations: 4 kB / 0.5994 GB, free: 15.43 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002047/0.2147, allocations: 32.03 kB / 0.5994 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.308e-05/0.2147, allocations: 0 / 0.5994 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/0.2148, allocations: 11.98 kB / 0.5994 GB, free: 15.38 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.957e-05/0.2148, allocations: 75.8 kB / 0.5995 GB, free: 15.31 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.763e-06/0.2148, allocations: 0 / 0.5995 GB, free: 15.31 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002278/0.215, allocations: 15.94 kB / 0.5995 GB, free: 15.29 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.0001183/0.2152, allocations: 107.2 kB / 0.5996 GB, free: 15.18 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005574/0.2157, allocations: 151.9 kB / 0.5997 GB, free: 15.03 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.2157, allocations: 3.938 kB / 0.5997 GB, free: 15.03 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000251/0.216, allocations: 79.94 kB / 0.5998 GB, free: 14.95 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001482/0.2162, allocations: 11.52 kB / 0.5998 GB, free: 14.94 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001108/0.2173, allocations: 397.8 kB / 0.6002 GB, free: 14.52 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002223/0.2175, allocations: 0.6887 MB / 0.6009 GB, free: 13.8 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 6.731e-05/0.2176, allocations: 11.94 kB / 0.6009 GB, free: 13.79 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.769e-05/0.2176, allocations: 15.36 kB / 0.6009 GB, free: 13.78 MB / 462.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2176, allocations: 4 kB / 0.6009 GB, free: 13.78 MB / 462.1 MB Notification: Performance of Templates: time 0.002739/0.2204, allocations: 0.7367 MB / 0.6016 GB, free: 13.07 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: