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.1851/0.1882, allocations: 80.84 MB / 0.6706 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.003357/0.1916, allocations: 1.273 MB / 0.6719 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001089/0.1927, allocations: 0.5297 MB / 0.6724 GB, free: 196 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.953e-05/0.1928, allocations: 4 kB / 0.6724 GB, free: 192 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.309e-05/0.1928, allocations: 3.938 kB / 0.6724 GB, free: 188 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.294e-05/0.1929, allocations: 0 / 0.6724 GB, free: 188 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007274/0.1936, allocations: 139.4 kB / 0.6725 GB, free: 48 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001034/0.1938, allocations: 27.92 kB / 0.6726 GB, free: 20 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.745e-05/0.1938, allocations: 3.984 kB / 0.6726 GB, free: 16 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.781e-05/0.1939, allocations: 8 kB / 0.6726 GB, free: 8 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00021/0.1941, allocations: 23.84 kB / 0.6726 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.956e-05/0.1941, allocations: 0 / 0.6726 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000691/0.1948, allocations: 343.4 kB / 0.6729 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.17e-05/0.1948, allocations: 11.98 kB / 0.6729 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.305e-05/0.1949, allocations: 11.94 kB / 0.6729 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0004663/0.1954, allocations: 143.6 kB / 0.6731 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1954, allocations: 0 / 0.6731 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of FrontEnd: time 4.308e-06/0.1954, allocations: 0 / 0.6731 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.622e-06/0.1954, allocations: 3.938 kB / 0.6731 GB, free: 15.48 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.0005936/0.196, allocations: 363.4 kB / 0.6734 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.196, allocations: 12.03 kB / 0.6734 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.788e-05/0.1961, allocations: 4.844 kB / 0.6734 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001618/0.1963, allocations: 168.3 kB / 0.6736 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.1963, allocations: 384 / 0.6736 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.818e-05/0.1963, allocations: 16.36 kB / 0.6736 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007/0.197, allocations: 125.5 kB / 0.6737 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.1971, allocations: 0 / 0.6737 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.1971, allocations: 0 / 0.6737 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.054e-06/0.1971, allocations: 0 / 0.6737 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004997/0.1976, allocations: 91.89 kB / 0.6738 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002302/0.1978, allocations: 165.6 kB / 0.674 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005664/0.1984, allocations: 126.5 kB / 0.6741 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.73e-05/0.1985, allocations: 32.84 kB / 0.6741 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003564/0.1989, allocations: 109 kB / 0.6742 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.636e-05/0.1989, allocations: 38.56 kB / 0.6743 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.573e-06/0.1989, allocations: 0 / 0.6743 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.008989/0.2079, allocations: 1.812 MB / 0.6761 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/0.208, allocations: 51.41 kB / 0.6761 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.526e-05/0.2081, allocations: 93.86 kB / 0.6762 GB, free: 12 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.554e-05/0.2081, allocations: 29.7 kB / 0.6762 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.848e-05/0.2081, allocations: 80.14 kB / 0.6763 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.916e-05/0.2082, allocations: 39.39 kB / 0.6763 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.446e-05/0.2083, allocations: 33.83 kB / 0.6764 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.2084, allocations: 318.8 kB / 0.6767 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004279/0.2089, allocations: 95.91 kB / 0.6768 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004228/0.2093, allocations: 103.9 kB / 0.6769 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008397/0.2101, allocations: 212 kB / 0.6771 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2101, allocations: 3.938 kB / 0.6771 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0009273/0.2111, allocations: 253.5 kB / 0.6773 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.2111, allocations: 4 kB / 0.6773 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.2111, allocations: 4 kB / 0.6773 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.2111, allocations: 0 / 0.6773 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003944/0.2115, allocations: 63.88 kB / 0.6774 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.2116, allocations: 0 / 0.6774 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000277/0.2118, allocations: 43.95 kB / 0.6774 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.703e-05/0.2119, allocations: 7.938 kB / 0.6774 GB, free: 10.71 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.0001945/0.2121, allocations: 113.8 kB / 0.6775 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.694e-05/0.2121, allocations: 11.89 kB / 0.6775 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.871e-05/0.2122, allocations: 11.97 kB / 0.6776 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.2122, allocations: 4 kB / 0.6776 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.2122, allocations: 4 kB / 0.6776 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.2122, allocations: 0 / 0.6776 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00135/0.2136, allocations: 0.5215 MB / 0.6781 GB, free: 9.961 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.2136, allocations: 0 / 0.6781 GB, free: 9.961 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003759/0.214, allocations: 55.95 kB / 0.6781 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.214, allocations: 3.984 kB / 0.6781 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/0.214, allocations: 4 kB / 0.6781 GB, free: 9.898 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.214, allocations: 0 / 0.6781 GB, free: 9.898 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.214, allocations: 0 / 0.6781 GB, free: 9.898 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001486/0.2155, allocations: 471 kB / 0.6786 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.095e-05/0.2156, allocations: 81.14 kB / 0.6787 GB, free: 9.324 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.411e-05/0.2156, allocations: 0 / 0.6787 GB, free: 9.324 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003363/0.2159, allocations: 39.95 kB / 0.6787 GB, free: 9.285 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.004e-05/0.216, allocations: 7.984 kB / 0.6787 GB, free: 9.277 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.477e-05/0.216, allocations: 12 kB / 0.6787 GB, free: 9.266 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.532e-05/0.216, allocations: 75.28 kB / 0.6788 GB, free: 9.191 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2161, allocations: 0 / 0.6788 GB, free: 9.191 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002582/0.2163, allocations: 24 kB / 0.6788 GB, free: 9.168 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.0001346/0.2165, allocations: 111.2 kB / 0.6789 GB, free: 9.051 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0009973/0.2175, allocations: 219.8 kB / 0.6791 GB, free: 8.836 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.2175, allocations: 4 kB / 0.6791 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004529/0.2179, allocations: 115.8 kB / 0.6792 GB, free: 8.719 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002393/0.2182, allocations: 4 kB / 0.6792 GB, free: 8.715 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00235/0.2205, allocations: 0.5863 MB / 0.6798 GB, free: 8.102 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002835/0.2208, allocations: 0.6855 MB / 0.6805 GB, free: 7.391 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001946/0.221, allocations: 16 kB / 0.6805 GB, free: 7.375 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.321e-05/0.2211, allocations: 19.42 kB / 0.6805 GB, free: 7.359 MB / 0.5137 GB Notification: Performance of SimCode: time 5.71e-07/0.2211, allocations: 0 / 0.6805 GB, free: 7.359 MB / 0.5137 GB Notification: Performance of Templates: time 0.003808/0.2249, allocations: 1.175 MB / 0.6817 GB, free: 6.223 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)