Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") [/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.1892/0.1904, allocations: 82.21 MB / 0.5941 GB, free: 5.602 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001358/0.1918, allocations: 0.977 MB / 0.5951 GB, free: 4.609 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008615/0.1927, allocations: 0.5108 MB / 0.5956 GB, free: 4.098 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.373e-05/0.1927, allocations: 0 / 0.5956 GB, free: 4.098 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.555e-05/0.1928, allocations: 0 / 0.5956 GB, free: 4.098 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.554e-05/0.1928, allocations: 11.92 kB / 0.5956 GB, free: 4.086 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003333/0.1931, allocations: 99.66 kB / 0.5957 GB, free: 3.988 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.802e-05/0.1932, allocations: 7.938 kB / 0.5957 GB, free: 3.98 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.202e-05/0.1932, allocations: 0 / 0.5957 GB, free: 3.98 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.166e-05/0.1933, allocations: 7.938 kB / 0.5957 GB, free: 3.973 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.294e-05/0.1933, allocations: 3.984 kB / 0.5957 GB, free: 3.969 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.121e-05/0.1933, allocations: 7.938 kB / 0.5957 GB, free: 3.961 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004526/0.1938, allocations: 343.5 kB / 0.596 GB, free: 3.625 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.256e-06/0.1938, allocations: 3.938 kB / 0.596 GB, free: 3.621 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.724e-05/0.1938, allocations: 33.64 kB / 0.5961 GB, free: 3.582 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002007/0.1941, allocations: 132 kB / 0.5962 GB, free: 3.453 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1941, allocations: 0 / 0.5962 GB, free: 3.453 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1941, allocations: 0 / 0.5962 GB, free: 3.453 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.1941, allocations: 0 / 0.5962 GB, free: 3.453 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.0004069/0.1945, allocations: 347.4 kB / 0.5965 GB, free: 3.066 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.1946, allocations: 8.031 kB / 0.5965 GB, free: 3.059 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.394e-05/0.1946, allocations: 0.9375 kB / 0.5965 GB, free: 3.059 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.1947, allocations: 160.4 kB / 0.5967 GB, free: 2.863 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.415e-06/0.1947, allocations: 4.375 kB / 0.5967 GB, free: 2.859 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.136e-05/0.1948, allocations: 4.375 kB / 0.5967 GB, free: 2.855 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008646/0.1956, allocations: 173.5 kB / 0.5969 GB, free: 2.68 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.094e-06/0.1957, allocations: 0 / 0.5969 GB, free: 2.68 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.1957, allocations: 0 / 0.5969 GB, free: 2.68 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.1957, allocations: 0 / 0.5969 GB, free: 2.68 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007295/0.1964, allocations: 143.8 kB / 0.597 GB, free: 2.539 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001549/0.1966, allocations: 145.7 kB / 0.5971 GB, free: 2.348 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00074/0.1973, allocations: 154.5 kB / 0.5973 GB, free: 2.188 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.707e-05/0.1974, allocations: 16.92 kB / 0.5973 GB, free: 2.168 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000317/0.1977, allocations: 113.1 kB / 0.5974 GB, free: 2.039 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.1977, allocations: 42.44 kB / 0.5974 GB, free: 1.988 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.1977, allocations: 4 kB / 0.5974 GB, free: 1.984 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.001502/0.1992, allocations: 297.5 kB / 0.5977 GB, free: 1.688 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.939e-05/0.1993, allocations: 51.41 kB / 0.5978 GB, free: 1.625 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.176e-05/0.1993, allocations: 101.9 kB / 0.5979 GB, free: 1.516 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.1994, allocations: 25.7 kB / 0.5979 GB, free: 1.484 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.228e-05/0.1994, allocations: 80.14 kB / 0.598 GB, free: 1.402 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.609e-05/0.1994, allocations: 7.891 kB / 0.598 GB, free: 1.395 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.231e-05/0.1995, allocations: 9.719 kB / 0.598 GB, free: 1.379 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.183e-05/0.1996, allocations: 314.8 kB / 0.5983 GB, free: 1.062 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001558/0.1997, allocations: 36.09 kB / 0.5983 GB, free: 1.027 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001494/0.1999, allocations: 35.97 kB / 0.5984 GB, free: 0.9922 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003031/0.2002, allocations: 80.8 kB / 0.5984 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2002, allocations: 0 / 0.5984 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000346/0.2006, allocations: 113.6 kB / 0.5985 GB, free: 0.793 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.2006, allocations: 7.938 kB / 0.5986 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.2006, allocations: 0 / 0.5986 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.2006, allocations: 0 / 0.5986 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002577/0.2032, allocations: 451.6 kB / 0.599 GB, free: 352 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003955/0.2072, allocations: 1.848 MB / 0.6008 GB, free: 14.36 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.2073, allocations: 16.02 kB / 0.6008 GB, free: 14.35 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.2073, allocations: 0 / 0.6008 GB, free: 14.35 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 8.321e-05/0.2074, allocations: 118.7 kB / 0.6009 GB, free: 14.22 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.082e-05/0.2074, allocations: 3.984 kB / 0.6009 GB, free: 14.22 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.372e-05/0.2074, allocations: 7.188 kB / 0.6009 GB, free: 14.21 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-06/0.2074, allocations: 0 / 0.6009 GB, free: 14.21 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.2074, allocations: 0 / 0.6009 GB, free: 14.21 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.2074, allocations: 3.938 kB / 0.6009 GB, free: 14.21 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001089/0.2076, allocations: 165.5 kB / 0.6011 GB, free: 14 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2076, allocations: 0 / 0.6011 GB, free: 14 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002547/0.2101, allocations: 459.5 kB / 0.6015 GB, free: 13.55 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.2101, allocations: 4 kB / 0.6015 GB, free: 13.54 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.2101, allocations: 0 / 0.6015 GB, free: 13.54 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003633/0.2138, allocations: 1.844 MB / 0.6033 GB, free: 11.57 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.2138, allocations: 0 / 0.6033 GB, free: 11.57 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003677/0.2142, allocations: 137.1 kB / 0.6035 GB, free: 11.42 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.904e-05/0.2142, allocations: 81.11 kB / 0.6035 GB, free: 11.32 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.065e-06/0.2142, allocations: 0 / 0.6035 GB, free: 11.32 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.2144, allocations: 23.98 kB / 0.6036 GB, free: 11.3 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.909e-05/0.2144, allocations: 7.922 kB / 0.6036 GB, free: 11.29 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.2144, allocations: 4.031 kB / 0.6036 GB, free: 11.29 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.701e-05/0.2144, allocations: 79.28 kB / 0.6037 GB, free: 11.21 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2145, allocations: 0 / 0.6037 GB, free: 11.21 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002152/0.2147, allocations: 8 kB / 0.6037 GB, free: 11.2 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.0001207/0.2148, allocations: 95.86 kB / 0.6038 GB, free: 11.1 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002927/0.2177, allocations: 0.5269 MB / 0.6043 GB, free: 10.57 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.2177, allocations: 0 / 0.6043 GB, free: 10.57 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00418/0.2219, allocations: 0.706 MB / 0.605 GB, free: 9.867 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001731/0.2221, allocations: 4 kB / 0.605 GB, free: 9.863 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003611/0.2257, allocations: 0.7719 MB / 0.6057 GB, free: 9.062 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002278/0.226, allocations: 0.677 MB / 0.6064 GB, free: 8.359 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 1.876e-05/0.226, allocations: 0 / 0.6064 GB, free: 8.359 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.936e-05/0.226, allocations: 7.438 kB / 0.6064 GB, free: 8.352 MB / 462.1 MB Notification: Performance of SimCode: time 6.42e-07/0.2261, allocations: 3.938 kB / 0.6064 GB, free: 8.348 MB / 462.1 MB Notification: Performance of Templates: time 0.002273/0.2283, allocations: 0.5032 MB / 0.6069 GB, free: 7.879 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) Environment - environmentSimulation: