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.1697/0.1727, allocations: 80.82 MB / 0.5897 GB, free: 7.16 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002961/0.1757, allocations: 1.314 MB / 0.591 GB, free: 5.828 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009385/0.1767, allocations: 0.5341 MB / 0.5915 GB, free: 5.293 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.574e-05/0.1767, allocations: 0 / 0.5915 GB, free: 5.293 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.809e-05/0.1767, allocations: 0 / 0.5915 GB, free: 5.293 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.999e-05/0.1768, allocations: 3.938 kB / 0.5915 GB, free: 5.289 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004543/0.1773, allocations: 95.66 kB / 0.5916 GB, free: 5.195 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.735e-05/0.1773, allocations: 11.94 kB / 0.5916 GB, free: 5.184 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.566e-05/0.1774, allocations: 7.984 kB / 0.5916 GB, free: 5.176 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.056e-05/0.1774, allocations: 3.938 kB / 0.5916 GB, free: 5.172 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.336e-05/0.1775, allocations: 4 kB / 0.5916 GB, free: 5.168 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.136e-05/0.1775, allocations: 0 / 0.5916 GB, free: 5.168 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005213/0.178, allocations: 347.4 kB / 0.5919 GB, free: 4.828 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.293e-05/0.178, allocations: 8 kB / 0.5919 GB, free: 4.82 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.72e-05/0.1781, allocations: 7.938 kB / 0.5919 GB, free: 4.812 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000256/0.1783, allocations: 120.1 kB / 0.5921 GB, free: 4.695 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.1783, allocations: 4 kB / 0.5921 GB, free: 4.691 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1784, allocations: 0 / 0.5921 GB, free: 4.691 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.1784, allocations: 0 / 0.5921 GB, free: 4.691 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.0003785/0.1788, allocations: 347.4 kB / 0.5924 GB, free: 4.305 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.1788, allocations: 8.031 kB / 0.5924 GB, free: 4.297 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.221e-05/0.1788, allocations: 8.859 kB / 0.5924 GB, free: 4.289 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.1789, allocations: 168.4 kB / 0.5926 GB, free: 4.086 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.179, allocations: 8.312 kB / 0.5926 GB, free: 4.078 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.162e-05/0.179, allocations: 384 / 0.5926 GB, free: 4.078 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009324/0.1799, allocations: 161.6 kB / 0.5927 GB, free: 3.914 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.1799, allocations: 3.984 kB / 0.5927 GB, free: 3.91 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.18, allocations: 0 / 0.5927 GB, free: 3.91 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.18, allocations: 0 / 0.5927 GB, free: 3.91 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000762/0.1807, allocations: 127.8 kB / 0.5929 GB, free: 3.785 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001825/0.1809, allocations: 153.7 kB / 0.593 GB, free: 3.586 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007818/0.1817, allocations: 142.5 kB / 0.5931 GB, free: 3.438 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.409e-05/0.1818, allocations: 12.91 kB / 0.5932 GB, free: 3.422 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003643/0.1821, allocations: 105.1 kB / 0.5933 GB, free: 3.301 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.75e-05/0.1822, allocations: 42.44 kB / 0.5933 GB, free: 3.25 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.353e-06/0.1822, allocations: 0 / 0.5933 GB, free: 3.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.001612/0.1838, allocations: 281.5 kB / 0.5936 GB, free: 2.969 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/0.1839, allocations: 59.39 kB / 0.5936 GB, free: 2.898 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.446e-05/0.1839, allocations: 89.86 kB / 0.5937 GB, free: 2.801 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.184, allocations: 25.7 kB / 0.5937 GB, free: 2.77 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.009e-05/0.184, allocations: 92.3 kB / 0.5938 GB, free: 2.676 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.943e-05/0.184, allocations: 3.906 kB / 0.5938 GB, free: 2.672 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.147e-05/0.1841, allocations: 9.719 kB / 0.5938 GB, free: 2.656 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.1842, allocations: 318.8 kB / 0.5941 GB, free: 2.336 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001628/0.1844, allocations: 35.97 kB / 0.5942 GB, free: 2.301 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/0.1845, allocations: 31.91 kB / 0.5942 GB, free: 2.27 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003045/0.1848, allocations: 76.86 kB / 0.5943 GB, free: 2.191 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.1848, allocations: 0 / 0.5943 GB, free: 2.191 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003618/0.1852, allocations: 109.6 kB / 0.5944 GB, free: 2.078 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.1852, allocations: 4 kB / 0.5944 GB, free: 2.074 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.84e-06/0.1853, allocations: 0 / 0.5944 GB, free: 2.074 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.1853, allocations: 0 / 0.5944 GB, free: 2.074 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002553/0.1878, allocations: 415.6 kB / 0.5948 GB, free: 1.668 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003744/0.1916, allocations: 1.797 MB / 0.5965 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001016/0.1917, allocations: 16.02 kB / 0.5965 GB, free: 15.72 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.552e-05/0.1917, allocations: 8.047 kB / 0.5966 GB, free: 15.71 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.18e-05/0.1918, allocations: 110.7 kB / 0.5967 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.66e-05/0.1918, allocations: 11.91 kB / 0.5967 GB, free: 15.58 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.937e-05/0.1919, allocations: 3.125 kB / 0.5967 GB, free: 15.58 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.1919, allocations: 3.938 kB / 0.5967 GB, free: 15.57 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-06/0.1919, allocations: 0 / 0.5967 GB, free: 15.57 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.1919, allocations: 0 / 0.5967 GB, free: 15.57 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001256/0.192, allocations: 157.6 kB / 0.5968 GB, free: 15.37 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.192, allocations: 3.938 kB / 0.5968 GB, free: 15.37 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002497/0.1945, allocations: 423.5 kB / 0.5972 GB, free: 14.95 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.804e-06/0.1946, allocations: 4 kB / 0.5972 GB, free: 14.95 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.1946, allocations: 7.938 kB / 0.5972 GB, free: 14.94 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003653/0.1982, allocations: 1.801 MB / 0.599 GB, free: 13.02 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.1983, allocations: 4.094 kB / 0.599 GB, free: 13.01 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003555/0.1986, allocations: 133 kB / 0.5991 GB, free: 12.86 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.807e-05/0.1987, allocations: 77.11 kB / 0.5992 GB, free: 12.77 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.092e-05/0.1987, allocations: 4 kB / 0.5992 GB, free: 12.77 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.947e-05/0.1988, allocations: 16.02 kB / 0.5992 GB, free: 12.75 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.616e-05/0.1988, allocations: 7.938 kB / 0.5992 GB, free: 12.74 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.1988, allocations: 7.984 kB / 0.5992 GB, free: 12.73 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.827e-05/0.1989, allocations: 75.28 kB / 0.5993 GB, free: 12.66 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1989, allocations: 0 / 0.5993 GB, free: 12.66 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002141/0.1991, allocations: 8 kB / 0.5993 GB, free: 12.65 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.000121/0.1992, allocations: 103.3 kB / 0.5994 GB, free: 12.54 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002858/0.2021, allocations: 499.4 kB / 0.5999 GB, free: 12.05 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.2021, allocations: 0 / 0.5999 GB, free: 12.05 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004266/0.2064, allocations: 0.6555 MB / 0.6005 GB, free: 11.4 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001651/0.2066, allocations: 3.094 kB / 0.6005 GB, free: 11.4 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003638/0.2102, allocations: 0.7105 MB / 0.6012 GB, free: 10.66 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002622/0.2105, allocations: 0.677 MB / 0.6019 GB, free: 9.953 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 2.401e-05/0.2105, allocations: 4 kB / 0.6019 GB, free: 9.949 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.829e-05/0.2106, allocations: 7.438 kB / 0.6019 GB, free: 9.941 MB / 462.1 MB Notification: Performance of SimCode: time 6.61e-07/0.2106, allocations: 0 / 0.6019 GB, free: 9.941 MB / 462.1 MB Notification: Performance of Templates: time 0.002632/0.2132, allocations: 0.5076 MB / 0.6024 GB, free: 9.469 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (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)