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.1778/0.1789, allocations: 82.22 MB / 0.5934 GB, free: 6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001829/0.1808, allocations: 0.9633 MB / 0.5943 GB, free: 5.023 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000419/0.1812, allocations: 167.6 kB / 0.5945 GB, free: 4.859 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.795e-05/0.1813, allocations: 0 / 0.5945 GB, free: 4.859 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.81e-05/0.1813, allocations: 0 / 0.5945 GB, free: 4.859 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.901e-05/0.1814, allocations: 0 / 0.5945 GB, free: 4.859 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003452/0.1817, allocations: 35.92 kB / 0.5945 GB, free: 4.824 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.745e-05/0.1818, allocations: 19.86 kB / 0.5945 GB, free: 4.805 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.153e-05/0.1818, allocations: 0 / 0.5945 GB, free: 4.805 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.405e-05/0.1819, allocations: 4 kB / 0.5945 GB, free: 4.801 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.191e-05/0.1819, allocations: 7.984 kB / 0.5945 GB, free: 4.793 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.182, allocations: 4 kB / 0.5945 GB, free: 4.789 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002772/0.1822, allocations: 143.8 kB / 0.5947 GB, free: 4.648 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.108e-05/0.1823, allocations: 3.938 kB / 0.5947 GB, free: 4.645 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.117e-05/0.1823, allocations: 25.7 kB / 0.5947 GB, free: 4.613 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001362/0.1824, allocations: 44.17 kB / 0.5947 GB, free: 4.57 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1825, allocations: 0 / 0.5947 GB, free: 4.57 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1825, allocations: 8 kB / 0.5948 GB, free: 4.562 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.1825, allocations: 0 / 0.5948 GB, free: 4.562 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000428/0.1829, allocations: 327.3 kB / 0.5951 GB, free: 4.195 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.183, allocations: 12.03 kB / 0.5951 GB, free: 4.184 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.379e-05/0.183, allocations: 0 / 0.5951 GB, free: 4.184 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002535/0.1833, allocations: 163.1 kB / 0.5952 GB, free: 3.984 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.1833, allocations: 0 / 0.5952 GB, free: 3.984 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.272e-05/0.1833, allocations: 0 / 0.5952 GB, free: 3.984 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005616/0.1839, allocations: 105.5 kB / 0.5953 GB, free: 3.875 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.1839, allocations: 0 / 0.5953 GB, free: 3.875 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.467e-06/0.1839, allocations: 0 / 0.5953 GB, free: 3.875 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.1839, allocations: 0 / 0.5953 GB, free: 3.875 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003753/0.1843, allocations: 67.88 kB / 0.5954 GB, free: 3.809 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002154/0.1845, allocations: 153.6 kB / 0.5955 GB, free: 3.609 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004028/0.185, allocations: 86.55 kB / 0.5956 GB, free: 3.516 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002843/0.1853, allocations: 113.1 kB / 0.5957 GB, free: 3.387 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.1853, allocations: 34.56 kB / 0.5958 GB, free: 3.344 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.423e-06/0.1853, allocations: 0 / 0.5958 GB, free: 3.344 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0008403/0.1861, allocations: 173.5 kB / 0.5959 GB, free: 3.168 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.529e-05/0.1862, allocations: 51.41 kB / 0.596 GB, free: 3.105 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.532e-05/0.1863, allocations: 93.89 kB / 0.5961 GB, free: 3.004 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.1863, allocations: 25.7 kB / 0.5961 GB, free: 2.973 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.892e-05/0.1863, allocations: 84.14 kB / 0.5962 GB, free: 2.887 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.265e-05/0.1864, allocations: 11.89 kB / 0.5962 GB, free: 2.875 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-06/0.1864, allocations: 0 / 0.5962 GB, free: 2.875 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.1865, allocations: 310.8 kB / 0.5965 GB, free: 2.562 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.707e-05/0.1866, allocations: 24.11 kB / 0.5965 GB, free: 2.539 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.504e-05/0.1867, allocations: 19.98 kB / 0.5965 GB, free: 2.52 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.823e-05/0.1868, allocations: 20.05 kB / 0.5965 GB, free: 2.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.1868, allocations: 0 / 0.5965 GB, free: 2.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002317/0.187, allocations: 81.59 kB / 0.5966 GB, free: 2.414 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.1871, allocations: 4 kB / 0.5966 GB, free: 2.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.1871, allocations: 0 / 0.5966 GB, free: 2.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.1871, allocations: 7.953 kB / 0.5966 GB, free: 2.402 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001459/0.1886, allocations: 247.8 kB / 0.5969 GB, free: 2.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002764/0.1913, allocations: 1.618 MB / 0.5985 GB, free: 420 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.936e-05/0.1914, allocations: 12.12 kB / 0.5985 GB, free: 408 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.1914, allocations: 3.984 kB / 0.5985 GB, free: 404 kB / 446.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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 8.851e-05/0.1915, allocations: 109.8 kB / 0.5986 GB, free: 284 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.136e-05/0.1916, allocations: 4 kB / 0.5986 GB, free: 280 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.632e-05/0.1916, allocations: 7.125 kB / 0.5986 GB, free: 272 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.1916, allocations: 3.953 kB / 0.5986 GB, free: 268 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-06/0.1916, allocations: 0 / 0.5986 GB, free: 268 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.1916, allocations: 0 / 0.5986 GB, free: 268 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001095/0.1917, allocations: 161.5 kB / 0.5987 GB, free: 56 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1917, allocations: 0 / 0.5987 GB, free: 56 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001416/0.1931, allocations: 259.7 kB / 0.599 GB, free: 15.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.1932, allocations: 0 / 0.599 GB, free: 15.8 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.1932, allocations: 4 kB / 0.599 GB, free: 15.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002436/0.1956, allocations: 1.606 MB / 0.6006 GB, free: 14.06 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.1956, allocations: 4.031 kB / 0.6006 GB, free: 14.06 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002396/0.1959, allocations: 93.2 kB / 0.6007 GB, free: 13.95 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.324e-05/0.1959, allocations: 89.12 kB / 0.6007 GB, free: 13.84 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.476e-06/0.1959, allocations: 0 / 0.6007 GB, free: 13.84 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.775e-05/0.196, allocations: 4 kB / 0.6007 GB, free: 13.84 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.898e-05/0.196, allocations: 23.81 kB / 0.6008 GB, free: 13.82 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.196, allocations: 0 / 0.6008 GB, free: 13.82 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.83e-05/0.1961, allocations: 75.28 kB / 0.6008 GB, free: 13.74 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.1961, allocations: 0 / 0.6008 GB, free: 13.74 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002004/0.1963, allocations: 16.09 kB / 0.6009 GB, free: 13.73 MB / 462.1 MB 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001161/0.1964, allocations: 99.25 kB / 0.6009 GB, free: 13.62 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001602/0.198, allocations: 299.7 kB / 0.6012 GB, free: 13.33 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.198, allocations: 0 / 0.6012 GB, free: 13.33 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002493/0.2005, allocations: 459.6 kB / 0.6017 GB, free: 12.88 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001099/0.2007, allocations: 0.6094 kB / 0.6017 GB, free: 12.88 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002065/0.2027, allocations: 0.497 MB / 0.6022 GB, free: 12.36 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002536/0.203, allocations: 0.677 MB / 0.6028 GB, free: 11.65 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 1.907e-05/0.203, allocations: 0 / 0.6028 GB, free: 11.65 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.524e-05/0.2031, allocations: 7.438 kB / 0.6028 GB, free: 11.64 MB / 462.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2031, allocations: 0 / 0.6028 GB, free: 11.64 MB / 462.1 MB Notification: Performance of Templates: time 0.002397/0.2055, allocations: 451 kB / 0.6033 GB, free: 11.24 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: