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.1925/0.1944, allocations: 80.84 MB / 0.6706 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002864/0.1973, allocations: 1.23 MB / 0.6718 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009537/0.1983, allocations: 0.518 MB / 0.6723 GB, free: 280 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.749e-05/0.1983, allocations: 0 / 0.6723 GB, free: 280 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.499e-05/0.1984, allocations: 0 / 0.6723 GB, free: 280 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.882e-05/0.1984, allocations: 0 / 0.6723 GB, free: 280 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004123/0.1988, allocations: 127.5 kB / 0.6725 GB, free: 152 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.147e-05/0.1989, allocations: 4 kB / 0.6725 GB, free: 148 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.68e-05/0.1989, allocations: 3.984 kB / 0.6725 GB, free: 144 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.84e-05/0.1989, allocations: 7.938 kB / 0.6725 GB, free: 136 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.104e-05/0.199, allocations: 7.984 kB / 0.6725 GB, free: 128 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.104e-05/0.199, allocations: 0 / 0.6725 GB, free: 128 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005348/0.1995, allocations: 351.5 kB / 0.6728 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.598e-06/0.1996, allocations: 0 / 0.6728 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 1.981e-05/0.1996, allocations: 3.938 kB / 0.6728 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002519/0.1998, allocations: 135.5 kB / 0.6729 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.1999, allocations: 0 / 0.6729 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.263e-06/0.1999, allocations: 0 / 0.6729 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.1999, allocations: 0 / 0.6729 GB, free: 15.64 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.0003943/0.2003, allocations: 355.1 kB / 0.6733 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.2003, allocations: 8.031 kB / 0.6733 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.657e-05/0.2004, allocations: 0.9375 kB / 0.6733 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.2005, allocations: 168.4 kB / 0.6735 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.185e-06/0.2005, allocations: 384 / 0.6735 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.222e-06/0.2005, allocations: 384 / 0.6735 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008126/0.2013, allocations: 157.5 kB / 0.6736 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.2013, allocations: 0 / 0.6736 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.2013, allocations: 0 / 0.6736 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.2014, allocations: 4 kB / 0.6736 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006798/0.202, allocations: 139.8 kB / 0.6737 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001466/0.2022, allocations: 145.7 kB / 0.6739 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006863/0.2029, allocations: 146.5 kB / 0.674 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.06e-05/0.2029, allocations: 12.92 kB / 0.674 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003078/0.2032, allocations: 109 kB / 0.6741 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.2033, allocations: 34.56 kB / 0.6742 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.2033, allocations: 0 / 0.6742 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.001392/0.2047, allocations: 289.4 kB / 0.6744 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.004e-05/0.2048, allocations: 55.34 kB / 0.6745 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.444e-05/0.2048, allocations: 93.86 kB / 0.6746 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.2049, allocations: 29.86 kB / 0.6746 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.867e-05/0.2049, allocations: 84.14 kB / 0.6747 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.207e-05/0.205, allocations: 7.938 kB / 0.6747 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-05/0.205, allocations: 13.72 kB / 0.6747 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.2051, allocations: 314.8 kB / 0.675 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001497/0.2053, allocations: 31.97 kB / 0.675 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001364/0.2054, allocations: 27.97 kB / 0.6751 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003499/0.2058, allocations: 76.86 kB / 0.6751 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.2058, allocations: 3.984 kB / 0.6752 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003241/0.2061, allocations: 105.5 kB / 0.6753 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.2061, allocations: 4 kB / 0.6753 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.2062, allocations: 0 / 0.6753 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.2062, allocations: 0 / 0.6753 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002306/0.2085, allocations: 415.6 kB / 0.6757 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003772/0.2123, allocations: 1.935 MB / 0.6775 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.729e-05/0.2124, allocations: 23.89 kB / 0.6776 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.2124, allocations: 0 / 0.6776 GB, free: 10.53 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.946e-05/0.2125, allocations: 113.9 kB / 0.6777 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.266e-05/0.2125, allocations: 7.984 kB / 0.6777 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.316e-05/0.2125, allocations: 7.125 kB / 0.6777 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.2125, allocations: 0 / 0.6777 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.62e-07/0.2125, allocations: 0 / 0.6777 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.2125, allocations: 3.938 kB / 0.6777 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001105/0.2127, allocations: 149.7 kB / 0.6778 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.2127, allocations: 0 / 0.6778 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00245/0.2151, allocations: 423.5 kB / 0.6782 GB, free: 9.781 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.2151, allocations: 4 kB / 0.6782 GB, free: 9.777 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.2152, allocations: 8 kB / 0.6783 GB, free: 9.77 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003725/0.2189, allocations: 1.927 MB / 0.6801 GB, free: 7.703 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.2189, allocations: 0 / 0.6801 GB, free: 7.703 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003415/0.2193, allocations: 137 kB / 0.6803 GB, free: 7.551 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.767e-05/0.2193, allocations: 77.11 kB / 0.6803 GB, free: 7.457 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.06e-05/0.2193, allocations: 4 kB / 0.6803 GB, free: 7.453 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.276e-05/0.2194, allocations: 15.98 kB / 0.6804 GB, free: 7.438 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.616e-05/0.2195, allocations: 3.984 kB / 0.6804 GB, free: 7.434 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/0.2195, allocations: 4 kB / 0.6804 GB, free: 7.43 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.812e-05/0.2195, allocations: 79.31 kB / 0.6804 GB, free: 7.352 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2195, allocations: 0 / 0.6804 GB, free: 7.352 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002192/0.2197, allocations: 8 kB / 0.6804 GB, free: 7.344 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.0001498/0.2199, allocations: 99.23 kB / 0.6805 GB, free: 7.234 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0027/0.2226, allocations: 0.4917 MB / 0.681 GB, free: 6.742 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2226, allocations: 4.062 kB / 0.681 GB, free: 6.738 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003899/0.2265, allocations: 0.6555 MB / 0.6817 GB, free: 6.082 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001471/0.2267, allocations: 3.938 kB / 0.6817 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003294/0.23, allocations: 0.716 MB / 0.6824 GB, free: 5.332 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002477/0.2303, allocations: 0.6768 MB / 0.683 GB, free: 4.629 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.758e-05/0.2303, allocations: 0 / 0.683 GB, free: 4.629 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.835e-05/0.2303, allocations: 7.438 kB / 0.683 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of SimCode: time 6.11e-07/0.2303, allocations: 0 / 0.683 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of Templates: time 0.002598/0.2329, allocations: 0.5477 MB / 0.6836 GB, free: 4.082 MB / 0.5137 GB 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)