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.1587/0.1608, allocations: 80.84 MB / 0.6706 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002321/0.1631, allocations: 1.281 MB / 0.6719 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008837/0.164, allocations: 0.5297 MB / 0.6724 GB, free: 180 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.867e-05/0.1641, allocations: 0 / 0.6724 GB, free: 180 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.443e-05/0.1641, allocations: 7.875 kB / 0.6724 GB, free: 172 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.817e-05/0.1642, allocations: 3.984 kB / 0.6724 GB, free: 168 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004769/0.1647, allocations: 143.4 kB / 0.6725 GB, free: 24 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.84e-05/0.1647, allocations: 23.92 kB / 0.6726 GB, free: 0 / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.071e-05/0.1648, allocations: 4.047 kB / 0.6726 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.535e-05/0.1648, allocations: 11.94 kB / 0.6726 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.606e-05/0.1649, allocations: 15.92 kB / 0.6726 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.259e-05/0.165, allocations: 0 / 0.6726 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004866/0.1654, allocations: 347.4 kB / 0.6729 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.779e-05/0.1655, allocations: 11.94 kB / 0.6729 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.743e-05/0.1655, allocations: 19.92 kB / 0.673 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002494/0.1658, allocations: 139.6 kB / 0.6731 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1658, allocations: 3.938 kB / 0.6731 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.924e-06/0.1658, allocations: 0 / 0.6731 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.1658, allocations: 0 / 0.6731 GB, free: 15.46 MB / 0.5137 GB 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.0004432/0.1662, allocations: 363.5 kB / 0.6734 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.1663, allocations: 8.031 kB / 0.6735 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.251e-05/0.1663, allocations: 8.844 kB / 0.6735 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.1665, allocations: 164.3 kB / 0.6736 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.1665, allocations: 4.375 kB / 0.6736 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.605e-05/0.1665, allocations: 8.375 kB / 0.6736 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003914/0.1669, allocations: 89.5 kB / 0.6737 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.1669, allocations: 3.984 kB / 0.6737 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.1669, allocations: 0 / 0.6737 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.966e-06/0.167, allocations: 7.984 kB / 0.6737 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002534/0.1672, allocations: 47.94 kB / 0.6738 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001815/0.1674, allocations: 165.7 kB / 0.6739 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003105/0.1677, allocations: 82.52 kB / 0.674 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.351e-05/0.1678, allocations: 28.84 kB / 0.674 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002721/0.1681, allocations: 113 kB / 0.6741 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.1681, allocations: 42.48 kB / 0.6742 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.183e-06/0.1681, allocations: 0 / 0.6742 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.00519/0.1733, allocations: 1.153 MB / 0.6753 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.254e-05/0.1734, allocations: 51.41 kB / 0.6754 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.453e-05/0.1735, allocations: 105.8 kB / 0.6755 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.1735, allocations: 25.7 kB / 0.6755 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.628e-05/0.1736, allocations: 84.14 kB / 0.6756 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.827e-05/0.1736, allocations: 35.45 kB / 0.6756 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.283e-05/0.1737, allocations: 25.72 kB / 0.6756 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.1739, allocations: 318.8 kB / 0.6759 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002082/0.1741, allocations: 56.08 kB / 0.676 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001897/0.1743, allocations: 59.94 kB / 0.676 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003718/0.1746, allocations: 124 kB / 0.6762 GB, free: 12 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1747, allocations: 0 / 0.6762 GB, free: 12 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004608/0.1751, allocations: 165.5 kB / 0.6763 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.1752, allocations: 8 kB / 0.6763 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.1752, allocations: 0 / 0.6763 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.1752, allocations: 0 / 0.6763 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002536/0.1754, allocations: 31.97 kB / 0.6764 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.1755, allocations: 3.938 kB / 0.6764 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001463/0.1756, allocations: 27.97 kB / 0.6764 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.1756, allocations: 0 / 0.6764 GB, free: 11.77 MB / 0.5137 GB 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.0001133/0.1758, allocations: 121.7 kB / 0.6765 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.298e-05/0.1758, allocations: 7.906 kB / 0.6765 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.484e-05/0.1758, allocations: 7.969 kB / 0.6765 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.1759, allocations: 0 / 0.6765 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.497e-06/0.1759, allocations: 8 kB / 0.6765 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.1759, allocations: 3.984 kB / 0.6765 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008409/0.1767, allocations: 426.4 kB / 0.6769 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1767, allocations: 0 / 0.6769 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000257/0.177, allocations: 43.89 kB / 0.677 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.177, allocations: 96 / 0.677 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/0.177, allocations: 7.938 kB / 0.677 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1771, allocations: 7.938 kB / 0.677 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1771, allocations: 0 / 0.677 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007375/0.1778, allocations: 323.2 kB / 0.6773 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.518e-05/0.1779, allocations: 81.14 kB / 0.6774 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.97e-05/0.1779, allocations: 4 kB / 0.6774 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001952/0.1781, allocations: 15.98 kB / 0.6774 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.93e-05/0.1781, allocations: 3.984 kB / 0.6774 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.1782, allocations: 11.94 kB / 0.6774 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.561e-05/0.1782, allocations: 79.28 kB / 0.6775 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.304e-06/0.1782, allocations: 0 / 0.6775 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002363/0.1785, allocations: 24.09 kB / 0.6775 GB, free: 10.5 MB / 0.5137 GB 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.0001238/0.1786, allocations: 111.2 kB / 0.6776 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004633/0.1791, allocations: 127.8 kB / 0.6777 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1791, allocations: 0 / 0.6777 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002038/0.1793, allocations: 71.89 kB / 0.6778 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002306/0.1795, allocations: 8 kB / 0.6778 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001273/0.1808, allocations: 416.6 kB / 0.6782 GB, free: 9.742 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002995/0.1811, allocations: 0.6894 MB / 0.6789 GB, free: 9.027 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 9.583e-05/0.1812, allocations: 12 kB / 0.6789 GB, free: 9.016 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.896e-05/0.1813, allocations: 19.42 kB / 0.6789 GB, free: 9 MB / 0.5137 GB Notification: Performance of SimCode: time 3.2e-07/0.1813, allocations: 0 / 0.6789 GB, free: 9 MB / 0.5137 GB Notification: Performance of Templates: time 0.00322/0.1845, allocations: 0.9324 MB / 0.6798 GB, free: 8.109 MB / 0.5137 GB 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)