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.1752/0.176, allocations: 82.22 MB / 0.5935 GB, free: 5.953 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.0016/0.1776, allocations: 0.9965 MB / 0.5945 GB, free: 4.941 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009357/0.1786, allocations: 0.4956 MB / 0.5949 GB, free: 4.445 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.059e-05/0.1786, allocations: 0 / 0.5949 GB, free: 4.445 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.712e-05/0.1787, allocations: 0 / 0.5949 GB, free: 4.445 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.759e-05/0.1787, allocations: 0 / 0.5949 GB, free: 4.445 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006192/0.1793, allocations: 119.6 kB / 0.595 GB, free: 4.328 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.067e-05/0.1794, allocations: 23.92 kB / 0.5951 GB, free: 4.305 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.35e-05/0.1795, allocations: 0 / 0.5951 GB, free: 4.305 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.793e-05/0.1795, allocations: 11.94 kB / 0.5951 GB, free: 4.293 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.576e-05/0.1796, allocations: 15.97 kB / 0.5951 GB, free: 4.277 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.651e-05/0.1796, allocations: 4 kB / 0.5951 GB, free: 4.273 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005717/0.1802, allocations: 339.4 kB / 0.5954 GB, free: 3.941 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.709e-05/0.1802, allocations: 11.98 kB / 0.5954 GB, free: 3.93 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.616e-05/0.1803, allocations: 33.64 kB / 0.5955 GB, free: 3.891 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001965/0.1805, allocations: 96.03 kB / 0.5956 GB, free: 3.797 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1805, allocations: 0 / 0.5956 GB, free: 3.797 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1805, allocations: 0 / 0.5956 GB, free: 3.797 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.1805, allocations: 0 / 0.5956 GB, free: 3.797 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.0004359/0.1809, allocations: 363.2 kB / 0.5959 GB, free: 3.395 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.181, allocations: 12.03 kB / 0.5959 GB, free: 3.383 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.56e-05/0.181, allocations: 4 kB / 0.5959 GB, free: 3.379 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.1812, allocations: 163 kB / 0.5961 GB, free: 3.18 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.1812, allocations: 11.94 kB / 0.5961 GB, free: 3.168 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.342e-05/0.1812, allocations: 0 / 0.5961 GB, free: 3.168 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003919/0.1816, allocations: 101.6 kB / 0.5962 GB, free: 3.062 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.1816, allocations: 3.938 kB / 0.5962 GB, free: 3.059 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.1817, allocations: 0 / 0.5962 GB, free: 3.059 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.1817, allocations: 0 / 0.5962 GB, free: 3.059 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002609/0.1819, allocations: 59.92 kB / 0.5962 GB, free: 3 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001911/0.1821, allocations: 173.6 kB / 0.5964 GB, free: 2.781 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003233/0.1825, allocations: 94.52 kB / 0.5965 GB, free: 2.68 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.361e-05/0.1825, allocations: 32.84 kB / 0.5965 GB, free: 2.645 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002597/0.1828, allocations: 117.1 kB / 0.5966 GB, free: 2.512 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.63e-05/0.1828, allocations: 34.5 kB / 0.5967 GB, free: 2.469 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.143e-06/0.1828, allocations: 0 / 0.5967 GB, free: 2.469 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.004911/0.1878, allocations: 1.344 MB / 0.598 GB, free: 1.031 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.1878, allocations: 51.41 kB / 0.598 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.889e-05/0.1879, allocations: 93.86 kB / 0.5981 GB, free: 0.8672 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.1879, allocations: 29.7 kB / 0.5982 GB, free: 0.832 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.056e-05/0.188, allocations: 80.14 kB / 0.5982 GB, free: 0.75 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.659e-05/0.188, allocations: 39.39 kB / 0.5983 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.007e-05/0.188, allocations: 4 kB / 0.5983 GB, free: 0.707 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.1882, allocations: 319 kB / 0.5986 GB, free: 396 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001911/0.1884, allocations: 67.94 kB / 0.5986 GB, free: 328 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001666/0.1885, allocations: 67.95 kB / 0.5987 GB, free: 260 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001806/0.1887, allocations: 75.7 kB / 0.5988 GB, free: 188 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.1887, allocations: 0 / 0.5988 GB, free: 188 kB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004432/0.1892, allocations: 205.4 kB / 0.599 GB, free: 15.98 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.1892, allocations: 4 kB / 0.599 GB, free: 15.97 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.1892, allocations: 0 / 0.599 GB, free: 15.97 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.1892, allocations: 0 / 0.599 GB, free: 15.97 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002403/0.1895, allocations: 40.06 kB / 0.599 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.1895, allocations: 7.938 kB / 0.599 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001323/0.1896, allocations: 19.98 kB / 0.599 GB, free: 15.91 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.655e-05/0.1897, allocations: 11.98 kB / 0.5991 GB, free: 15.89 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 8.822e-05/0.1898, allocations: 114.7 kB / 0.5992 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.883e-05/0.1898, allocations: 3.953 kB / 0.5992 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.455e-05/0.1898, allocations: 11.97 kB / 0.5992 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.1898, allocations: 4 kB / 0.5992 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.075e-05/0.1899, allocations: 0 / 0.5992 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.1899, allocations: 7.875 kB / 0.5992 GB, free: 15.74 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007499/0.1906, allocations: 458.3 kB / 0.5996 GB, free: 15.24 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.1906, allocations: 0 / 0.5996 GB, free: 15.24 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002326/0.1909, allocations: 43.97 kB / 0.5997 GB, free: 15.2 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.1909, allocations: 3.984 kB / 0.5997 GB, free: 15.19 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.746e-05/0.1909, allocations: 7.984 kB / 0.5997 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.1909, allocations: 7.938 kB / 0.5997 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1909, allocations: 0 / 0.5997 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007202/0.1916, allocations: 352.9 kB / 0.6 GB, free: 14.82 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.637e-05/0.1917, allocations: 84.97 kB / 0.6001 GB, free: 14.71 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.273e-05/0.1917, allocations: 8.016 kB / 0.6001 GB, free: 14.71 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001917/0.1919, allocations: 28.05 kB / 0.6001 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.224e-05/0.192, allocations: 3.984 kB / 0.6001 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.192, allocations: 4 kB / 0.6002 GB, free: 14.67 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.903e-05/0.192, allocations: 83.28 kB / 0.6002 GB, free: 14.59 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.192, allocations: 0 / 0.6002 GB, free: 14.59 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002346/0.1923, allocations: 16 kB / 0.6002 GB, free: 14.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 (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.0001293/0.1924, allocations: 111.2 kB / 0.6004 GB, free: 14.46 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004429/0.1929, allocations: 155.9 kB / 0.6005 GB, free: 14.3 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1929, allocations: 0 / 0.6005 GB, free: 14.3 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001921/0.1931, allocations: 83.88 kB / 0.6006 GB, free: 14.22 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002362/0.1933, allocations: 12.61 kB / 0.6006 GB, free: 14.21 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/0.1945, allocations: 0.4966 MB / 0.6011 GB, free: 13.68 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002604/0.1948, allocations: 0.6887 MB / 0.6017 GB, free: 12.97 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001148/0.1949, allocations: 15.94 kB / 0.6018 GB, free: 12.95 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.524e-05/0.1949, allocations: 15.42 kB / 0.6018 GB, free: 12.94 MB / 462.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1949, allocations: 0 / 0.6018 GB, free: 12.94 MB / 462.1 MB Notification: Performance of Templates: time 0.003522/0.1985, allocations: 0.851 MB / 0.6026 GB, free: 12.13 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: