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.1753/0.1776, allocations: 80.84 MB / 0.6706 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.003661/0.1813, allocations: 1.242 MB / 0.6718 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00116/0.1825, allocations: 0.5064 MB / 0.6723 GB, free: 292 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.795e-05/0.1826, allocations: 0 / 0.6723 GB, free: 292 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.043e-05/0.1826, allocations: 0 / 0.6723 GB, free: 292 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.343e-05/0.1827, allocations: 3.938 kB / 0.6723 GB, free: 288 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007028/0.1834, allocations: 126.1 kB / 0.6725 GB, free: 164 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.208e-05/0.1835, allocations: 11.92 kB / 0.6725 GB, free: 152 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.901e-05/0.1835, allocations: 4 kB / 0.6725 GB, free: 148 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.315e-05/0.1836, allocations: 3.938 kB / 0.6725 GB, free: 144 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.3e-05/0.1836, allocations: 4 kB / 0.6725 GB, free: 140 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.27e-05/0.1836, allocations: 0 / 0.6725 GB, free: 140 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006743/0.1843, allocations: 355.4 kB / 0.6728 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.141e-05/0.1844, allocations: 4 kB / 0.6728 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.138e-05/0.1844, allocations: 3.938 kB / 0.6728 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003095/0.1847, allocations: 127.8 kB / 0.6729 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.156e-05/0.1847, allocations: 0 / 0.6729 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.705e-06/0.1847, allocations: 0 / 0.6729 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.606e-06/0.1848, allocations: 0 / 0.6729 GB, free: 15.66 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.0005448/0.1853, allocations: 355.3 kB / 0.6733 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.1854, allocations: 12.02 kB / 0.6733 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.518e-05/0.1854, allocations: 0.9375 kB / 0.6733 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.1856, allocations: 168.4 kB / 0.6735 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.1856, allocations: 4.312 kB / 0.6735 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.121e-05/0.1856, allocations: 384 / 0.6735 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009665/0.1866, allocations: 157.5 kB / 0.6736 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.1866, allocations: 0 / 0.6736 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.1866, allocations: 4 kB / 0.6736 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.1866, allocations: 0 / 0.6736 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007284/0.1874, allocations: 127.8 kB / 0.6737 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002076/0.1876, allocations: 157.6 kB / 0.6739 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008592/0.1885, allocations: 142.4 kB / 0.674 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.207e-05/0.1885, allocations: 16.91 kB / 0.674 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003513/0.1889, allocations: 109 kB / 0.6741 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.779e-05/0.1889, allocations: 34.56 kB / 0.6742 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.462e-06/0.1889, allocations: 4 kB / 0.6742 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.001551/0.1905, allocations: 277.5 kB / 0.6744 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/0.1905, allocations: 55.39 kB / 0.6745 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.808e-05/0.1906, allocations: 97.86 kB / 0.6746 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.1907, allocations: 25.7 kB / 0.6746 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.873e-05/0.1907, allocations: 84.3 kB / 0.6747 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.623e-05/0.1908, allocations: 3.906 kB / 0.6747 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.311e-05/0.1908, allocations: 13.72 kB / 0.6747 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001796/0.191, allocations: 322.8 kB / 0.675 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001707/0.1912, allocations: 31.97 kB / 0.6751 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001578/0.1914, allocations: 31.97 kB / 0.6751 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003228/0.1917, allocations: 72.86 kB / 0.6752 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.1917, allocations: 0 / 0.6752 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004848/0.1922, allocations: 105.6 kB / 0.6753 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.1922, allocations: 4 kB / 0.6753 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.1922, allocations: 0 / 0.6753 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.1923, allocations: 4 kB / 0.6753 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002478/0.1948, allocations: 411.6 kB / 0.6757 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005702/0.2005, allocations: 1.931 MB / 0.6775 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001431/0.2006, allocations: 15.92 kB / 0.6776 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.868e-06/0.2007, allocations: 3.938 kB / 0.6776 GB, free: 10.55 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 0.0001239/0.2008, allocations: 113.9 kB / 0.6777 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.358e-05/0.2008, allocations: 0 / 0.6777 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.882e-05/0.2008, allocations: 7.125 kB / 0.6777 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.2008, allocations: 3.984 kB / 0.6777 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.2009, allocations: 3.938 kB / 0.6777 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.2009, allocations: 11.86 kB / 0.6777 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001389/0.201, allocations: 153.7 kB / 0.6778 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.201, allocations: 4 kB / 0.6778 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002552/0.2036, allocations: 419.5 kB / 0.6782 GB, free: 9.789 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.2036, allocations: 0 / 0.6782 GB, free: 9.789 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.2036, allocations: 4 kB / 0.6782 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004085/0.2077, allocations: 1.935 MB / 0.6801 GB, free: 7.711 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.2077, allocations: 3.984 kB / 0.6801 GB, free: 7.707 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000378/0.2081, allocations: 125.1 kB / 0.6803 GB, free: 7.566 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.05e-05/0.2082, allocations: 81.09 kB / 0.6803 GB, free: 7.469 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.696e-06/0.2082, allocations: 4 kB / 0.6803 GB, free: 7.465 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.914e-05/0.2083, allocations: 15.98 kB / 0.6804 GB, free: 7.449 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.919e-05/0.2083, allocations: 0 / 0.6804 GB, free: 7.449 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.2083, allocations: 4 kB / 0.6804 GB, free: 7.445 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.485e-05/0.2084, allocations: 83.3 kB / 0.6804 GB, free: 7.363 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2084, allocations: 0 / 0.6804 GB, free: 7.363 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002261/0.2087, allocations: 8 kB / 0.6804 GB, free: 7.355 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.0001558/0.2088, allocations: 103.2 kB / 0.6805 GB, free: 7.242 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002904/0.2117, allocations: 499.5 kB / 0.681 GB, free: 6.754 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.2118, allocations: 4.062 kB / 0.681 GB, free: 6.75 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004208/0.216, allocations: 0.6516 MB / 0.6817 GB, free: 6.098 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001676/0.2162, allocations: 3.938 kB / 0.6817 GB, free: 6.094 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00366/0.2198, allocations: 0.7122 MB / 0.6824 GB, free: 5.352 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003358/0.2202, allocations: 0.6729 MB / 0.683 GB, free: 4.652 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.547e-05/0.2202, allocations: 3.906 kB / 0.683 GB, free: 4.648 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.542e-05/0.2202, allocations: 7.438 kB / 0.683 GB, free: 4.641 MB / 0.5137 GB Notification: Performance of SimCode: time 1.373e-06/0.2203, allocations: 0 / 0.683 GB, free: 4.641 MB / 0.5137 GB Notification: Performance of Templates: time 0.003105/0.2234, allocations: 0.5693 MB / 0.6836 GB, free: 4.078 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)