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.1719/0.1727, allocations: 82.21 MB / 0.5941 GB, free: 5.551 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001409/0.1741, allocations: 1.012 MB / 0.5951 GB, free: 4.523 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009489/0.1751, allocations: 0.5536 MB / 0.5956 GB, free: 3.969 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.593e-05/0.1751, allocations: 0 / 0.5956 GB, free: 3.969 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.72e-05/0.1751, allocations: 0 / 0.5956 GB, free: 3.969 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.485e-05/0.1752, allocations: 7.938 kB / 0.5956 GB, free: 3.961 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003885/0.1756, allocations: 103.7 kB / 0.5957 GB, free: 3.859 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.226e-05/0.1757, allocations: 35.8 kB / 0.5958 GB, free: 3.824 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.427e-05/0.1757, allocations: 3.984 kB / 0.5958 GB, free: 3.82 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.613e-05/0.1757, allocations: 8 kB / 0.5958 GB, free: 3.812 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.119e-05/0.1758, allocations: 19.91 kB / 0.5958 GB, free: 3.793 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.546e-05/0.1758, allocations: 4 kB / 0.5958 GB, free: 3.789 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004631/0.1763, allocations: 339.4 kB / 0.5961 GB, free: 3.457 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.66e-05/0.1763, allocations: 11.98 kB / 0.5962 GB, free: 3.445 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.827e-05/0.1764, allocations: 37.64 kB / 0.5962 GB, free: 3.402 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002439/0.1766, allocations: 147.9 kB / 0.5963 GB, free: 3.258 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1766, allocations: 0 / 0.5963 GB, free: 3.258 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1766, allocations: 0 / 0.5963 GB, free: 3.258 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.978e-06/0.1767, allocations: 0 / 0.5963 GB, free: 3.258 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.0004157/0.1771, allocations: 359.4 kB / 0.5967 GB, free: 2.859 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.1771, allocations: 8.031 kB / 0.5967 GB, free: 2.852 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.11e-05/0.1772, allocations: 4.938 kB / 0.5967 GB, free: 2.848 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.1773, allocations: 168.3 kB / 0.5968 GB, free: 2.645 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.1773, allocations: 8.375 kB / 0.5969 GB, free: 2.637 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.754e-05/0.1773, allocations: 8.359 kB / 0.5969 GB, free: 2.629 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004021/0.1777, allocations: 93.75 kB / 0.5969 GB, free: 2.531 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.1778, allocations: 4 kB / 0.597 GB, free: 2.527 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.1778, allocations: 0 / 0.597 GB, free: 2.527 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.1778, allocations: 4 kB / 0.597 GB, free: 2.523 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002597/0.1781, allocations: 55.94 kB / 0.597 GB, free: 2.469 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002343/0.1783, allocations: 165.6 kB / 0.5972 GB, free: 2.258 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000376/0.1787, allocations: 110.5 kB / 0.5973 GB, free: 2.141 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.208e-05/0.1787, allocations: 28.84 kB / 0.5973 GB, free: 2.109 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002766/0.179, allocations: 121.1 kB / 0.5974 GB, free: 1.973 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.1791, allocations: 34.5 kB / 0.5974 GB, free: 1.93 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.1791, allocations: 0 / 0.5974 GB, free: 1.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.005516/0.1846, allocations: 1.347 MB / 0.5988 GB, free: 0.4922 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.822e-05/0.1846, allocations: 51.41 kB / 0.5988 GB, free: 440 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.615e-05/0.1847, allocations: 97.86 kB / 0.5989 GB, free: 332 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.075e-05/0.1848, allocations: 29.7 kB / 0.5989 GB, free: 296 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.129e-05/0.1848, allocations: 80.14 kB / 0.599 GB, free: 212 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.333e-05/0.1848, allocations: 43.39 kB / 0.5991 GB, free: 168 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.784e-05/0.1849, allocations: 17.7 kB / 0.5991 GB, free: 144 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.185, allocations: 318.8 kB / 0.5994 GB, free: 15.82 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002075/0.1852, allocations: 64.08 kB / 0.5994 GB, free: 15.76 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000201/0.1854, allocations: 75.69 kB / 0.5995 GB, free: 15.69 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004113/0.1859, allocations: 152.7 kB / 0.5997 GB, free: 15.54 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.1859, allocations: 3.938 kB / 0.5997 GB, free: 15.53 MB / 462.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005842/0.1865, allocations: 185.5 kB / 0.5998 GB, free: 15.34 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.1865, allocations: 4 kB / 0.5998 GB, free: 15.34 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.1865, allocations: 320 / 0.5998 GB, free: 15.34 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.1865, allocations: 4 kB / 0.5998 GB, free: 15.34 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002612/0.1868, allocations: 47.97 kB / 0.5999 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.1868, allocations: 3.938 kB / 0.5999 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001573/0.187, allocations: 23.97 kB / 0.5999 GB, free: 15.26 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.664e-05/0.187, allocations: 3.984 kB / 0.5999 GB, free: 15.26 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.0001833/0.1872, allocations: 122.7 kB / 0.6 GB, free: 15.13 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.612e-05/0.1872, allocations: 11.92 kB / 0.6 GB, free: 15.12 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.653e-05/0.1873, allocations: 11.97 kB / 0.6001 GB, free: 15.1 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1873, allocations: 0 / 0.6001 GB, free: 15.1 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.1873, allocations: 0 / 0.6001 GB, free: 15.1 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.323e-06/0.1873, allocations: 3.984 kB / 0.6001 GB, free: 15.1 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/0.1884, allocations: 458.3 kB / 0.6005 GB, free: 14.59 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.1884, allocations: 7.984 kB / 0.6005 GB, free: 14.59 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002567/0.1886, allocations: 39.97 kB / 0.6005 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.966e-06/0.1887, allocations: 4 kB / 0.6005 GB, free: 14.54 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.1887, allocations: 0 / 0.6005 GB, free: 14.54 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.1887, allocations: 0 / 0.6005 GB, free: 14.54 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1887, allocations: 0 / 0.6005 GB, free: 14.54 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007988/0.1895, allocations: 371.2 kB / 0.6009 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.301e-05/0.1896, allocations: 81.02 kB / 0.601 GB, free: 14.07 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.44e-05/0.1896, allocations: 0 / 0.601 GB, free: 14.07 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000205/0.1898, allocations: 24.17 kB / 0.601 GB, free: 14.04 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.959e-05/0.1898, allocations: 15.92 kB / 0.601 GB, free: 14.03 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-05/0.1899, allocations: 4 kB / 0.601 GB, free: 14.02 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.626e-05/0.1899, allocations: 79.22 kB / 0.6011 GB, free: 13.95 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1899, allocations: 0 / 0.6011 GB, free: 13.95 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002562/0.1902, allocations: 20 kB / 0.6011 GB, free: 13.93 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.0001524/0.1903, allocations: 107.3 kB / 0.6012 GB, free: 13.81 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005371/0.1909, allocations: 167.8 kB / 0.6014 GB, free: 13.65 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.1909, allocations: 0 / 0.6014 GB, free: 13.65 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002171/0.1911, allocations: 79.34 kB / 0.6015 GB, free: 13.57 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002675/0.1914, allocations: 8.609 kB / 0.6015 GB, free: 13.57 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001232/0.1926, allocations: 0.5081 MB / 0.602 GB, free: 13.03 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002516/0.1929, allocations: 0.6888 MB / 0.6026 GB, free: 12.31 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001149/0.193, allocations: 15.94 kB / 0.6026 GB, free: 12.3 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.892e-05/0.1931, allocations: 15.42 kB / 0.6027 GB, free: 12.29 MB / 462.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1931, allocations: 3.938 kB / 0.6027 GB, free: 12.28 MB / 462.1 MB Notification: Performance of Templates: time 0.003014/0.1961, allocations: 0.8723 MB / 0.6035 GB, free: 11.45 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: