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_DerivativeCheck2.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_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") [/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.1903/0.1922, allocations: 80.85 MB / 0.5897 GB, free: 7.117 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.003135/0.1954, allocations: 1.337 MB / 0.591 GB, free: 5.758 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001153/0.1966, allocations: 0.5575 MB / 0.5915 GB, free: 5.199 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.741e-05/0.1967, allocations: 0 / 0.5915 GB, free: 5.199 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.517e-05/0.1967, allocations: 0 / 0.5915 GB, free: 5.199 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.617e-05/0.1968, allocations: 3.938 kB / 0.5915 GB, free: 5.195 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006129/0.1974, allocations: 103.6 kB / 0.5916 GB, free: 5.094 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.525e-05/0.1975, allocations: 31.86 kB / 0.5917 GB, free: 5.062 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.746e-05/0.1976, allocations: 8 kB / 0.5917 GB, free: 5.055 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.877e-05/0.1976, allocations: 8 kB / 0.5917 GB, free: 5.047 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.906e-05/0.1977, allocations: 19.91 kB / 0.5917 GB, free: 5.027 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.1977, allocations: 0 / 0.5917 GB, free: 5.027 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006301/0.1983, allocations: 347.4 kB / 0.592 GB, free: 4.688 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.584e-05/0.1984, allocations: 4 kB / 0.592 GB, free: 4.684 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.309e-05/0.1984, allocations: 15.88 kB / 0.5921 GB, free: 4.668 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003362/0.1987, allocations: 151.8 kB / 0.5922 GB, free: 4.52 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.1988, allocations: 0 / 0.5922 GB, free: 4.52 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1988, allocations: 0 / 0.5922 GB, free: 4.52 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.052e-06/0.1988, allocations: 4 kB / 0.5922 GB, free: 4.516 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005111/0.1993, allocations: 363.4 kB / 0.5926 GB, free: 4.113 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.1993, allocations: 8.031 kB / 0.5926 GB, free: 4.105 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.854e-05/0.1994, allocations: 8.922 kB / 0.5926 GB, free: 4.098 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.1995, allocations: 164.3 kB / 0.5927 GB, free: 3.898 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.1996, allocations: 4.375 kB / 0.5927 GB, free: 3.895 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.722e-05/0.1996, allocations: 4.375 kB / 0.5927 GB, free: 3.891 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006809/0.2003, allocations: 133.6 kB / 0.5929 GB, free: 3.754 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.2003, allocations: 3.906 kB / 0.5929 GB, free: 3.75 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.2003, allocations: 0 / 0.5929 GB, free: 3.75 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.2003, allocations: 4 kB / 0.5929 GB, free: 3.746 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005064/0.2008, allocations: 87.89 kB / 0.593 GB, free: 3.66 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002081/0.2011, allocations: 161.7 kB / 0.5931 GB, free: 3.453 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005539/0.2016, allocations: 134.5 kB / 0.5932 GB, free: 3.312 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.259e-05/0.2017, allocations: 24.86 kB / 0.5933 GB, free: 3.285 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000339/0.202, allocations: 105.1 kB / 0.5934 GB, free: 3.164 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.383e-05/0.2021, allocations: 50.42 kB / 0.5934 GB, free: 3.105 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.2021, allocations: 0 / 0.5934 GB, free: 3.105 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.008588/0.2107, allocations: 1.797 MB / 0.5952 GB, free: 1.215 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.635e-05/0.2108, allocations: 55.41 kB / 0.5952 GB, free: 1.148 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.915e-05/0.2109, allocations: 97.84 kB / 0.5953 GB, free: 1.043 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.692e-05/0.2109, allocations: 29.7 kB / 0.5953 GB, free: 1.008 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.325e-05/0.2109, allocations: 80.14 kB / 0.5954 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.137e-05/0.211, allocations: 43.39 kB / 0.5955 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.675e-05/0.2111, allocations: 29.7 kB / 0.5955 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.2112, allocations: 310.8 kB / 0.5958 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003764/0.2116, allocations: 104 kB / 0.5959 GB, free: 444 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000375/0.212, allocations: 107.9 kB / 0.596 GB, free: 336 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007111/0.2127, allocations: 204.2 kB / 0.5962 GB, free: 132 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.2127, allocations: 3.938 kB / 0.5962 GB, free: 128 kB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008538/0.2136, allocations: 257.3 kB / 0.5964 GB, free: 15.87 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.2136, allocations: 4 kB / 0.5964 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.2136, allocations: 4.094 kB / 0.5964 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.2136, allocations: 7.938 kB / 0.5964 GB, free: 15.85 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003887/0.214, allocations: 55.94 kB / 0.5965 GB, free: 15.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/0.2141, allocations: 4.062 kB / 0.5965 GB, free: 15.79 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002818/0.2143, allocations: 43.95 kB / 0.5965 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.2144, allocations: 4 kB / 0.5965 GB, free: 15.75 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 (13): * Single equations (assignments): 13 * 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 0.000111/0.2145, allocations: 122.6 kB / 0.5967 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.442e-05/0.2145, allocations: 0 / 0.5967 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.922e-05/0.2146, allocations: 15.97 kB / 0.5967 GB, free: 15.6 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.2146, allocations: 7.938 kB / 0.5967 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.2146, allocations: 0 / 0.5967 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.2146, allocations: 3.984 kB / 0.5967 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001205/0.2158, allocations: 0.5178 MB / 0.5972 GB, free: 15.01 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.2158, allocations: 0 / 0.5972 GB, free: 15.01 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003845/0.2162, allocations: 59.88 kB / 0.5973 GB, free: 14.95 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.2163, allocations: 0 / 0.5973 GB, free: 14.95 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.046e-05/0.2163, allocations: 4 kB / 0.5973 GB, free: 14.95 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.2163, allocations: 0 / 0.5973 GB, free: 14.95 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.2163, allocations: 7.984 kB / 0.5973 GB, free: 14.94 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001291/0.2176, allocations: 462.5 kB / 0.5977 GB, free: 14.48 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.53e-05/0.2176, allocations: 89.03 kB / 0.5978 GB, free: 14.37 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.868e-05/0.2177, allocations: 0 / 0.5978 GB, free: 14.37 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003245/0.218, allocations: 43.95 kB / 0.5978 GB, free: 14.33 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.897e-05/0.2181, allocations: 0 / 0.5978 GB, free: 14.33 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.809e-05/0.2181, allocations: 7.984 kB / 0.5978 GB, free: 14.32 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.853e-05/0.2181, allocations: 87.28 kB / 0.5979 GB, free: 14.23 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.152e-06/0.2181, allocations: 0 / 0.5979 GB, free: 14.23 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002647/0.2184, allocations: 23.94 kB / 0.5979 GB, free: 14.21 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_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 (11): * Single equations (assignments): 11 * 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.0001262/0.2185, allocations: 103.2 kB / 0.598 GB, free: 14.1 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008739/0.2194, allocations: 219.8 kB / 0.5983 GB, free: 13.89 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.2194, allocations: 0 / 0.5983 GB, free: 13.89 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004146/0.2199, allocations: 115.8 kB / 0.5984 GB, free: 13.77 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002405/0.2201, allocations: 11.98 kB / 0.5984 GB, free: 13.76 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002196/0.2223, allocations: 0.5882 MB / 0.599 GB, free: 13.14 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003812/0.2227, allocations: 0.6934 MB / 0.5996 GB, free: 12.43 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001457/0.2229, allocations: 23.92 kB / 0.5997 GB, free: 12.4 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.06e-05/0.2229, allocations: 15.44 kB / 0.5997 GB, free: 12.39 MB / 462.1 MB Notification: Performance of SimCode: time 2.3e-07/0.223, allocations: 0 / 0.5997 GB, free: 12.39 MB / 462.1 MB Notification: Performance of Templates: time 0.003344/0.2263, allocations: 1.091 MB / 0.6007 GB, free: 11.34 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)