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.1949/0.1963, allocations: 82.21 MB / 0.5941 GB, free: 5.578 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001822/0.1982, allocations: 0.977 MB / 0.5951 GB, free: 4.586 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001192/0.1995, allocations: 0.5148 MB / 0.5956 GB, free: 4.07 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.709e-05/0.1995, allocations: 0 / 0.5956 GB, free: 4.07 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.034e-05/0.1995, allocations: 0 / 0.5956 GB, free: 4.07 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.942e-05/0.1996, allocations: 3.938 kB / 0.5956 GB, free: 4.066 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006026/0.2002, allocations: 106.8 kB / 0.5957 GB, free: 3.965 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.356e-05/0.2003, allocations: 4 kB / 0.5957 GB, free: 3.961 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.057e-05/0.2003, allocations: 4 kB / 0.5957 GB, free: 3.957 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.798e-05/0.2004, allocations: 3.938 kB / 0.5957 GB, free: 3.953 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.315e-05/0.2004, allocations: 4 kB / 0.5957 GB, free: 3.949 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.052e-05/0.2004, allocations: 0 / 0.5957 GB, free: 3.949 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005397/0.201, allocations: 355.4 kB / 0.596 GB, free: 3.602 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.252e-05/0.201, allocations: 4 kB / 0.596 GB, free: 3.598 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.408e-05/0.201, allocations: 29.64 kB / 0.5961 GB, free: 3.562 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002606/0.2013, allocations: 135.9 kB / 0.5962 GB, free: 3.43 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.2013, allocations: 4 kB / 0.5962 GB, free: 3.426 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.2013, allocations: 0 / 0.5962 GB, free: 3.426 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.048e-06/0.2013, allocations: 0 / 0.5962 GB, free: 3.426 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.000387/0.2017, allocations: 343.4 kB / 0.5965 GB, free: 3.043 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.2018, allocations: 8.031 kB / 0.5965 GB, free: 3.035 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.065e-05/0.2018, allocations: 4.938 kB / 0.5965 GB, free: 3.031 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.2019, allocations: 164.4 kB / 0.5967 GB, free: 2.832 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.202, allocations: 384 / 0.5967 GB, free: 2.832 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.468e-06/0.202, allocations: 384 / 0.5967 GB, free: 2.832 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005024/0.2025, allocations: 105.7 kB / 0.5968 GB, free: 2.723 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.2025, allocations: 3.938 kB / 0.5968 GB, free: 2.719 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.2025, allocations: 0 / 0.5968 GB, free: 2.719 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.2025, allocations: 0 / 0.5968 GB, free: 2.719 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003784/0.2029, allocations: 63.94 kB / 0.5969 GB, free: 2.656 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001831/0.2031, allocations: 153.7 kB / 0.597 GB, free: 2.457 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004134/0.2035, allocations: 82.55 kB / 0.5971 GB, free: 2.367 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.012e-05/0.2036, allocations: 4.859 kB / 0.5971 GB, free: 2.359 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002984/0.2039, allocations: 121.1 kB / 0.5972 GB, free: 2.223 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/0.2039, allocations: 38.5 kB / 0.5972 GB, free: 2.176 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 3.016e-06/0.2039, allocations: 0 / 0.5972 GB, free: 2.176 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0008255/0.2047, allocations: 165.6 kB / 0.5974 GB, free: 2.008 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/0.2048, allocations: 51.41 kB / 0.5974 GB, free: 1.945 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.932e-05/0.2049, allocations: 93.86 kB / 0.5975 GB, free: 1.844 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/0.2049, allocations: 25.7 kB / 0.5976 GB, free: 1.812 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.486e-05/0.2049, allocations: 80.14 kB / 0.5976 GB, free: 1.73 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.015e-05/0.205, allocations: 12.06 kB / 0.5976 GB, free: 1.719 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.31e-05/0.205, allocations: 13.72 kB / 0.5977 GB, free: 1.699 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.2051, allocations: 314.8 kB / 0.598 GB, free: 1.383 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.283e-05/0.2052, allocations: 15.98 kB / 0.598 GB, free: 1.367 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.828e-05/0.2053, allocations: 27.98 kB / 0.598 GB, free: 1.34 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001824/0.2055, allocations: 48.83 kB / 0.5981 GB, free: 1.289 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.2055, allocations: 4 kB / 0.5981 GB, free: 1.285 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002223/0.2057, allocations: 77.59 kB / 0.5981 GB, free: 1.203 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.2058, allocations: 8 kB / 0.5981 GB, free: 1.195 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.2058, allocations: 0 / 0.5981 GB, free: 1.195 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.2058, allocations: 0 / 0.5981 GB, free: 1.195 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001467/0.2073, allocations: 247.8 kB / 0.5984 GB, free: 0.9531 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002662/0.2099, allocations: 1.591 MB / 0.5999 GB, free: 15.23 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.144e-05/0.21, allocations: 8.031 kB / 0.5999 GB, free: 15.22 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.114e-06/0.21, allocations: 0 / 0.5999 GB, free: 15.22 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 (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 9.658e-05/0.2101, allocations: 118.7 kB / 0.6 GB, free: 15.1 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.235e-05/0.2101, allocations: 11.92 kB / 0.6001 GB, free: 15.09 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.669e-05/0.2102, allocations: 3.125 kB / 0.6001 GB, free: 15.08 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.2102, allocations: 4 kB / 0.6001 GB, free: 15.08 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.2102, allocations: 0 / 0.6001 GB, free: 15.08 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.2102, allocations: 3.938 kB / 0.6001 GB, free: 15.07 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001161/0.2103, allocations: 161.5 kB / 0.6002 GB, free: 14.87 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2103, allocations: 0 / 0.6002 GB, free: 14.87 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001472/0.2118, allocations: 263.7 kB / 0.6005 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.2118, allocations: 0 / 0.6005 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.2118, allocations: 0 / 0.6005 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002567/0.2144, allocations: 1.587 MB / 0.602 GB, free: 12.89 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2144, allocations: 0 / 0.602 GB, free: 12.89 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002472/0.2147, allocations: 105.1 kB / 0.6021 GB, free: 12.77 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.324e-05/0.2147, allocations: 81.11 kB / 0.6022 GB, free: 12.68 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.754e-06/0.2147, allocations: 0 / 0.6022 GB, free: 12.68 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.887e-05/0.2148, allocations: 7.984 kB / 0.6022 GB, free: 12.67 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.343e-05/0.2148, allocations: 7.938 kB / 0.6022 GB, free: 12.66 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-06/0.2148, allocations: 0 / 0.6022 GB, free: 12.66 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.808e-05/0.2149, allocations: 83.31 kB / 0.6023 GB, free: 12.58 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2149, allocations: 0 / 0.6023 GB, free: 12.58 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002125/0.2151, allocations: 8 kB / 0.6023 GB, free: 12.57 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 (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.0001183/0.2152, allocations: 103.8 kB / 0.6024 GB, free: 12.46 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001709/0.2169, allocations: 303.8 kB / 0.6027 GB, free: 12.16 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.217, allocations: 0 / 0.6027 GB, free: 12.16 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002728/0.2197, allocations: 459.5 kB / 0.6031 GB, free: 11.71 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001803/0.2199, allocations: 4 kB / 0.6031 GB, free: 11.71 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002244/0.2221, allocations: 0.491 MB / 0.6036 GB, free: 11.19 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002471/0.2224, allocations: 0.677 MB / 0.6043 GB, free: 10.49 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 1.727e-05/0.2224, allocations: 0 / 0.6043 GB, free: 10.49 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.749e-05/0.2225, allocations: 7.438 kB / 0.6043 GB, free: 10.48 MB / 462.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2225, allocations: 0 / 0.6043 GB, free: 10.48 MB / 462.1 MB Notification: Performance of Templates: time 0.002496/0.225, allocations: 472.6 kB / 0.6047 GB, free: 10.05 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: