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.1943/0.1951, allocations: 82.22 MB / 0.5941 GB, free: 5.562 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001399/0.1965, allocations: 0.9887 MB / 0.5951 GB, free: 4.559 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008653/0.1974, allocations: 0.542 MB / 0.5956 GB, free: 4.016 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.378e-05/0.1974, allocations: 0 / 0.5956 GB, free: 4.016 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.316e-05/0.1974, allocations: 0 / 0.5956 GB, free: 4.016 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.598e-05/0.1975, allocations: 3.938 kB / 0.5956 GB, free: 4.012 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003699/0.1979, allocations: 107.6 kB / 0.5957 GB, free: 3.906 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.811e-05/0.1979, allocations: 19.88 kB / 0.5957 GB, free: 3.887 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.256e-05/0.198, allocations: 4 kB / 0.5957 GB, free: 3.883 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.352e-05/0.198, allocations: 7.984 kB / 0.5958 GB, free: 3.875 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.37e-05/0.198, allocations: 11.94 kB / 0.5958 GB, free: 3.863 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.199e-05/0.1981, allocations: 4 kB / 0.5958 GB, free: 3.859 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004461/0.1985, allocations: 343.4 kB / 0.5961 GB, free: 3.523 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.899e-06/0.1985, allocations: 11.92 kB / 0.5961 GB, free: 3.512 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.427e-05/0.1986, allocations: 37.64 kB / 0.5961 GB, free: 3.469 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002193/0.1988, allocations: 128 kB / 0.5963 GB, free: 3.344 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1988, allocations: 4 kB / 0.5963 GB, free: 3.34 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.066e-06/0.1988, allocations: 0 / 0.5963 GB, free: 3.34 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.1988, allocations: 3.938 kB / 0.5963 GB, free: 3.336 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.0003799/0.1992, allocations: 351.4 kB / 0.5966 GB, free: 2.945 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.1993, allocations: 15.97 kB / 0.5966 GB, free: 2.93 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.435e-05/0.1993, allocations: 4.938 kB / 0.5966 GB, free: 2.926 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001582/0.1995, allocations: 164.4 kB / 0.5968 GB, free: 2.727 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.1995, allocations: 384 / 0.5968 GB, free: 2.727 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.585e-05/0.1995, allocations: 4.375 kB / 0.5968 GB, free: 2.723 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006859/0.2002, allocations: 129.7 kB / 0.5969 GB, free: 2.59 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.2003, allocations: 0 / 0.5969 GB, free: 2.59 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.612e-05/0.2003, allocations: 0 / 0.5969 GB, free: 2.59 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.2003, allocations: 0 / 0.5969 GB, free: 2.59 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004896/0.2008, allocations: 91.91 kB / 0.597 GB, free: 2.5 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000217/0.201, allocations: 157.7 kB / 0.5972 GB, free: 2.297 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006463/0.2017, allocations: 134.5 kB / 0.5973 GB, free: 2.156 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.248e-05/0.2017, allocations: 20.84 kB / 0.5973 GB, free: 2.133 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003649/0.2021, allocations: 117.1 kB / 0.5974 GB, free: 2 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.169e-05/0.2022, allocations: 38.5 kB / 0.5974 GB, free: 1.953 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 2.445e-06/0.2022, allocations: 0 / 0.5974 GB, free: 1.953 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.005014/0.2072, allocations: 1.091 MB / 0.5985 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.444e-05/0.2073, allocations: 51.41 kB / 0.5986 GB, free: 0.7461 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.303e-05/0.2073, allocations: 97.86 kB / 0.5987 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.2074, allocations: 25.7 kB / 0.5987 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.191e-05/0.2074, allocations: 84.14 kB / 0.5988 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.839e-05/0.2075, allocations: 23.64 kB / 0.5988 GB, free: 0.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.325e-05/0.2075, allocations: 17.72 kB / 0.5988 GB, free: 488 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.2077, allocations: 314.8 kB / 0.5991 GB, free: 164 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002881/0.208, allocations: 75.92 kB / 0.5992 GB, free: 88 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002852/0.2083, allocations: 67.92 kB / 0.5992 GB, free: 20 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005765/0.2089, allocations: 148.8 kB / 0.5994 GB, free: 15.87 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.2089, allocations: 0 / 0.5994 GB, free: 15.87 MB / 462.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000607/0.2095, allocations: 189.4 kB / 0.5996 GB, free: 15.68 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.2095, allocations: 8 kB / 0.5996 GB, free: 15.67 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.2095, allocations: 0 / 0.5996 GB, free: 15.67 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.2096, allocations: 0 / 0.5996 GB, free: 15.67 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002235/0.2098, allocations: 47.91 kB / 0.5996 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.2098, allocations: 0 / 0.5996 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001676/0.21, allocations: 27.97 kB / 0.5996 GB, free: 15.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.21, allocations: 8.172 kB / 0.5996 GB, free: 15.59 MB / 462.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 8.473e-05/0.2101, allocations: 110.7 kB / 0.5998 GB, free: 15.47 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.971e-05/0.2101, allocations: 15.94 kB / 0.5998 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.059e-05/0.2102, allocations: 3.969 kB / 0.5998 GB, free: 15.45 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.2102, allocations: 0 / 0.5998 GB, free: 15.45 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.2102, allocations: 0 / 0.5998 GB, free: 15.45 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.2102, allocations: 0 / 0.5998 GB, free: 15.45 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/0.2112, allocations: 475.2 kB / 0.6002 GB, free: 14.93 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.2112, allocations: 0 / 0.6002 GB, free: 14.93 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002187/0.2114, allocations: 44.11 kB / 0.6003 GB, free: 14.88 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.2115, allocations: 8 kB / 0.6003 GB, free: 14.88 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.2115, allocations: 0 / 0.6003 GB, free: 14.88 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.2115, allocations: 0 / 0.6003 GB, free: 14.88 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2115, allocations: 0 / 0.6003 GB, free: 14.88 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009576/0.2125, allocations: 380 kB / 0.6006 GB, free: 14.48 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.823e-05/0.2125, allocations: 85.12 kB / 0.6007 GB, free: 14.38 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.2125, allocations: 0 / 0.6007 GB, free: 14.38 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002106/0.2128, allocations: 28.48 kB / 0.6007 GB, free: 14.36 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.224e-05/0.2128, allocations: 7.984 kB / 0.6008 GB, free: 14.35 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.2128, allocations: 8.062 kB / 0.6008 GB, free: 14.34 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.262e-05/0.2128, allocations: 83.27 kB / 0.6008 GB, free: 14.26 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2128, allocations: 0 / 0.6008 GB, free: 14.26 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002333/0.2131, allocations: 15.94 kB / 0.6009 GB, free: 14.24 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 (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.000109/0.2132, allocations: 103.2 kB / 0.601 GB, free: 14.13 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006073/0.2138, allocations: 155.8 kB / 0.6011 GB, free: 13.98 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.2138, allocations: 0 / 0.6011 GB, free: 13.98 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002845/0.2141, allocations: 76 kB / 0.6012 GB, free: 13.91 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002394/0.2144, allocations: 14.64 kB / 0.6012 GB, free: 13.89 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001268/0.2156, allocations: 405.3 kB / 0.6016 GB, free: 13.46 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002778/0.2159, allocations: 0.6809 MB / 0.6022 GB, free: 12.76 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 6.852e-05/0.216, allocations: 8 kB / 0.6022 GB, free: 12.75 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.395e-05/0.2161, allocations: 19.42 kB / 0.6023 GB, free: 12.73 MB / 462.1 MB Notification: Performance of SimCode: time 6.21e-07/0.2161, allocations: 0 / 0.6023 GB, free: 12.73 MB / 462.1 MB Notification: Performance of Templates: time 0.002985/0.2191, allocations: 0.7758 MB / 0.603 GB, free: 12 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: