Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.1924/0.1938, allocations: 82.22 MB / 0.5935 GB, free: 5.977 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001702/0.1956, allocations: 0.9965 MB / 0.5944 GB, free: 4.965 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009325/0.1966, allocations: 499.5 kB / 0.5949 GB, free: 4.477 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.191e-05/0.1966, allocations: 0 / 0.5949 GB, free: 4.477 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.592e-05/0.1967, allocations: 0 / 0.5949 GB, free: 4.477 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.598e-05/0.1967, allocations: 3.984 kB / 0.5949 GB, free: 4.473 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005906/0.1973, allocations: 107.6 kB / 0.595 GB, free: 4.367 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.555e-05/0.1974, allocations: 15.94 kB / 0.595 GB, free: 4.352 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.308e-05/0.1974, allocations: 7.969 kB / 0.595 GB, free: 4.344 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.082e-05/0.1975, allocations: 4 kB / 0.5951 GB, free: 4.34 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.365e-05/0.1976, allocations: 11.94 kB / 0.5951 GB, free: 4.328 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.1976, allocations: 0 / 0.5951 GB, free: 4.328 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005686/0.1982, allocations: 339.4 kB / 0.5954 GB, free: 3.996 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.21e-05/0.1982, allocations: 3.984 kB / 0.5954 GB, free: 3.992 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.426e-05/0.1982, allocations: 29.7 kB / 0.5954 GB, free: 3.957 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002375/0.1985, allocations: 96.09 kB / 0.5955 GB, free: 3.863 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/0.1985, allocations: 4 kB / 0.5955 GB, free: 3.859 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1985, allocations: 0 / 0.5955 GB, free: 3.859 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.1985, allocations: 0 / 0.5955 GB, free: 3.859 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.0005115/0.199, allocations: 351.2 kB / 0.5959 GB, free: 3.469 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.1991, allocations: 8.031 kB / 0.5959 GB, free: 3.461 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.656e-05/0.1991, allocations: 4 kB / 0.5959 GB, free: 3.457 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001617/0.1993, allocations: 163 kB / 0.596 GB, free: 3.258 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.1993, allocations: 3.984 kB / 0.596 GB, free: 3.254 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.165e-05/0.1994, allocations: 4 kB / 0.596 GB, free: 3.25 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003953/0.1998, allocations: 85.55 kB / 0.5961 GB, free: 3.16 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.1998, allocations: 3.938 kB / 0.5961 GB, free: 3.156 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.1998, allocations: 0 / 0.5961 GB, free: 3.156 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.1998, allocations: 3.984 kB / 0.5961 GB, free: 3.152 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002512/0.2001, allocations: 51.95 kB / 0.5962 GB, free: 3.102 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001915/0.2003, allocations: 157.7 kB / 0.5963 GB, free: 2.898 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003994/0.2007, allocations: 94.48 kB / 0.5964 GB, free: 2.797 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.681e-05/0.2008, allocations: 12.86 kB / 0.5964 GB, free: 2.781 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002814/0.201, allocations: 121.2 kB / 0.5965 GB, free: 2.645 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.2011, allocations: 30.56 kB / 0.5966 GB, free: 2.605 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.433e-06/0.2011, allocations: 0 / 0.5966 GB, free: 2.605 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.002706/0.2038, allocations: 0.7203 MB / 0.5973 GB, free: 1.832 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/0.2039, allocations: 55.41 kB / 0.5973 GB, free: 1.766 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.658e-05/0.2039, allocations: 97.86 kB / 0.5974 GB, free: 1.66 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.204, allocations: 25.7 kB / 0.5974 GB, free: 1.629 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.323e-05/0.204, allocations: 80.14 kB / 0.5975 GB, free: 1.547 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.327e-05/0.2041, allocations: 19.8 kB / 0.5975 GB, free: 1.527 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.932e-06/0.2041, allocations: 0 / 0.5975 GB, free: 1.527 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.2042, allocations: 314.8 kB / 0.5978 GB, free: 1.211 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.2043, allocations: 47.91 kB / 0.5979 GB, free: 1.164 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001131/0.2044, allocations: 43.95 kB / 0.5979 GB, free: 1.121 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001285/0.2046, allocations: 39.97 kB / 0.598 GB, free: 1.082 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.2046, allocations: 0 / 0.598 GB, free: 1.082 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002907/0.2049, allocations: 129.5 kB / 0.5981 GB, free: 0.9492 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.2049, allocations: 7.953 kB / 0.5981 GB, free: 0.9414 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.2049, allocations: 4 kB / 0.5981 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.2049, allocations: 0 / 0.5981 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.2051, allocations: 19.98 kB / 0.5981 GB, free: 0.918 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.2051, allocations: 4 kB / 0.5981 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.067e-05/0.2052, allocations: 15.98 kB / 0.5981 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.2052, allocations: 0 / 0.5981 GB, free: 0.8984 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 0.000109/0.2053, allocations: 118.7 kB / 0.5982 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.729e-05/0.2053, allocations: 3.984 kB / 0.5982 GB, free: 0.7695 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.245e-05/0.2054, allocations: 15.92 kB / 0.5983 GB, free: 0.75 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.2054, allocations: 0 / 0.5983 GB, free: 0.75 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.2054, allocations: 64 / 0.5983 GB, free: 0.75 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.2054, allocations: 7.938 kB / 0.5983 GB, free: 0.7422 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006527/0.2061, allocations: 387.3 kB / 0.5986 GB, free: 312 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.2061, allocations: 4 kB / 0.5986 GB, free: 308 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001326/0.2062, allocations: 27.92 kB / 0.5987 GB, free: 280 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.2063, allocations: 4 kB / 0.5987 GB, free: 276 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.2063, allocations: 0 / 0.5987 GB, free: 276 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.2063, allocations: 0 / 0.5987 GB, free: 276 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.2063, allocations: 3.938 kB / 0.5987 GB, free: 272 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005131/0.2068, allocations: 276.2 kB / 0.5989 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.292e-05/0.2069, allocations: 85.12 kB / 0.599 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.897e-05/0.2069, allocations: 3.953 kB / 0.599 GB, free: 15.87 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/0.207, allocations: 15.98 kB / 0.599 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.848e-05/0.2071, allocations: 4.578 kB / 0.599 GB, free: 15.85 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.218e-06/0.2071, allocations: 4 kB / 0.599 GB, free: 15.85 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.336e-05/0.2071, allocations: 87.25 kB / 0.5991 GB, free: 15.76 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2071, allocations: 0 / 0.5991 GB, free: 15.76 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002297/0.2074, allocations: 12 kB / 0.5991 GB, free: 15.75 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dp_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.0001323/0.2075, allocations: 103.2 kB / 0.5992 GB, free: 15.64 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002987/0.2078, allocations: 91.88 kB / 0.5993 GB, free: 15.55 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.2078, allocations: 4 kB / 0.5993 GB, free: 15.55 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001219/0.208, allocations: 48.02 kB / 0.5994 GB, free: 15.5 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002319/0.2082, allocations: 8.609 kB / 0.5994 GB, free: 15.49 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007203/0.2089, allocations: 309.7 kB / 0.5997 GB, free: 15.16 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002582/0.2092, allocations: 0.6848 MB / 0.6004 GB, free: 14.45 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 6.843e-05/0.2093, allocations: 11.98 kB / 0.6004 GB, free: 14.43 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.048e-05/0.2093, allocations: 15.44 kB / 0.6004 GB, free: 14.42 MB / 462.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2093, allocations: 0 / 0.6004 GB, free: 14.42 MB / 462.1 MB Notification: Performance of Templates: time 0.002842/0.2122, allocations: 0.6448 MB / 0.601 GB, free: 13.82 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) Environment - environmentSimulation: