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.1937/0.1957, allocations: 80.83 MB / 0.6706 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002703/0.1985, allocations: 1.264 MB / 0.6719 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001071/0.1995, allocations: 0.5336 MB / 0.6724 GB, free: 212 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.893e-05/0.1996, allocations: 0 / 0.6724 GB, free: 212 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.958e-05/0.1996, allocations: 0 / 0.6724 GB, free: 212 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.022e-05/0.1997, allocations: 3.938 kB / 0.6724 GB, free: 208 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005673/0.2003, allocations: 131.5 kB / 0.6725 GB, free: 76 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.758e-05/0.2003, allocations: 23.86 kB / 0.6725 GB, free: 52 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.85e-05/0.2004, allocations: 0 / 0.6725 GB, free: 52 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.262e-05/0.2004, allocations: 4 kB / 0.6725 GB, free: 48 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.32e-05/0.2005, allocations: 11.92 kB / 0.6725 GB, free: 36 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.2005, allocations: 0 / 0.6725 GB, free: 36 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005473/0.2011, allocations: 351.4 kB / 0.6729 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.629e-05/0.2011, allocations: 7.984 kB / 0.6729 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.997e-05/0.2011, allocations: 7.938 kB / 0.6729 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002976/0.2014, allocations: 135.6 kB / 0.673 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 8.325e-06/0.2015, allocations: 4 kB / 0.673 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.146e-06/0.2015, allocations: 0 / 0.673 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.051e-05/0.2015, allocations: 0 / 0.673 GB, free: 15.54 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.0006339/0.2021, allocations: 355.4 kB / 0.6734 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.367e-05/0.2022, allocations: 8.031 kB / 0.6734 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.297e-05/0.2022, allocations: 4.844 kB / 0.6734 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001675/0.2024, allocations: 168.3 kB / 0.6735 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.2024, allocations: 384 / 0.6735 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.018e-05/0.2025, allocations: 12.34 kB / 0.6736 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006824/0.2032, allocations: 113.5 kB / 0.6737 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.2032, allocations: 0 / 0.6737 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.2032, allocations: 0 / 0.6737 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.2032, allocations: 0 / 0.6737 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004653/0.2037, allocations: 91.83 kB / 0.6738 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002319/0.2039, allocations: 153.7 kB / 0.6739 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006368/0.2046, allocations: 118.5 kB / 0.674 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.911e-05/0.2046, allocations: 12.86 kB / 0.674 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003506/0.205, allocations: 113.1 kB / 0.6741 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.205, allocations: 34.56 kB / 0.6742 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=4): time 1.603e-06/0.205, allocations: 0 / 0.6742 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.004643/0.2097, allocations: 0.9817 MB / 0.6751 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.066e-05/0.2097, allocations: 51.41 kB / 0.6752 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.121e-05/0.2098, allocations: 97.86 kB / 0.6753 GB, free: 13 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.2099, allocations: 25.7 kB / 0.6753 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.291e-05/0.2099, allocations: 84.12 kB / 0.6754 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.197e-05/0.21, allocations: 27.59 kB / 0.6754 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.771e-05/0.21, allocations: 25.7 kB / 0.6754 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.2102, allocations: 310.8 kB / 0.6757 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002669/0.2104, allocations: 63.94 kB / 0.6758 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002492/0.2107, allocations: 63.94 kB / 0.6758 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005259/0.2112, allocations: 124.8 kB / 0.676 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.2112, allocations: 4 kB / 0.676 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005769/0.2118, allocations: 173.3 kB / 0.6761 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.2118, allocations: 8 kB / 0.6761 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.2119, allocations: 0 / 0.6761 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.2119, allocations: 0 / 0.6761 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002295/0.2121, allocations: 31.97 kB / 0.6762 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/0.2121, allocations: 0 / 0.6762 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001636/0.2123, allocations: 31.97 kB / 0.6762 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.2123, allocations: 7.984 kB / 0.6762 GB, free: 12 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 9.959e-05/0.2124, allocations: 109.8 kB / 0.6763 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.63e-05/0.2124, allocations: 4 kB / 0.6763 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.229e-05/0.2125, allocations: 8.484 kB / 0.6763 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.2125, allocations: 0 / 0.6763 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.2125, allocations: 0 / 0.6763 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.2126, allocations: 0 / 0.6763 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00103/0.2136, allocations: 455.2 kB / 0.6768 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.2136, allocations: 3.984 kB / 0.6768 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002131/0.2138, allocations: 43.89 kB / 0.6768 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.2138, allocations: 0 / 0.6768 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.2139, allocations: 4 kB / 0.6768 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.2139, allocations: 0 / 0.6768 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.2139, allocations: 7.938 kB / 0.6768 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008943/0.2148, allocations: 336.2 kB / 0.6771 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.936e-05/0.2148, allocations: 89.12 kB / 0.6772 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.2149, allocations: 0 / 0.6772 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002063/0.2151, allocations: 23.97 kB / 0.6772 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.165e-05/0.2151, allocations: 4 kB / 0.6772 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/0.2151, allocations: 12.05 kB / 0.6773 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.939e-05/0.2152, allocations: 87.16 kB / 0.6773 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2152, allocations: 0 / 0.6773 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002308/0.2154, allocations: 12 kB / 0.6774 GB, free: 10.7 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.0001255/0.2155, allocations: 107.2 kB / 0.6775 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006173/0.2162, allocations: 131.9 kB / 0.6776 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2162, allocations: 0 / 0.6776 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002661/0.2165, allocations: 75.92 kB / 0.6777 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000241/0.2167, allocations: 8 kB / 0.6777 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001186/0.2179, allocations: 328.2 kB / 0.678 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00029/0.2182, allocations: 0.6807 MB / 0.6786 GB, free: 9.324 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 6.665e-05/0.2183, allocations: 11.98 kB / 0.6786 GB, free: 9.312 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.913e-05/0.2183, allocations: 15.44 kB / 0.6787 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of SimCode: time 2.51e-07/0.2183, allocations: 4 kB / 0.6787 GB, free: 9.297 MB / 0.5137 GB Notification: Performance of Templates: time 0.003282/0.2216, allocations: 0.8319 MB / 0.6795 GB, free: 8.496 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)