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_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_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.1904/0.1923, allocations: 80.83 MB / 0.5897 GB, free: 7.133 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002977/0.1953, allocations: 1.337 MB / 0.591 GB, free: 5.773 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001199/0.1965, allocations: 0.5614 MB / 0.5915 GB, free: 5.211 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.391e-05/0.1966, allocations: 3.938 kB / 0.5915 GB, free: 5.207 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.883e-05/0.1966, allocations: 3.938 kB / 0.5916 GB, free: 5.203 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.954e-05/0.1967, allocations: 7.984 kB / 0.5916 GB, free: 5.195 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004878/0.1972, allocations: 99.66 kB / 0.5917 GB, free: 5.098 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.082e-05/0.1973, allocations: 31.8 kB / 0.5917 GB, free: 5.066 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.936e-05/0.1973, allocations: 4 kB / 0.5917 GB, free: 5.062 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.134e-05/0.1974, allocations: 11.98 kB / 0.5917 GB, free: 5.051 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.566e-05/0.1975, allocations: 11.92 kB / 0.5917 GB, free: 5.039 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.1975, allocations: 8 kB / 0.5917 GB, free: 5.031 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005373/0.198, allocations: 351.4 kB / 0.5921 GB, free: 4.688 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.459e-05/0.1981, allocations: 0 / 0.5921 GB, free: 4.688 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.837e-05/0.1981, allocations: 19.92 kB / 0.5921 GB, free: 4.668 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002796/0.1984, allocations: 143.9 kB / 0.5922 GB, free: 4.527 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.1984, allocations: 0 / 0.5922 GB, free: 4.527 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1984, allocations: 0 / 0.5922 GB, free: 4.527 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.1984, allocations: 0 / 0.5922 GB, free: 4.527 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.0004275/0.1989, allocations: 367.4 kB / 0.5926 GB, free: 4.121 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.1989, allocations: 8.031 kB / 0.5926 GB, free: 4.113 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.338e-05/0.1989, allocations: 8.938 kB / 0.5926 GB, free: 4.105 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.1991, allocations: 168.3 kB / 0.5927 GB, free: 3.902 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.1991, allocations: 8.375 kB / 0.5927 GB, free: 3.895 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.037e-05/0.1991, allocations: 384 / 0.5927 GB, free: 3.895 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003799/0.1995, allocations: 89.73 kB / 0.5928 GB, free: 3.801 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.1995, allocations: 3.906 kB / 0.5928 GB, free: 3.797 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.1995, allocations: 8 kB / 0.5928 GB, free: 3.789 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.157e-06/0.1995, allocations: 0 / 0.5928 GB, free: 3.789 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002662/0.1998, allocations: 51.94 kB / 0.5929 GB, free: 3.738 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001684/0.2, allocations: 157.7 kB / 0.593 GB, free: 3.535 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003195/0.2003, allocations: 90.45 kB / 0.5931 GB, free: 3.438 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.205e-05/0.2004, allocations: 40.83 kB / 0.5932 GB, free: 3.395 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002792/0.2007, allocations: 105.1 kB / 0.5933 GB, free: 3.273 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/0.2007, allocations: 34.5 kB / 0.5933 GB, free: 3.23 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.2007, allocations: 0 / 0.5933 GB, free: 3.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0053/0.206, allocations: 1.156 MB / 0.5944 GB, free: 1.984 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.038e-05/0.2061, allocations: 51.41 kB / 0.5945 GB, free: 1.922 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.218e-05/0.2061, allocations: 93.86 kB / 0.5946 GB, free: 1.82 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.2062, allocations: 29.7 kB / 0.5946 GB, free: 1.785 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.401e-05/0.2062, allocations: 80.14 kB / 0.5947 GB, free: 1.703 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.772e-05/0.2063, allocations: 43.39 kB / 0.5947 GB, free: 1.66 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.734e-05/0.2063, allocations: 29.7 kB / 0.5947 GB, free: 1.625 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.2065, allocations: 319 kB / 0.595 GB, free: 1.305 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001873/0.2067, allocations: 55.94 kB / 0.5951 GB, free: 1.25 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001698/0.2068, allocations: 55.95 kB / 0.5952 GB, free: 1.195 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003418/0.2072, allocations: 128.2 kB / 0.5953 GB, free: 1.07 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2072, allocations: 3.938 kB / 0.5953 GB, free: 1.066 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004052/0.2076, allocations: 157.5 kB / 0.5954 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.2076, allocations: 8 kB / 0.5954 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.2076, allocations: 0 / 0.5954 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.2077, allocations: 4 kB / 0.5954 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002618/0.2079, allocations: 43.89 kB / 0.5955 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.2079, allocations: 4.781 kB / 0.5955 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001683/0.2081, allocations: 11.98 kB / 0.5955 GB, free: 0.8359 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-05/0.2081, allocations: 4 kB / 0.5955 GB, free: 0.832 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 (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 8.998e-05/0.2082, allocations: 114.7 kB / 0.5956 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.946e-05/0.2083, allocations: 7.938 kB / 0.5956 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.594e-05/0.2083, allocations: 19.95 kB / 0.5956 GB, free: 0.6797 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.2083, allocations: 4 kB / 0.5956 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.2083, allocations: 0 / 0.5956 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.2084, allocations: 0 / 0.5956 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007179/0.2091, allocations: 434.2 kB / 0.5961 GB, free: 200 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2091, allocations: 0 / 0.5961 GB, free: 200 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000247/0.2093, allocations: 39.97 kB / 0.5961 GB, free: 160 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.2094, allocations: 0 / 0.5961 GB, free: 160 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.81e-05/0.2094, allocations: 4 kB / 0.5961 GB, free: 156 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.2094, allocations: 0 / 0.5961 GB, free: 156 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.2094, allocations: 4 kB / 0.5961 GB, free: 152 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006886/0.2101, allocations: 335.2 kB / 0.5964 GB, free: 15.8 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.852e-05/0.2101, allocations: 81.02 kB / 0.5965 GB, free: 15.71 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.352e-05/0.2102, allocations: 0 / 0.5965 GB, free: 15.71 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002078/0.2104, allocations: 20 kB / 0.5965 GB, free: 15.69 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.849e-05/0.2104, allocations: 8 kB / 0.5965 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.2104, allocations: 8.141 kB / 0.5965 GB, free: 15.67 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.581e-05/0.2105, allocations: 87.16 kB / 0.5966 GB, free: 15.59 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2105, allocations: 0 / 0.5966 GB, free: 15.59 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002367/0.2107, allocations: 20 kB / 0.5966 GB, free: 15.57 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_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 (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.0001308/0.2109, allocations: 99.25 kB / 0.5967 GB, free: 15.46 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004345/0.2113, allocations: 139.9 kB / 0.5969 GB, free: 15.32 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.2113, allocations: 0 / 0.5969 GB, free: 15.32 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001874/0.2115, allocations: 70.45 kB / 0.5969 GB, free: 15.26 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002461/0.2118, allocations: 10.89 kB / 0.5969 GB, free: 15.25 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/0.213, allocations: 426.5 kB / 0.5973 GB, free: 14.8 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002364/0.2132, allocations: 0.6935 MB / 0.598 GB, free: 14.09 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001134/0.2133, allocations: 15.92 kB / 0.598 GB, free: 14.07 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.555e-05/0.2134, allocations: 15.44 kB / 0.5981 GB, free: 14.06 MB / 462.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2134, allocations: 0 / 0.5981 GB, free: 14.06 MB / 462.1 MB Notification: Performance of Templates: time 0.003144/0.2165, allocations: 0.8805 MB / 0.5989 GB, free: 13.21 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)