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.1767/0.1787, allocations: 80.84 MB / 0.6706 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002346/0.1811, allocations: 1.234 MB / 0.6718 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000881/0.182, allocations: 0.5063 MB / 0.6723 GB, free: 264 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.638e-05/0.182, allocations: 0 / 0.6723 GB, free: 264 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.917e-05/0.1821, allocations: 0 / 0.6723 GB, free: 264 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.744e-05/0.1821, allocations: 0 / 0.6723 GB, free: 264 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004459/0.1826, allocations: 131.4 kB / 0.6725 GB, free: 132 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.914e-05/0.1826, allocations: 8 kB / 0.6725 GB, free: 124 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.532e-05/0.1827, allocations: 0 / 0.6725 GB, free: 124 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.14e-05/0.1827, allocations: 11.92 kB / 0.6725 GB, free: 112 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.87e-05/0.1828, allocations: 3.984 kB / 0.6725 GB, free: 108 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.22e-05/0.1828, allocations: 3.938 kB / 0.6725 GB, free: 104 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005527/0.1833, allocations: 343.5 kB / 0.6728 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.447e-06/0.1834, allocations: 3.938 kB / 0.6728 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.355e-05/0.1834, allocations: 7.938 kB / 0.6728 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002399/0.1836, allocations: 131.6 kB / 0.6729 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1837, allocations: 0 / 0.6729 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1837, allocations: 0 / 0.6729 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.1837, allocations: 0 / 0.6729 GB, free: 15.62 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.0003844/0.1841, allocations: 355.1 kB / 0.6733 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.1841, allocations: 12.03 kB / 0.6733 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.979e-05/0.1841, allocations: 0.9375 kB / 0.6733 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.1843, allocations: 160.4 kB / 0.6735 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.1843, allocations: 384 / 0.6735 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.516e-06/0.1843, allocations: 8.359 kB / 0.6735 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004764/0.1848, allocations: 93.52 kB / 0.6735 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.934e-06/0.1848, allocations: 0 / 0.6735 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.1848, allocations: 3.984 kB / 0.6736 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.1848, allocations: 0 / 0.6736 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003534/0.1852, allocations: 59.94 kB / 0.6736 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00016/0.1853, allocations: 149.7 kB / 0.6738 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003707/0.1857, allocations: 78.52 kB / 0.6738 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.097e-05/0.1858, allocations: 12.84 kB / 0.6738 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002634/0.186, allocations: 105.1 kB / 0.6739 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/0.1861, allocations: 42.5 kB / 0.674 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.243e-06/0.1861, allocations: 0 / 0.674 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0007711/0.1868, allocations: 145.7 kB / 0.6741 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.935e-05/0.1869, allocations: 55.44 kB / 0.6742 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.342e-05/0.187, allocations: 89.86 kB / 0.6743 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.187, allocations: 25.7 kB / 0.6743 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.288e-05/0.187, allocations: 88.14 kB / 0.6744 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.858e-05/0.1871, allocations: 7.938 kB / 0.6744 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.242e-05/0.1871, allocations: 13.66 kB / 0.6744 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.1872, allocations: 314.8 kB / 0.6747 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.867e-05/0.1873, allocations: 20.11 kB / 0.6747 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.127e-05/0.1874, allocations: 15.98 kB / 0.6747 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001767/0.1876, allocations: 48.83 kB / 0.6748 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.1876, allocations: 3.984 kB / 0.6748 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002249/0.1879, allocations: 73.61 kB / 0.6748 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.1879, allocations: 4 kB / 0.6748 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.1879, allocations: 0 / 0.6748 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.1879, allocations: 0 / 0.6748 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00138/0.1893, allocations: 219.8 kB / 0.6751 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002608/0.1919, allocations: 1.654 MB / 0.6767 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.829e-05/0.192, allocations: 15.89 kB / 0.6767 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.293e-06/0.192, allocations: 0 / 0.6767 GB, free: 11.41 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 8.733e-05/0.1921, allocations: 109.8 kB / 0.6768 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.186e-05/0.1921, allocations: 4 kB / 0.6768 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.053e-05/0.1921, allocations: 7.188 kB / 0.6768 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.1921, allocations: 0 / 0.6768 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.61e-07/0.1921, allocations: 0 / 0.6768 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.1922, allocations: 7.938 kB / 0.6768 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000167/0.1923, allocations: 149.7 kB / 0.677 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1923, allocations: 4 kB / 0.677 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001311/0.1937, allocations: 223.7 kB / 0.6772 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.1937, allocations: 0 / 0.6772 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.918e-06/0.1937, allocations: 4 kB / 0.6772 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002428/0.1961, allocations: 1.662 MB / 0.6788 GB, free: 9.055 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1961, allocations: 0 / 0.6788 GB, free: 9.055 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002382/0.1964, allocations: 101 kB / 0.6789 GB, free: 8.938 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.435e-05/0.1964, allocations: 81.09 kB / 0.679 GB, free: 8.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.385e-06/0.1964, allocations: 0 / 0.679 GB, free: 8.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.724e-05/0.1965, allocations: 8 kB / 0.679 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.427e-05/0.1965, allocations: 7.984 kB / 0.679 GB, free: 8.824 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.389e-06/0.1965, allocations: 4.031 kB / 0.679 GB, free: 8.82 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.061e-05/0.1966, allocations: 79.28 kB / 0.6791 GB, free: 8.742 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1966, allocations: 0 / 0.6791 GB, free: 8.742 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002141/0.1968, allocations: 8 kB / 0.6791 GB, free: 8.734 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.000133/0.197, allocations: 99.23 kB / 0.6792 GB, free: 8.625 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001603/0.1986, allocations: 267.8 kB / 0.6794 GB, free: 8.363 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.1986, allocations: 3.938 kB / 0.6794 GB, free: 8.359 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002475/0.2011, allocations: 407.6 kB / 0.6798 GB, free: 7.961 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001518/0.2012, allocations: 3.938 kB / 0.6798 GB, free: 7.957 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002147/0.2034, allocations: 445.5 kB / 0.6802 GB, free: 7.492 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002746/0.2037, allocations: 0.6729 MB / 0.6809 GB, free: 6.793 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.667e-05/0.2037, allocations: 4 kB / 0.6809 GB, free: 6.789 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.919e-05/0.2037, allocations: 11.44 kB / 0.6809 GB, free: 6.777 MB / 0.5137 GB Notification: Performance of SimCode: time 3.2e-07/0.2037, allocations: 0 / 0.6809 GB, free: 6.777 MB / 0.5137 GB Notification: Performance of Templates: time 0.002811/0.2066, allocations: 0.4895 MB / 0.6814 GB, free: 6.324 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)