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.1869/0.189, allocations: 80.83 MB / 0.6706 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002601/0.1917, allocations: 1.277 MB / 0.6719 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009992/0.1927, allocations: 0.5336 MB / 0.6724 GB, free: 208 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.322e-05/0.1928, allocations: 4 kB / 0.6724 GB, free: 204 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.074e-05/0.1928, allocations: 0 / 0.6724 GB, free: 204 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.707e-05/0.1929, allocations: 3.938 kB / 0.6724 GB, free: 200 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000514/0.1934, allocations: 131.4 kB / 0.6725 GB, free: 68 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.108e-05/0.1935, allocations: 35.84 kB / 0.6726 GB, free: 32 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.996e-05/0.1935, allocations: 4 kB / 0.6726 GB, free: 28 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.747e-05/0.1936, allocations: 8 kB / 0.6726 GB, free: 20 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.208e-05/0.1936, allocations: 15.92 kB / 0.6726 GB, free: 4 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.1937, allocations: 0 / 0.6726 GB, free: 4 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000574/0.1942, allocations: 351.4 kB / 0.6729 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.704e-05/0.1943, allocations: 8 kB / 0.6729 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.025e-05/0.1943, allocations: 11.94 kB / 0.6729 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000274/0.1946, allocations: 143.5 kB / 0.6731 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.1946, allocations: 4 kB / 0.6731 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.206e-06/0.1946, allocations: 0 / 0.6731 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.1946, allocations: 7.938 kB / 0.6731 GB, free: 15.49 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.0004772/0.1951, allocations: 359.1 kB / 0.6734 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.1951, allocations: 12.03 kB / 0.6734 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.188e-05/0.1952, allocations: 0.9375 kB / 0.6734 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.1953, allocations: 172.3 kB / 0.6736 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.1954, allocations: 12.25 kB / 0.6736 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.714e-05/0.1954, allocations: 4.375 kB / 0.6736 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006269/0.196, allocations: 125.5 kB / 0.6737 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.196, allocations: 0 / 0.6737 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.1961, allocations: 3.984 kB / 0.6738 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.1961, allocations: 0 / 0.6738 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004694/0.1965, allocations: 91.89 kB / 0.6738 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002029/0.1968, allocations: 165.7 kB / 0.674 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00052/0.1973, allocations: 138.4 kB / 0.6741 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.89e-05/0.1973, allocations: 28.86 kB / 0.6742 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003363/0.1977, allocations: 109 kB / 0.6743 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/0.1977, allocations: 34.55 kB / 0.6743 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/0.1977, allocations: 0 / 0.6743 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.008283/0.206, allocations: 1.801 MB / 0.6761 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.181e-05/0.2061, allocations: 55.41 kB / 0.6761 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.873e-05/0.2062, allocations: 97.84 kB / 0.6762 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.383e-05/0.2062, allocations: 29.7 kB / 0.6762 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.4e-05/0.2063, allocations: 80.14 kB / 0.6763 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.261e-05/0.2063, allocations: 35.69 kB / 0.6763 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.268e-05/0.2064, allocations: 29.7 kB / 0.6764 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.2065, allocations: 318.8 kB / 0.6767 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004/0.207, allocations: 96.03 kB / 0.6768 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004082/0.2074, allocations: 106.9 kB / 0.6769 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007854/0.2082, allocations: 220.6 kB / 0.6771 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.2082, allocations: 0 / 0.6771 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008662/0.2091, allocations: 253.5 kB / 0.6773 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.2091, allocations: 6.188 kB / 0.6773 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.2091, allocations: 4 kB / 0.6773 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.2091, allocations: 0 / 0.6773 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003785/0.2095, allocations: 63.94 kB / 0.6774 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.2095, allocations: 0 / 0.6774 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002633/0.2098, allocations: 31.97 kB / 0.6774 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.949e-05/0.2098, allocations: 19.86 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.0001058/0.2099, allocations: 113.8 kB / 0.6775 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.285e-05/0.21, allocations: 4 kB / 0.6775 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.281e-05/0.21, allocations: 11.97 kB / 0.6776 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.21, allocations: 4.094 kB / 0.6776 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.21, allocations: 3.938 kB / 0.6776 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.2101, allocations: 0 / 0.6776 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00127/0.2113, allocations: 0.5332 MB / 0.6781 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-06/0.2113, allocations: 0 / 0.6781 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003703/0.2117, allocations: 59.94 kB / 0.6781 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.2117, allocations: 0 / 0.6781 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.971e-05/0.2118, allocations: 4 kB / 0.6781 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.2118, allocations: 0 / 0.6781 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.2118, allocations: 0 / 0.6781 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001307/0.2131, allocations: 467 kB / 0.6786 GB, free: 9.43 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.84e-05/0.2131, allocations: 81.17 kB / 0.6787 GB, free: 9.332 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.998e-05/0.2132, allocations: 12.02 kB / 0.6787 GB, free: 9.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002986/0.2135, allocations: 31.97 kB / 0.6787 GB, free: 9.289 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.044e-05/0.2135, allocations: 7.984 kB / 0.6787 GB, free: 9.281 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.972e-05/0.2135, allocations: 11.92 kB / 0.6787 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6e-05/0.2136, allocations: 79.28 kB / 0.6788 GB, free: 9.191 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2136, allocations: 4.094 kB / 0.6788 GB, free: 9.188 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002555/0.2139, allocations: 20 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.0001372/0.214, allocations: 111.2 kB / 0.6789 GB, free: 9.051 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0008695/0.2149, allocations: 219.7 kB / 0.6791 GB, free: 8.836 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2149, allocations: 4 kB / 0.6792 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004057/0.2153, allocations: 111.9 kB / 0.6793 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002349/0.2156, allocations: 4 kB / 0.6793 GB, free: 8.719 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00215/0.2177, allocations: 0.579 MB / 0.6798 GB, free: 8.113 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003438/0.2181, allocations: 0.6816 MB / 0.6805 GB, free: 7.406 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000133/0.2182, allocations: 19.98 kB / 0.6805 GB, free: 7.387 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.805e-05/0.2183, allocations: 11.44 kB / 0.6805 GB, free: 7.379 MB / 0.5137 GB Notification: Performance of SimCode: time 9.72e-07/0.2183, allocations: 4 kB / 0.6805 GB, free: 7.375 MB / 0.5137 GB Notification: Performance of Templates: time 0.003631/0.2219, allocations: 1.149 MB / 0.6816 GB, free: 6.266 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)