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.1556/0.1576, allocations: 80.84 MB / 0.6706 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002193/0.1598, allocations: 1.277 MB / 0.6719 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008926/0.1607, allocations: 0.5375 MB / 0.6724 GB, free: 232 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.601e-05/0.1607, allocations: 7.938 kB / 0.6724 GB, free: 224 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.443e-05/0.1608, allocations: 3.938 kB / 0.6724 GB, free: 220 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.444e-05/0.1608, allocations: 3.938 kB / 0.6724 GB, free: 216 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004513/0.1613, allocations: 127.5 kB / 0.6725 GB, free: 88 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.289e-05/0.1613, allocations: 31.92 kB / 0.6726 GB, free: 56 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.297e-05/0.1614, allocations: 7.922 kB / 0.6726 GB, free: 48 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.442e-05/0.1614, allocations: 11.98 kB / 0.6726 GB, free: 36 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.807e-05/0.1615, allocations: 15.92 kB / 0.6726 GB, free: 20 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.213e-05/0.1615, allocations: 0 / 0.6726 GB, free: 20 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004921/0.162, allocations: 347.4 kB / 0.6729 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.433e-05/0.162, allocations: 11.92 kB / 0.6729 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.599e-05/0.1621, allocations: 19.92 kB / 0.673 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002288/0.1623, allocations: 139.6 kB / 0.6731 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1623, allocations: 0 / 0.6731 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1623, allocations: 0 / 0.6731 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.1623, allocations: 0 / 0.6731 GB, free: 15.51 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.0004182/0.1628, allocations: 363.5 kB / 0.6734 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.1628, allocations: 8.031 kB / 0.6735 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.664e-05/0.1628, allocations: 12.84 kB / 0.6735 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.163, allocations: 164.3 kB / 0.6736 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.163, allocations: 12.36 kB / 0.6736 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.569e-05/0.163, allocations: 4.375 kB / 0.6736 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003579/0.1634, allocations: 85.52 kB / 0.6737 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.1634, allocations: 0 / 0.6737 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.1634, allocations: 4 kB / 0.6737 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.1634, allocations: 0 / 0.6737 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002492/0.1637, allocations: 51.94 kB / 0.6738 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001772/0.1638, allocations: 161.7 kB / 0.6739 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002965/0.1642, allocations: 86.45 kB / 0.674 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.223e-05/0.1642, allocations: 32.84 kB / 0.674 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002639/0.1645, allocations: 113 kB / 0.6741 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.1645, allocations: 34.56 kB / 0.6742 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.1645, allocations: 0 / 0.6742 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.005065/0.1696, allocations: 1.153 MB / 0.6753 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.211e-05/0.1696, allocations: 51.41 kB / 0.6754 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.549e-05/0.1697, allocations: 101.9 kB / 0.6755 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.1697, allocations: 25.7 kB / 0.6755 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.778e-05/0.1698, allocations: 84.14 kB / 0.6756 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.352e-05/0.1698, allocations: 39.45 kB / 0.6756 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.003e-05/0.1699, allocations: 29.7 kB / 0.6756 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.17, allocations: 310.8 kB / 0.6759 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001999/0.1702, allocations: 64.06 kB / 0.676 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001804/0.1704, allocations: 54.83 kB / 0.676 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003961/0.1708, allocations: 128.6 kB / 0.6762 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1708, allocations: 0 / 0.6762 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004333/0.1713, allocations: 157.6 kB / 0.6763 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.1713, allocations: 8 kB / 0.6763 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.1713, allocations: 0 / 0.6763 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.1713, allocations: 0 / 0.6763 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002473/0.1716, allocations: 43.89 kB / 0.6764 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.1716, allocations: 0 / 0.6764 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001493/0.1717, allocations: 19.98 kB / 0.6764 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.401e-05/0.1718, allocations: 4 kB / 0.6764 GB, free: 11.82 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 8.376e-05/0.1718, allocations: 117.7 kB / 0.6765 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.89e-05/0.1719, allocations: 7.906 kB / 0.6765 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.14e-05/0.1719, allocations: 11.95 kB / 0.6765 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.1719, allocations: 4 kB / 0.6765 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.1719, allocations: 0 / 0.6765 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-06/0.172, allocations: 0 / 0.6765 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007508/0.1727, allocations: 434.3 kB / 0.6769 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.1727, allocations: 0 / 0.6769 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002398/0.173, allocations: 35.97 kB / 0.677 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.173, allocations: 0 / 0.677 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.395e-05/0.173, allocations: 11.94 kB / 0.677 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.173, allocations: 8 kB / 0.677 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.173, allocations: 0 / 0.677 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007106/0.1737, allocations: 327.4 kB / 0.6773 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.247e-05/0.1738, allocations: 77.11 kB / 0.6774 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.142e-05/0.1738, allocations: 4.094 kB / 0.6774 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001988/0.174, allocations: 27.88 kB / 0.6774 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.006e-05/0.1741, allocations: 4 kB / 0.6774 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/0.1741, allocations: 15.92 kB / 0.6774 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.037e-05/0.1741, allocations: 75.28 kB / 0.6775 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1741, allocations: 0 / 0.6775 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002437/0.1744, allocations: 24.16 kB / 0.6775 GB, free: 10.55 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.0001223/0.1745, allocations: 103.2 kB / 0.6776 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000475/0.175, allocations: 131.8 kB / 0.6777 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.175, allocations: 0 / 0.6777 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002019/0.1752, allocations: 75.94 kB / 0.6778 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002336/0.1754, allocations: 4 kB / 0.6778 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/0.1766, allocations: 425.4 kB / 0.6782 GB, free: 9.789 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002549/0.1769, allocations: 0.6855 MB / 0.6789 GB, free: 9.078 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 9.08e-05/0.177, allocations: 15.98 kB / 0.6789 GB, free: 9.062 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.298e-05/0.177, allocations: 11.44 kB / 0.6789 GB, free: 9.055 MB / 0.5137 GB Notification: Performance of SimCode: time 2.6e-07/0.177, allocations: 0 / 0.6789 GB, free: 9.055 MB / 0.5137 GB Notification: Performance of Templates: time 0.003264/0.1803, allocations: 0.9634 MB / 0.6799 GB, free: 8.133 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)