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.1609/0.1616, allocations: 82.21 MB / 0.5934 GB, free: 15.48 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.00168/0.1634, allocations: 0.9984 MB / 0.5943 GB, free: 14.47 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006255/0.164, allocations: 261.1 kB / 0.5946 GB, free: 14.21 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.917e-05/0.1641, allocations: 0 / 0.5946 GB, free: 14.21 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 1.923e-05/0.1641, allocations: 0 / 0.5946 GB, free: 14.21 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 4.67e-05/0.1642, allocations: 0 / 0.5946 GB, free: 14.21 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003383/0.1645, allocations: 59.02 kB / 0.5946 GB, free: 14.16 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 5.95e-05/0.1646, allocations: 15.98 kB / 0.5947 GB, free: 14.14 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.808e-05/0.1646, allocations: 7.969 kB / 0.5947 GB, free: 14.14 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.354e-05/0.1646, allocations: 8 kB / 0.5947 GB, free: 14.13 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.977e-05/0.1647, allocations: 15.92 kB / 0.5947 GB, free: 14.11 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/0.1647, allocations: 4 kB / 0.5947 GB, free: 14.11 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002521/0.165, allocations: 143.8 kB / 0.5948 GB, free: 13.97 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.852e-05/0.165, allocations: 19.91 kB / 0.5949 GB, free: 13.95 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 2.722e-05/0.1651, allocations: 29.7 kB / 0.5949 GB, free: 13.91 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001232/0.1652, allocations: 44.17 kB / 0.5949 GB, free: 13.87 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.1652, allocations: 4 kB / 0.5949 GB, free: 13.87 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1652, allocations: 3.938 kB / 0.5949 GB, free: 13.86 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.1652, allocations: 4 kB / 0.5949 GB, free: 13.86 MB / 462.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.000403/0.1656, allocations: 339.3 kB / 0.5953 GB, free: 13.48 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.1657, allocations: 8.828 kB / 0.5953 GB, free: 13.47 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.783e-05/0.1657, allocations: 4 kB / 0.5953 GB, free: 13.47 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.1658, allocations: 171 kB / 0.5954 GB, free: 13.26 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.1659, allocations: 0 / 0.5954 GB, free: 13.26 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.158e-05/0.1659, allocations: 8 kB / 0.5954 GB, free: 13.25 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004003/0.1663, allocations: 97.52 kB / 0.5955 GB, free: 13.15 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.1663, allocations: 0 / 0.5955 GB, free: 13.15 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.1663, allocations: 4 kB / 0.5955 GB, free: 13.15 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.1664, allocations: 0 / 0.5955 GB, free: 13.15 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002765/0.1666, allocations: 63.94 kB / 0.5956 GB, free: 13.09 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002081/0.1669, allocations: 165.5 kB / 0.5958 GB, free: 12.88 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003347/0.1672, allocations: 106.5 kB / 0.5959 GB, free: 12.76 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002777/0.1675, allocations: 117.1 kB / 0.596 GB, free: 12.63 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.1675, allocations: 34.5 kB / 0.596 GB, free: 12.59 MB / 462.1 MB Notification: Performance of pre-optimization done (n=7): time 1.183e-06/0.1675, allocations: 0 / 0.596 GB, free: 12.59 MB / 462.1 MB Notification: Performance of matching and sorting (n=11): time 0.005245/0.1728, allocations: 1.341 MB / 0.5973 GB, free: 11.15 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.509e-05/0.1728, allocations: 55.41 kB / 0.5974 GB, free: 11.09 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.911e-05/0.1729, allocations: 93.84 kB / 0.5975 GB, free: 10.98 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.1729, allocations: 33.7 kB / 0.5975 GB, free: 10.95 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.285e-05/0.173, allocations: 84.27 kB / 0.5976 GB, free: 10.86 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.245e-05/0.173, allocations: 39.39 kB / 0.5976 GB, free: 10.82 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.608e-06/0.1731, allocations: 7.938 kB / 0.5976 GB, free: 10.81 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.1732, allocations: 310.8 kB / 0.5979 GB, free: 10.5 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001985/0.1734, allocations: 75.94 kB / 0.598 GB, free: 10.43 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001885/0.1736, allocations: 63.95 kB / 0.598 GB, free: 10.36 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001955/0.1738, allocations: 75.58 kB / 0.5981 GB, free: 10.29 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1738, allocations: 96 / 0.5981 GB, free: 10.29 MB / 462.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004549/0.1742, allocations: 193.4 kB / 0.5983 GB, free: 10.1 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.1743, allocations: 14.92 kB / 0.5983 GB, free: 10.09 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.1743, allocations: 0 / 0.5983 GB, free: 10.09 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.1743, allocations: 4 kB / 0.5983 GB, free: 10.08 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002462/0.1746, allocations: 43.95 kB / 0.5984 GB, free: 10.04 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.1746, allocations: 0 / 0.5984 GB, free: 10.04 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001556/0.1747, allocations: 27.98 kB / 0.5984 GB, free: 10.01 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/0.1748, allocations: 4 kB / 0.5984 GB, free: 10.01 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001069/0.1749, allocations: 113.8 kB / 0.5985 GB, free: 9.887 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.145e-05/0.1749, allocations: 11.97 kB / 0.5985 GB, free: 9.875 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.8e-05/0.175, allocations: 11.92 kB / 0.5985 GB, free: 9.863 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.175, allocations: 0 / 0.5985 GB, free: 9.863 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.175, allocations: 0 / 0.5985 GB, free: 9.863 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.175, allocations: 3.938 kB / 0.5985 GB, free: 9.859 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007883/0.1758, allocations: 466.3 kB / 0.599 GB, free: 9.348 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.1758, allocations: 4 kB / 0.599 GB, free: 9.344 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002392/0.176, allocations: 35.97 kB / 0.599 GB, free: 9.309 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.1761, allocations: 4 kB / 0.599 GB, free: 9.305 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.1761, allocations: 4 kB / 0.599 GB, free: 9.301 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1761, allocations: 3.938 kB / 0.599 GB, free: 9.297 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.1761, allocations: 3.984 kB / 0.599 GB, free: 9.293 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007209/0.1768, allocations: 351.3 kB / 0.5994 GB, free: 8.934 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.336e-05/0.1769, allocations: 93.06 kB / 0.5994 GB, free: 8.824 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.479e-05/0.1769, allocations: 4 kB / 0.5995 GB, free: 8.82 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000203/0.1771, allocations: 23.97 kB / 0.5995 GB, free: 8.797 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.276e-05/0.1771, allocations: 4 kB / 0.5995 GB, free: 8.793 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.1772, allocations: 11.98 kB / 0.5995 GB, free: 8.781 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.981e-05/0.1772, allocations: 75.28 kB / 0.5996 GB, free: 8.707 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.1772, allocations: 4.094 kB / 0.5996 GB, free: 8.703 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002351/0.1775, allocations: 20 kB / 0.5996 GB, free: 8.684 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 (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.0001038/0.1776, allocations: 103.2 kB / 0.5997 GB, free: 8.574 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004551/0.178, allocations: 151.9 kB / 0.5998 GB, free: 8.426 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.178, allocations: 0 / 0.5998 GB, free: 8.426 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002173/0.1783, allocations: 89.95 kB / 0.5999 GB, free: 8.34 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001424/0.1784, allocations: 0 / 0.5999 GB, free: 8.34 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/0.1796, allocations: 0.5043 MB / 0.6004 GB, free: 7.805 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000216/0.1798, allocations: 0.6887 MB / 0.6011 GB, free: 7.09 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001065/0.18, allocations: 15.94 kB / 0.6011 GB, free: 7.074 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.314e-05/0.18, allocations: 15.42 kB / 0.6011 GB, free: 7.059 MB / 462.1 MB Notification: Performance of SimCode: time 3.4e-07/0.18, allocations: 4 kB / 0.6011 GB, free: 7.055 MB / 462.1 MB Notification: Performance of Templates: time 0.002792/0.1828, allocations: 0.8444 MB / 0.6019 GB, free: 6.25 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: