Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.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.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") [/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.1712/0.1732, allocations: 80.84 MB / 0.6706 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002738/0.176, allocations: 1.269 MB / 0.6719 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009407/0.1769, allocations: 0.5336 MB / 0.6724 GB, free: 176 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.67e-05/0.177, allocations: 0 / 0.6724 GB, free: 176 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.915e-05/0.177, allocations: 3.984 kB / 0.6724 GB, free: 172 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.489e-05/0.1771, allocations: 7.875 kB / 0.6724 GB, free: 164 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005564/0.1777, allocations: 135.4 kB / 0.6725 GB, free: 28 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.977e-05/0.1777, allocations: 27.91 kB / 0.6726 GB, free: 0 / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.569e-05/0.1778, allocations: 4.047 kB / 0.6726 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.805e-05/0.1778, allocations: 11.94 kB / 0.6726 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.929e-05/0.1779, allocations: 11.92 kB / 0.6726 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.1779, allocations: 4 kB / 0.6726 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005637/0.1785, allocations: 347.4 kB / 0.6729 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.055e-05/0.1786, allocations: 7.984 kB / 0.6729 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.109e-05/0.1786, allocations: 23.86 kB / 0.673 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002724/0.1789, allocations: 135.7 kB / 0.6731 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1789, allocations: 0 / 0.6731 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.252e-06/0.1789, allocations: 3.938 kB / 0.6731 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.1789, allocations: 0 / 0.6731 GB, free: 15.46 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004443/0.1793, allocations: 359.5 kB / 0.6734 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.1794, allocations: 8.031 kB / 0.6734 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.352e-05/0.1794, allocations: 8.844 kB / 0.6734 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.1796, allocations: 172.3 kB / 0.6736 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.1796, allocations: 8.375 kB / 0.6736 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.876e-05/0.1796, allocations: 384 / 0.6736 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006511/0.1803, allocations: 125.5 kB / 0.6737 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.1803, allocations: 7.984 kB / 0.6737 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.1803, allocations: 4 kB / 0.6738 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.1803, allocations: 0 / 0.6738 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000511/0.1809, allocations: 91.89 kB / 0.6738 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000196/0.1811, allocations: 157.7 kB / 0.674 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005527/0.1816, allocations: 138.5 kB / 0.6741 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.554e-05/0.1817, allocations: 32.84 kB / 0.6742 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003356/0.182, allocations: 113 kB / 0.6743 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.693e-05/0.1821, allocations: 34.56 kB / 0.6743 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.583e-06/0.1821, allocations: 0 / 0.6743 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.009054/0.1912, allocations: 1.8 MB / 0.6761 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.724e-05/0.1912, allocations: 55.5 kB / 0.6761 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.477e-05/0.1913, allocations: 93.8 kB / 0.6762 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.779e-05/0.1914, allocations: 29.7 kB / 0.6762 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.776e-05/0.1914, allocations: 88.27 kB / 0.6763 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.309e-05/0.1915, allocations: 35.45 kB / 0.6763 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.101e-05/0.1916, allocations: 29.7 kB / 0.6764 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.1918, allocations: 314.8 kB / 0.6767 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004454/0.1922, allocations: 103.9 kB / 0.6768 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004078/0.1926, allocations: 103.8 kB / 0.6769 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000843/0.1935, allocations: 212.6 kB / 0.6771 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1935, allocations: 0 / 0.6771 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0009151/0.1944, allocations: 249.5 kB / 0.6773 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.1944, allocations: 8 kB / 0.6773 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1945, allocations: 0 / 0.6773 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.1945, allocations: 0 / 0.6773 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003935/0.1949, allocations: 59.88 kB / 0.6774 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.1949, allocations: 4.781 kB / 0.6774 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002774/0.1952, allocations: 39.89 kB / 0.6774 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.1952, allocations: 4 kB / 0.6774 GB, free: 10.7 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 (13): * Single equations (assignments): 13 * 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 0.0001029/0.1953, allocations: 117.8 kB / 0.6775 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.759e-05/0.1953, allocations: 7.906 kB / 0.6775 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.5e-05/0.1954, allocations: 19.95 kB / 0.6776 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1954, allocations: 0 / 0.6776 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.1954, allocations: 0 / 0.6776 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1955, allocations: 0 / 0.6776 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001268/0.1967, allocations: 0.5216 MB / 0.6781 GB, free: 9.949 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.1967, allocations: 0 / 0.6781 GB, free: 9.949 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003942/0.1971, allocations: 59.94 kB / 0.6781 GB, free: 9.891 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.1972, allocations: 0 / 0.6781 GB, free: 9.891 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.266e-05/0.1972, allocations: 11.98 kB / 0.6781 GB, free: 9.879 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.1972, allocations: 0 / 0.6781 GB, free: 9.879 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1972, allocations: 3.938 kB / 0.6781 GB, free: 9.875 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001409/0.1986, allocations: 463 kB / 0.6786 GB, free: 9.406 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.055e-05/0.1987, allocations: 77.11 kB / 0.6787 GB, free: 9.312 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.903e-05/0.1987, allocations: 4 kB / 0.6787 GB, free: 9.309 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00033/0.199, allocations: 44.05 kB / 0.6787 GB, free: 9.266 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.264e-05/0.1991, allocations: 7.984 kB / 0.6787 GB, free: 9.258 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.785e-05/0.1991, allocations: 11.92 kB / 0.6787 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.207e-05/0.1992, allocations: 79.28 kB / 0.6788 GB, free: 9.168 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1992, allocations: 0 / 0.6788 GB, free: 9.168 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002736/0.1994, allocations: 20 kB / 0.6788 GB, free: 9.148 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_m_flow_comp) * 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 (11): * Single equations (assignments): 11 * 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.0001333/0.1996, allocations: 111.2 kB / 0.6789 GB, free: 9.031 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0009179/0.2005, allocations: 231.2 kB / 0.6791 GB, free: 8.809 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.2005, allocations: 3.938 kB / 0.6791 GB, free: 8.805 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004462/0.201, allocations: 111.8 kB / 0.6793 GB, free: 8.695 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002566/0.2012, allocations: 12 kB / 0.6793 GB, free: 8.684 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002237/0.2035, allocations: 0.563 MB / 0.6798 GB, free: 8.094 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/0.2038, allocations: 0.6894 MB / 0.6805 GB, free: 7.379 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001244/0.2039, allocations: 16 kB / 0.6805 GB, free: 7.363 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.646e-05/0.204, allocations: 15.42 kB / 0.6805 GB, free: 7.352 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.204, allocations: 0 / 0.6805 GB, free: 7.352 MB / 0.5137 GB Notification: Performance of Templates: time 0.003958/0.208, allocations: 1.15 MB / 0.6816 GB, free: 6.238 MB / 0.5137 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)