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.1658/0.1683, allocations: 80.83 MB / 0.6706 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002315/0.1706, allocations: 1.242 MB / 0.6718 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008265/0.1715, allocations: 0.5102 MB / 0.6723 GB, free: 264 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.112e-05/0.1715, allocations: 0 / 0.6723 GB, free: 264 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.934e-05/0.1715, allocations: 0 / 0.6723 GB, free: 264 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.256e-05/0.1716, allocations: 7.938 kB / 0.6723 GB, free: 256 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005214/0.1721, allocations: 119.5 kB / 0.6725 GB, free: 136 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.647e-05/0.1722, allocations: 11.94 kB / 0.6725 GB, free: 124 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.207e-05/0.1722, allocations: 0 / 0.6725 GB, free: 124 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.177e-05/0.1723, allocations: 11.92 kB / 0.6725 GB, free: 112 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.881e-05/0.1723, allocations: 0 / 0.6725 GB, free: 112 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.06e-05/0.1723, allocations: 8 kB / 0.6725 GB, free: 104 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005263/0.1728, allocations: 339.4 kB / 0.6728 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.448e-06/0.1729, allocations: 0 / 0.6728 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.193e-05/0.1729, allocations: 15.92 kB / 0.6728 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000234/0.1731, allocations: 123.8 kB / 0.6729 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.1731, allocations: 4 kB / 0.6729 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.352e-06/0.1732, allocations: 0 / 0.6729 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.179e-06/0.1732, allocations: 0 / 0.6729 GB, free: 15.63 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.0003587/0.1735, allocations: 351.4 kB / 0.6733 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.1736, allocations: 12.03 kB / 0.6733 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.757e-05/0.1736, allocations: 0.9375 kB / 0.6733 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.1737, allocations: 164.4 kB / 0.6735 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.1737, allocations: 384 / 0.6735 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.02e-05/0.1738, allocations: 4.375 kB / 0.6735 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000512/0.1743, allocations: 89.52 kB / 0.6735 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.1743, allocations: 0 / 0.6735 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.1743, allocations: 0 / 0.6735 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.1743, allocations: 4 kB / 0.6735 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000374/0.1747, allocations: 55.94 kB / 0.6736 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001453/0.1748, allocations: 157.6 kB / 0.6737 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000387/0.1752, allocations: 74.55 kB / 0.6738 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.112e-05/0.1753, allocations: 12.91 kB / 0.6738 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002613/0.1755, allocations: 109 kB / 0.6739 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.1756, allocations: 38.5 kB / 0.674 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.453e-06/0.1756, allocations: 0 / 0.674 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0008191/0.1764, allocations: 149.7 kB / 0.6741 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.094e-05/0.1764, allocations: 51.41 kB / 0.6742 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.553e-05/0.1765, allocations: 93.86 kB / 0.6743 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.1765, allocations: 25.7 kB / 0.6743 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.109e-05/0.1766, allocations: 84.12 kB / 0.6744 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.422e-05/0.1766, allocations: 4.062 kB / 0.6744 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-05/0.1766, allocations: 21.72 kB / 0.6744 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.032e-05/0.1767, allocations: 310.8 kB / 0.6747 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/0.1769, allocations: 15.98 kB / 0.6747 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.191e-05/0.177, allocations: 27.92 kB / 0.6747 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001807/0.1771, allocations: 40.88 kB / 0.6748 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1772, allocations: 4 kB / 0.6748 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002197/0.1774, allocations: 69.61 kB / 0.6748 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.1774, allocations: 4 kB / 0.6748 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.1774, allocations: 4.031 kB / 0.6748 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.1774, allocations: 4 kB / 0.6748 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001448/0.1789, allocations: 215.7 kB / 0.675 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002613/0.1815, allocations: 1.65 MB / 0.6767 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.862e-05/0.1816, allocations: 15.89 kB / 0.6767 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/0.1816, allocations: 8.062 kB / 0.6767 GB, free: 11.42 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 6.987e-05/0.1817, allocations: 105.8 kB / 0.6768 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.568e-06/0.1817, allocations: 0 / 0.6768 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.505e-05/0.1817, allocations: 7.125 kB / 0.6768 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1817, allocations: 4 kB / 0.6768 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.81e-07/0.1817, allocations: 0 / 0.6768 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.1817, allocations: 7.922 kB / 0.6768 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.699e-05/0.1818, allocations: 153.7 kB / 0.6769 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.1819, allocations: 0 / 0.6769 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001457/0.1833, allocations: 231.7 kB / 0.6772 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.1833, allocations: 0 / 0.6772 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.1834, allocations: 0 / 0.6772 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002551/0.1859, allocations: 1.654 MB / 0.6788 GB, free: 9.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.1859, allocations: 0 / 0.6788 GB, free: 9.07 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002428/0.1862, allocations: 105.1 kB / 0.6789 GB, free: 8.949 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.311e-05/0.1862, allocations: 77.11 kB / 0.679 GB, free: 8.855 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.013e-05/0.1862, allocations: 4 kB / 0.679 GB, free: 8.852 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.032e-05/0.1863, allocations: 8.031 kB / 0.679 GB, free: 8.844 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.609e-05/0.1863, allocations: 3.984 kB / 0.679 GB, free: 8.84 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.1864, allocations: 0 / 0.679 GB, free: 8.84 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.717e-05/0.1864, allocations: 83.22 kB / 0.6791 GB, free: 8.758 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2e-07/0.1864, allocations: 0 / 0.6791 GB, free: 8.758 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002149/0.1866, allocations: 12 kB / 0.6791 GB, free: 8.746 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.000112/0.1867, allocations: 103.3 kB / 0.6792 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001683/0.1884, allocations: 271.6 kB / 0.6794 GB, free: 8.367 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.1884, allocations: 0 / 0.6794 GB, free: 8.367 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002599/0.191, allocations: 399.6 kB / 0.6798 GB, free: 7.977 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001609/0.1912, allocations: 7.938 kB / 0.6798 GB, free: 7.969 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002301/0.1935, allocations: 437.6 kB / 0.6802 GB, free: 7.512 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002587/0.1938, allocations: 0.6768 MB / 0.6809 GB, free: 6.809 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.099e-05/0.1938, allocations: 3.906 kB / 0.6809 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.553e-05/0.1939, allocations: 7.438 kB / 0.6809 GB, free: 6.797 MB / 0.5137 GB Notification: Performance of SimCode: time 5.31e-07/0.1939, allocations: 0 / 0.6809 GB, free: 6.797 MB / 0.5137 GB Notification: Performance of Templates: time 0.00278/0.1967, allocations: 0.51 MB / 0.6814 GB, free: 6.32 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)