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.1784/0.1803, allocations: 80.83 MB / 0.6706 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002227/0.1826, allocations: 1.242 MB / 0.6718 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009048/0.1836, allocations: 0.4986 MB / 0.6723 GB, free: 108 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.852e-05/0.1836, allocations: 4 kB / 0.6723 GB, free: 104 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.091e-05/0.1836, allocations: 3.938 kB / 0.6723 GB, free: 100 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.718e-05/0.1837, allocations: 3.984 kB / 0.6723 GB, free: 96 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004393/0.1841, allocations: 119.2 kB / 0.6724 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 5.263e-05/0.1842, allocations: 11.88 kB / 0.6725 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.34e-05/0.1842, allocations: 7.984 kB / 0.6725 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.057e-05/0.1843, allocations: 7.938 kB / 0.6725 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.455e-05/0.1843, allocations: 7.922 kB / 0.6725 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.007e-05/0.1843, allocations: 0 / 0.6725 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004896/0.1848, allocations: 351.4 kB / 0.6728 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.033e-05/0.1848, allocations: 0 / 0.6728 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.2e-05/0.1849, allocations: 7.938 kB / 0.6728 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002118/0.1851, allocations: 127.7 kB / 0.6729 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.1851, allocations: 0 / 0.6729 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1851, allocations: 4 kB / 0.6729 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.225e-06/0.1851, allocations: 4 kB / 0.673 GB, free: 15.46 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.0003836/0.1855, allocations: 347.4 kB / 0.6733 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.1855, allocations: 12.03 kB / 0.6733 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.495e-05/0.1856, allocations: 0.9375 kB / 0.6733 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.938e-05/0.1857, allocations: 164.4 kB / 0.6735 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.1857, allocations: 384 / 0.6735 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.588e-06/0.1857, allocations: 4.375 kB / 0.6735 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004898/0.1862, allocations: 85.58 kB / 0.6735 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.1862, allocations: 4 kB / 0.6735 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.1862, allocations: 0 / 0.6735 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.1863, allocations: 4 kB / 0.6735 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003721/0.1866, allocations: 59.86 kB / 0.6736 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000151/0.1868, allocations: 153.6 kB / 0.6737 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000396/0.1872, allocations: 78.53 kB / 0.6738 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.036e-05/0.1872, allocations: 8.922 kB / 0.6738 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000272/0.1875, allocations: 109 kB / 0.6739 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.1875, allocations: 34.55 kB / 0.674 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.1875, allocations: 0 / 0.674 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0008062/0.1884, allocations: 149.6 kB / 0.6741 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.571e-05/0.1884, allocations: 51.41 kB / 0.6742 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.058e-05/0.1885, allocations: 97.84 kB / 0.6743 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.1885, allocations: 29.86 kB / 0.6743 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 2.908e-05/0.1885, allocations: 80.14 kB / 0.6744 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.669e-05/0.1886, allocations: 7.906 kB / 0.6744 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.023e-05/0.1886, allocations: 13.72 kB / 0.6744 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.565e-05/0.1887, allocations: 310.8 kB / 0.6747 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001088/0.1888, allocations: 23.98 kB / 0.6747 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.671e-05/0.1889, allocations: 19.97 kB / 0.6747 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001786/0.1891, allocations: 40.89 kB / 0.6748 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1891, allocations: 0 / 0.6748 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002237/0.1894, allocations: 77.55 kB / 0.6748 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.1894, allocations: 4 kB / 0.6748 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.1894, allocations: 0 / 0.6748 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.1894, allocations: 0 / 0.6748 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001456/0.1909, allocations: 223.7 kB / 0.675 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002614/0.1935, allocations: 1.65 MB / 0.6767 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.539e-05/0.1936, allocations: 19.95 kB / 0.6767 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-06/0.1936, allocations: 4 kB / 0.6767 GB, free: 11.25 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 7.443e-05/0.1937, allocations: 105.8 kB / 0.6768 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.658e-06/0.1937, allocations: 0 / 0.6768 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.336e-05/0.1937, allocations: 7.125 kB / 0.6768 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.628e-05/0.1937, allocations: 8 kB / 0.6768 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-06/0.1937, allocations: 0 / 0.6768 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.1938, allocations: 15.91 kB / 0.6768 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.728e-05/0.1939, allocations: 145.7 kB / 0.677 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.1939, allocations: 3.984 kB / 0.677 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001452/0.1953, allocations: 219.8 kB / 0.6772 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.768e-06/0.1953, allocations: 7.984 kB / 0.6772 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.1954, allocations: 0 / 0.6772 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002469/0.1978, allocations: 1.654 MB / 0.6788 GB, free: 8.902 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.1978, allocations: 4.062 kB / 0.6788 GB, free: 8.898 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002412/0.1981, allocations: 97.06 kB / 0.6789 GB, free: 8.785 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.101e-05/0.1981, allocations: 77.11 kB / 0.679 GB, free: 8.691 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.807e-06/0.1982, allocations: 4 kB / 0.679 GB, free: 8.688 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.193e-05/0.1982, allocations: 7.984 kB / 0.679 GB, free: 8.68 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.271e-05/0.1982, allocations: 3.938 kB / 0.679 GB, free: 8.676 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.157e-06/0.1983, allocations: 0 / 0.679 GB, free: 8.676 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.564e-05/0.1983, allocations: 83.28 kB / 0.6791 GB, free: 8.594 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1983, allocations: 4.125 kB / 0.6791 GB, free: 8.59 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002115/0.1985, allocations: 8 kB / 0.6791 GB, free: 8.582 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.000108/0.1986, allocations: 99.23 kB / 0.6792 GB, free: 8.473 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001666/0.2003, allocations: 267.7 kB / 0.6794 GB, free: 8.211 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2003, allocations: 0 / 0.6794 GB, free: 8.211 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002624/0.203, allocations: 403.6 kB / 0.6798 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001458/0.2031, allocations: 12.94 kB / 0.6798 GB, free: 7.805 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00216/0.2053, allocations: 441.5 kB / 0.6802 GB, free: 7.344 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001822/0.2055, allocations: 0.6768 MB / 0.6809 GB, free: 6.641 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.036e-05/0.2055, allocations: 3.906 kB / 0.6809 GB, free: 6.637 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.701e-05/0.2055, allocations: 7.438 kB / 0.6809 GB, free: 6.629 MB / 0.5137 GB Notification: Performance of SimCode: time 5.21e-07/0.2055, allocations: 4 kB / 0.6809 GB, free: 6.625 MB / 0.5137 GB Notification: Performance of Templates: time 0.002148/0.2077, allocations: 0.4936 MB / 0.6814 GB, free: 6.164 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)