Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") [/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.1739/0.1761, allocations: 80.83 MB / 0.6706 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.00287/0.179, allocations: 1.238 MB / 0.6718 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009769/0.18, allocations: 0.5103 MB / 0.6723 GB, free: 304 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.524e-05/0.18, allocations: 3.938 kB / 0.6723 GB, free: 300 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.111e-05/0.1801, allocations: 0 / 0.6723 GB, free: 300 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.887e-05/0.1801, allocations: 0 / 0.6723 GB, free: 300 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004552/0.1806, allocations: 119.5 kB / 0.6724 GB, free: 180 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.655e-05/0.1806, allocations: 11.94 kB / 0.6725 GB, free: 168 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.503e-05/0.1807, allocations: 4 kB / 0.6725 GB, free: 164 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.077e-05/0.1807, allocations: 3.938 kB / 0.6725 GB, free: 160 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.708e-05/0.1808, allocations: 7.984 kB / 0.6725 GB, free: 152 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.282e-05/0.1808, allocations: 0 / 0.6725 GB, free: 152 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005141/0.1813, allocations: 351.4 kB / 0.6728 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.049e-05/0.1813, allocations: 0 / 0.6728 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.041e-05/0.1814, allocations: 3.938 kB / 0.6728 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002422/0.1816, allocations: 135.7 kB / 0.6729 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.1816, allocations: 4 kB / 0.6729 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.164e-06/0.1816, allocations: 0 / 0.6729 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.1816, allocations: 0 / 0.6729 GB, free: 15.66 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004505/0.1821, allocations: 355.3 kB / 0.6733 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.1821, allocations: 8.031 kB / 0.6733 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.936e-05/0.1822, allocations: 0.9375 kB / 0.6733 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.1823, allocations: 164.4 kB / 0.6734 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.1823, allocations: 384 / 0.6734 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.395e-06/0.1824, allocations: 384 / 0.6734 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005402/0.1829, allocations: 97.56 kB / 0.6735 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.1829, allocations: 0 / 0.6735 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.1829, allocations: 0 / 0.6735 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.183, allocations: 0 / 0.6735 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003548/0.1833, allocations: 63.88 kB / 0.6736 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001933/0.1835, allocations: 157.6 kB / 0.6738 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00037/0.1839, allocations: 74.55 kB / 0.6738 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.308e-05/0.1839, allocations: 12.92 kB / 0.6738 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002655/0.1842, allocations: 109 kB / 0.6739 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.1842, allocations: 34.56 kB / 0.674 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.1842, allocations: 0 / 0.674 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0007722/0.185, allocations: 149.6 kB / 0.6741 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/0.1851, allocations: 51.41 kB / 0.6742 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.157e-05/0.1852, allocations: 97.89 kB / 0.6743 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.1852, allocations: 25.7 kB / 0.6743 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.048e-05/0.1852, allocations: 80.14 kB / 0.6744 GB, free: 14 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.579e-05/0.1852, allocations: 11.91 kB / 0.6744 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.334e-05/0.1853, allocations: 13.7 kB / 0.6744 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.1854, allocations: 310.8 kB / 0.6747 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001038/0.1855, allocations: 24.11 kB / 0.6747 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.097e-05/0.1856, allocations: 15.98 kB / 0.6747 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001749/0.1858, allocations: 44.89 kB / 0.6748 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1858, allocations: 0 / 0.6748 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002139/0.186, allocations: 77.53 kB / 0.6748 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.186, allocations: 8.781 kB / 0.6748 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.186, allocations: 0 / 0.6748 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.1861, allocations: 0 / 0.6748 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001407/0.1875, allocations: 219.8 kB / 0.6751 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00267/0.1902, allocations: 1.654 MB / 0.6767 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.186e-05/0.1902, allocations: 7.938 kB / 0.6767 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-06/0.1903, allocations: 0 / 0.6767 GB, free: 11.46 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001028/0.1904, allocations: 109.8 kB / 0.6768 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.184e-05/0.1904, allocations: 4 kB / 0.6768 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.283e-05/0.1904, allocations: 7.125 kB / 0.6768 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.1904, allocations: 4.062 kB / 0.6768 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.61e-07/0.1904, allocations: 0 / 0.6768 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.1904, allocations: 7.875 kB / 0.6768 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001164/0.1906, allocations: 153.7 kB / 0.6769 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1906, allocations: 0 / 0.6769 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001404/0.192, allocations: 223.7 kB / 0.6772 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.192, allocations: 4 kB / 0.6772 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.192, allocations: 0 / 0.6772 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002664/0.1947, allocations: 1.666 MB / 0.6788 GB, free: 9.094 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1947, allocations: 0 / 0.6788 GB, free: 9.094 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002585/0.1949, allocations: 97.12 kB / 0.6789 GB, free: 8.98 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.55e-05/0.195, allocations: 77.11 kB / 0.679 GB, free: 8.887 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.057e-06/0.195, allocations: 0 / 0.679 GB, free: 8.887 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.738e-05/0.1951, allocations: 11.92 kB / 0.679 GB, free: 8.875 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.374e-05/0.1951, allocations: 4 kB / 0.679 GB, free: 8.871 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.888e-06/0.1951, allocations: 0 / 0.679 GB, free: 8.871 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.95e-05/0.1952, allocations: 83.31 kB / 0.6791 GB, free: 8.789 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1952, allocations: 0 / 0.6791 GB, free: 8.789 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002186/0.1954, allocations: 11.98 kB / 0.6791 GB, free: 8.777 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001545/0.1956, allocations: 103.2 kB / 0.6792 GB, free: 8.664 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001595/0.1972, allocations: 263.8 kB / 0.6794 GB, free: 8.406 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.1972, allocations: 0 / 0.6794 GB, free: 8.406 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002531/0.1997, allocations: 407.6 kB / 0.6798 GB, free: 8.008 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001596/0.1999, allocations: 7.938 kB / 0.6798 GB, free: 8 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00221/0.2021, allocations: 441.5 kB / 0.6802 GB, free: 7.539 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002496/0.2024, allocations: 0.669 MB / 0.6809 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.336e-05/0.2024, allocations: 7.891 kB / 0.6809 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.225e-05/0.2024, allocations: 15.44 kB / 0.6809 GB, free: 6.82 MB / 0.5137 GB Notification: Performance of SimCode: time 5.62e-07/0.2024, allocations: 0 / 0.6809 GB, free: 6.82 MB / 0.5137 GB Notification: Performance of Templates: time 0.002707/0.2052, allocations: 0.5065 MB / 0.6814 GB, free: 6.348 MB / 0.5137 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)