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.1746/0.1767, allocations: 80.83 MB / 0.6706 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002621/0.1794, allocations: 1.245 MB / 0.6718 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008425/0.1802, allocations: 0.5025 MB / 0.6723 GB, free: 388 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.54e-05/0.1803, allocations: 0 / 0.6723 GB, free: 388 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.351e-05/0.1803, allocations: 0 / 0.6723 GB, free: 388 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.982e-05/0.1803, allocations: 3.938 kB / 0.6723 GB, free: 384 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004462/0.1808, allocations: 123.5 kB / 0.6724 GB, free: 260 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.339e-05/0.1809, allocations: 15.92 kB / 0.6725 GB, free: 244 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.647e-05/0.1809, allocations: 4 kB / 0.6725 GB, free: 240 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.958e-05/0.1809, allocations: 3.938 kB / 0.6725 GB, free: 236 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.956e-05/0.181, allocations: 7.938 kB / 0.6725 GB, free: 228 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.097e-05/0.181, allocations: 0 / 0.6725 GB, free: 228 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005331/0.1815, allocations: 347.4 kB / 0.6728 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.008e-05/0.1816, allocations: 0 / 0.6728 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.824e-05/0.1816, allocations: 15.92 kB / 0.6728 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002291/0.1818, allocations: 123.8 kB / 0.6729 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1818, allocations: 0 / 0.6729 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.342e-06/0.1818, allocations: 0 / 0.6729 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.489e-06/0.1819, allocations: 0 / 0.6729 GB, free: 15.75 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.0004233/0.1823, allocations: 355.4 kB / 0.6733 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.1823, allocations: 8.031 kB / 0.6733 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.562e-05/0.1824, allocations: 4.875 kB / 0.6733 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.1825, allocations: 164.4 kB / 0.6735 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.1825, allocations: 4.375 kB / 0.6735 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.077e-06/0.1825, allocations: 384 / 0.6735 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000847/0.1834, allocations: 157.5 kB / 0.6736 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.1834, allocations: 0 / 0.6736 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.1834, allocations: 0 / 0.6736 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.1834, allocations: 4 kB / 0.6736 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006771/0.1841, allocations: 123.8 kB / 0.6737 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001646/0.1843, allocations: 161.6 kB / 0.6739 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006879/0.185, allocations: 146.4 kB / 0.674 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.068e-05/0.185, allocations: 8.922 kB / 0.674 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003017/0.1853, allocations: 113 kB / 0.6741 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.1853, allocations: 30.56 kB / 0.6742 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.1854, allocations: 4 kB / 0.6742 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.001407/0.1868, allocations: 289.5 kB / 0.6744 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.607e-05/0.1868, allocations: 55.34 kB / 0.6745 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.759e-05/0.1869, allocations: 93.86 kB / 0.6746 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.1869, allocations: 25.7 kB / 0.6746 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.558e-05/0.187, allocations: 84.14 kB / 0.6747 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.835e-05/0.187, allocations: 8.062 kB / 0.6747 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.592e-05/0.187, allocations: 17.7 kB / 0.6747 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.1871, allocations: 310.8 kB / 0.675 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001513/0.1873, allocations: 35.97 kB / 0.675 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001353/0.1874, allocations: 31.97 kB / 0.6751 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003147/0.1878, allocations: 72.86 kB / 0.6751 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1878, allocations: 0 / 0.6751 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003212/0.1881, allocations: 105.6 kB / 0.6753 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.1881, allocations: 7.938 kB / 0.6753 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1881, allocations: 0 / 0.6753 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.1882, allocations: 3.938 kB / 0.6753 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002334/0.1905, allocations: 415.6 kB / 0.6757 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003718/0.1942, allocations: 1.931 MB / 0.6775 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.557e-05/0.1943, allocations: 23.92 kB / 0.6776 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-06/0.1944, allocations: 3.938 kB / 0.6776 GB, free: 10.62 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.724e-05/0.1944, allocations: 109.8 kB / 0.6777 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.044e-05/0.1945, allocations: 4.062 kB / 0.6777 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.122e-05/0.1945, allocations: 3.125 kB / 0.6777 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.1945, allocations: 0 / 0.6777 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.1945, allocations: 3.984 kB / 0.6777 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1945, allocations: 3.938 kB / 0.6777 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001106/0.1946, allocations: 153.7 kB / 0.6778 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1946, allocations: 0 / 0.6778 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002319/0.1969, allocations: 423.5 kB / 0.6782 GB, free: 9.879 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.197, allocations: 0 / 0.6782 GB, free: 9.879 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.197, allocations: 0 / 0.6782 GB, free: 9.879 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003677/0.2006, allocations: 1.939 MB / 0.6801 GB, free: 7.801 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.2007, allocations: 0 / 0.6801 GB, free: 7.801 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003365/0.201, allocations: 121.1 kB / 0.6802 GB, free: 7.664 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.01e-05/0.2011, allocations: 85.12 kB / 0.6803 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.143e-05/0.2011, allocations: 4 kB / 0.6803 GB, free: 7.559 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.451e-05/0.2012, allocations: 15.98 kB / 0.6803 GB, free: 7.543 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.889e-05/0.2012, allocations: 0 / 0.6803 GB, free: 7.543 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.679e-06/0.2012, allocations: 4 kB / 0.6804 GB, free: 7.539 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.453e-05/0.2013, allocations: 83.27 kB / 0.6804 GB, free: 7.457 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.353e-06/0.2013, allocations: 4.094 kB / 0.6804 GB, free: 7.453 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000206/0.2015, allocations: 11.94 kB / 0.6804 GB, free: 7.441 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.0001354/0.2016, allocations: 103.2 kB / 0.6805 GB, free: 7.328 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002673/0.2043, allocations: 495.5 kB / 0.681 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.2043, allocations: 0 / 0.681 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00386/0.2082, allocations: 0.6556 MB / 0.6817 GB, free: 6.188 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001617/0.2084, allocations: 7.938 kB / 0.6817 GB, free: 6.18 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00339/0.2118, allocations: 0.716 MB / 0.6824 GB, free: 5.434 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002943/0.2121, allocations: 0.6729 MB / 0.683 GB, free: 4.734 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.025e-05/0.2121, allocations: 3.906 kB / 0.683 GB, free: 4.73 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.091e-05/0.2121, allocations: 7.438 kB / 0.683 GB, free: 4.723 MB / 0.5137 GB Notification: Performance of SimCode: time 5.31e-07/0.2121, allocations: 0 / 0.683 GB, free: 4.723 MB / 0.5137 GB Notification: Performance of Templates: time 0.003052/0.2152, allocations: 0.5561 MB / 0.6836 GB, free: 4.176 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)