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.1695/0.173, allocations: 80.83 MB / 0.5899 GB, free: 6.984 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.003204/0.1763, allocations: 1.314 MB / 0.5912 GB, free: 5.648 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009662/0.1773, allocations: 0.5029 MB / 0.5916 GB, free: 5.145 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.794e-05/0.1773, allocations: 0 / 0.5916 GB, free: 5.145 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.039e-05/0.1773, allocations: 7.922 kB / 0.5917 GB, free: 5.137 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.854e-05/0.1774, allocations: 4 kB / 0.5917 GB, free: 5.133 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004129/0.1778, allocations: 103.7 kB / 0.5918 GB, free: 5.031 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.263e-05/0.1779, allocations: 7.938 kB / 0.5918 GB, free: 5.023 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.904e-05/0.1779, allocations: 4 kB / 0.5918 GB, free: 5.02 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.91e-05/0.1779, allocations: 7.938 kB / 0.5918 GB, free: 5.012 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.702e-05/0.178, allocations: 3.984 kB / 0.5918 GB, free: 5.008 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.08e-05/0.178, allocations: 8 kB / 0.5918 GB, free: 5 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004386/0.1784, allocations: 339.4 kB / 0.5921 GB, free: 4.668 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.878e-06/0.1784, allocations: 7.984 kB / 0.5921 GB, free: 4.66 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.866e-05/0.1785, allocations: 7.922 kB / 0.5921 GB, free: 4.652 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000206/0.1787, allocations: 124.1 kB / 0.5922 GB, free: 4.531 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1787, allocations: 0 / 0.5922 GB, free: 4.531 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1787, allocations: 0 / 0.5922 GB, free: 4.531 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.1787, allocations: 0 / 0.5922 GB, free: 4.531 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.0003606/0.1791, allocations: 355.4 kB / 0.5926 GB, free: 4.137 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.1791, allocations: 8.031 kB / 0.5926 GB, free: 4.129 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.647e-05/0.1791, allocations: 4.875 kB / 0.5926 GB, free: 4.125 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.803e-05/0.1792, allocations: 168.3 kB / 0.5928 GB, free: 3.922 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.1793, allocations: 4.375 kB / 0.5928 GB, free: 3.918 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.316e-06/0.1793, allocations: 384 / 0.5928 GB, free: 3.918 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009064/0.1802, allocations: 157.7 kB / 0.5929 GB, free: 3.758 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.1802, allocations: 0 / 0.5929 GB, free: 3.758 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.904e-06/0.1802, allocations: 0 / 0.5929 GB, free: 3.758 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.1802, allocations: 4 kB / 0.5929 GB, free: 3.754 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000753/0.181, allocations: 127.8 kB / 0.593 GB, free: 3.629 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001603/0.1812, allocations: 145.7 kB / 0.5932 GB, free: 3.438 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007706/0.1819, allocations: 150.4 kB / 0.5933 GB, free: 3.281 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.009e-05/0.182, allocations: 12.92 kB / 0.5933 GB, free: 3.266 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003343/0.1823, allocations: 113 kB / 0.5934 GB, free: 3.137 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.1823, allocations: 34.5 kB / 0.5935 GB, free: 3.094 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.392e-06/0.1823, allocations: 3.938 kB / 0.5935 GB, free: 3.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.001558/0.1839, allocations: 285.5 kB / 0.5937 GB, free: 2.805 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.681e-05/0.184, allocations: 55.41 kB / 0.5938 GB, free: 2.738 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.503e-05/0.184, allocations: 97.88 kB / 0.5939 GB, free: 2.633 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/0.1841, allocations: 25.7 kB / 0.5939 GB, free: 2.602 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.477e-05/0.1841, allocations: 84.14 kB / 0.594 GB, free: 2.516 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.693e-05/0.1841, allocations: 11.84 kB / 0.594 GB, free: 2.504 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.614e-05/0.1842, allocations: 9.719 kB / 0.594 GB, free: 2.488 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.1843, allocations: 314.8 kB / 0.5943 GB, free: 2.172 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001631/0.1845, allocations: 40.08 kB / 0.5944 GB, free: 2.133 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/0.1846, allocations: 31.97 kB / 0.5944 GB, free: 2.102 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002997/0.1849, allocations: 72.86 kB / 0.5945 GB, free: 2.027 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1849, allocations: 0 / 0.5945 GB, free: 2.027 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003454/0.1853, allocations: 101.6 kB / 0.5946 GB, free: 1.922 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.1853, allocations: 7.984 kB / 0.5946 GB, free: 1.914 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.1853, allocations: 0 / 0.5946 GB, free: 1.914 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.1853, allocations: 4.031 kB / 0.5946 GB, free: 1.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002689/0.188, allocations: 411.5 kB / 0.595 GB, free: 1.508 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004137/0.1922, allocations: 1.923 MB / 0.5968 GB, free: 15.45 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.1923, allocations: 28 kB / 0.5969 GB, free: 15.42 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.1923, allocations: 0 / 0.5969 GB, free: 15.42 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.003e-05/0.1924, allocations: 110.7 kB / 0.597 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.71e-05/0.1924, allocations: 11.84 kB / 0.597 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.376e-05/0.1925, allocations: 7.062 kB / 0.597 GB, free: 15.28 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.1925, allocations: 0 / 0.597 GB, free: 15.28 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/0.1925, allocations: 3.984 kB / 0.597 GB, free: 15.28 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.1925, allocations: 3.938 kB / 0.597 GB, free: 15.27 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001638/0.1926, allocations: 157.7 kB / 0.5971 GB, free: 15.07 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.1927, allocations: 0 / 0.5971 GB, free: 15.07 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002652/0.1953, allocations: 423.5 kB / 0.5975 GB, free: 14.66 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.1953, allocations: 0 / 0.5975 GB, free: 14.66 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.1953, allocations: 4 kB / 0.5976 GB, free: 14.65 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003899/0.1992, allocations: 1.923 MB / 0.5994 GB, free: 12.59 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1993, allocations: 4.062 kB / 0.5994 GB, free: 12.59 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003473/0.1996, allocations: 125.1 kB / 0.5996 GB, free: 12.45 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.741e-05/0.1997, allocations: 81.05 kB / 0.5996 GB, free: 12.35 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.829e-06/0.1997, allocations: 0 / 0.5996 GB, free: 12.35 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.1998, allocations: 20.02 kB / 0.5996 GB, free: 12.33 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.335e-05/0.1998, allocations: 3.984 kB / 0.5997 GB, free: 12.33 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.1998, allocations: 4 kB / 0.5997 GB, free: 12.32 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.441e-05/0.1999, allocations: 83.28 kB / 0.5997 GB, free: 12.24 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1999, allocations: 0 / 0.5997 GB, free: 12.24 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002139/0.2001, allocations: 11.94 kB / 0.5997 GB, free: 12.23 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.0001229/0.2002, allocations: 103.9 kB / 0.5998 GB, free: 12.12 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003008/0.2032, allocations: 499.4 kB / 0.6003 GB, free: 11.63 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.2033, allocations: 4 kB / 0.6003 GB, free: 11.63 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004418/0.2077, allocations: 0.6439 MB / 0.601 GB, free: 10.98 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001841/0.2079, allocations: 16 kB / 0.601 GB, free: 10.97 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00356/0.2115, allocations: 0.7147 MB / 0.6017 GB, free: 10.23 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002405/0.2117, allocations: 0.6767 MB / 0.6023 GB, free: 9.523 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 1.982e-05/0.2118, allocations: 4 kB / 0.6023 GB, free: 9.52 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.665e-05/0.2118, allocations: 11.38 kB / 0.6023 GB, free: 9.508 MB / 462.1 MB Notification: Performance of SimCode: time 9.01e-07/0.2118, allocations: 0 / 0.6023 GB, free: 9.508 MB / 462.1 MB Notification: Performance of Templates: time 0.002466/0.2143, allocations: 0.5372 MB / 0.6029 GB, free: 9.008 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)