Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") [/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.1816/0.1839, allocations: 80.84 MB / 0.6706 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002659/0.1866, allocations: 1.281 MB / 0.6719 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009442/0.1876, allocations: 0.5025 MB / 0.6724 GB, free: 260 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.421e-05/0.1877, allocations: 0 / 0.6724 GB, free: 260 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.942e-05/0.1877, allocations: 3.938 kB / 0.6724 GB, free: 256 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.068e-05/0.1878, allocations: 3.984 kB / 0.6724 GB, free: 252 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005523/0.1883, allocations: 123.4 kB / 0.6725 GB, free: 128 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.832e-05/0.1884, allocations: 31.86 kB / 0.6725 GB, free: 96 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.138e-05/0.1885, allocations: 0 / 0.6725 GB, free: 96 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.503e-05/0.1885, allocations: 7.984 kB / 0.6725 GB, free: 88 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.69e-05/0.1886, allocations: 11.94 kB / 0.6725 GB, free: 76 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.1886, allocations: 4 kB / 0.6725 GB, free: 72 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005659/0.1892, allocations: 347.4 kB / 0.6729 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.517e-05/0.1892, allocations: 0 / 0.6729 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 5.499e-05/0.1893, allocations: 15.92 kB / 0.6729 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002873/0.1895, allocations: 143.5 kB / 0.673 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1896, allocations: 0 / 0.673 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.064e-06/0.1896, allocations: 4 kB / 0.673 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.159e-05/0.1896, allocations: 0 / 0.673 GB, free: 15.57 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005373/0.1901, allocations: 347.5 kB / 0.6734 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.1902, allocations: 8.031 kB / 0.6734 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.962e-05/0.1902, allocations: 4.844 kB / 0.6734 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.1904, allocations: 172.4 kB / 0.6735 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.1904, allocations: 384 / 0.6735 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.243e-05/0.1904, allocations: 384 / 0.6735 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001261/0.1917, allocations: 229.4 kB / 0.6738 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.1917, allocations: 0 / 0.6738 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.1917, allocations: 4 kB / 0.6738 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.1917, allocations: 0 / 0.6738 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001076/0.1928, allocations: 187.7 kB / 0.6739 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003539/0.1932, allocations: 256.9 kB / 0.6742 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00125/0.1944, allocations: 222.3 kB / 0.6744 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.794e-05/0.1945, allocations: 20.92 kB / 0.6744 GB, free: 14 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005839/0.1951, allocations: 214.1 kB / 0.6746 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.1951, allocations: 34.56 kB / 0.6747 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=4): time 1.293e-06/0.1951, allocations: 0 / 0.6747 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4): time 0.00227/0.1974, allocations: 413.2 kB / 0.675 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/0.1974, allocations: 51.41 kB / 0.6751 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.689e-05/0.1975, allocations: 97.8 kB / 0.6752 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.1976, allocations: 25.7 kB / 0.6752 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.89e-05/0.1976, allocations: 88.05 kB / 0.6753 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.994e-05/0.1977, allocations: 19.73 kB / 0.6753 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.431e-05/0.1977, allocations: 21.72 kB / 0.6753 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.1979, allocations: 318.8 kB / 0.6756 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000247/0.1981, allocations: 51.95 kB / 0.6757 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002434/0.1984, allocations: 65.67 kB / 0.6758 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004651/0.1988, allocations: 125.5 kB / 0.6759 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1989, allocations: 4 kB / 0.6759 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0005207/0.1994, allocations: 145.5 kB / 0.676 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.1994, allocations: 4 kB / 0.676 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.1994, allocations: 4 kB / 0.676 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.1994, allocations: 0 / 0.676 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001954/0.1996, allocations: 32 kB / 0.6761 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.1997, allocations: 0 / 0.6761 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001534/0.1998, allocations: 23.97 kB / 0.6761 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.1998, allocations: 0 / 0.6761 GB, free: 12.18 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.11e-05/0.1999, allocations: 129.7 kB / 0.6762 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.917e-05/0.2, allocations: 0 / 0.6762 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.773e-05/0.2, allocations: 7.922 kB / 0.6762 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.2, allocations: 4 kB / 0.6762 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.2, allocations: 3.984 kB / 0.6762 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.2, allocations: 0 / 0.6762 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001749/0.2002, allocations: 169.5 kB / 0.6764 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.2002, allocations: 0 / 0.6764 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001813/0.2004, allocations: 31.97 kB / 0.6764 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.2004, allocations: 0 / 0.6764 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.2004, allocations: 3.984 kB / 0.6764 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.2004, allocations: 3.938 kB / 0.6764 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2004, allocations: 0 / 0.6764 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005706/0.201, allocations: 239.4 kB / 0.6766 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.151e-05/0.2011, allocations: 81.05 kB / 0.6767 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.026e-05/0.2011, allocations: 4 kB / 0.6767 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001875/0.2013, allocations: 24.09 kB / 0.6767 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.238e-05/0.2013, allocations: 4 kB / 0.6768 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/0.2013, allocations: 7.984 kB / 0.6768 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.924e-05/0.2014, allocations: 83.22 kB / 0.6768 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2014, allocations: 4 kB / 0.6768 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002453/0.2016, allocations: 12 kB / 0.6769 GB, free: 11.28 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001222/0.2018, allocations: 98.62 kB / 0.6769 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005535/0.2023, allocations: 123.8 kB / 0.6771 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.2023, allocations: 0 / 0.6771 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002522/0.2026, allocations: 59.94 kB / 0.6771 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002382/0.2029, allocations: 4 kB / 0.6771 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006994/0.2036, allocations: 214.3 kB / 0.6773 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002746/0.2038, allocations: 0.6729 MB / 0.678 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.148e-05/0.2039, allocations: 11.98 kB / 0.678 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.369e-05/0.204, allocations: 7.438 kB / 0.678 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of SimCode: time 3.2e-07/0.204, allocations: 0 / 0.678 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of Templates: time 0.002692/0.2067, allocations: 0.5386 MB / 0.6785 GB, free: 9.5 MB / 0.5137 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)