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_DerivativeCheck.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_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") [/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.1863/0.1884, allocations: 80.84 MB / 0.6706 GB, free: 4.57 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002404/0.1908, allocations: 1.255 MB / 0.6719 GB, free: 3.301 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0008499/0.1917, allocations: 0.5216 MB / 0.6724 GB, free: 2.777 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.707e-05/0.1918, allocations: 3.938 kB / 0.6724 GB, free: 2.773 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.753e-05/0.1918, allocations: 0 / 0.6724 GB, free: 2.773 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.547e-05/0.1918, allocations: 11.92 kB / 0.6724 GB, free: 2.762 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004996/0.1923, allocations: 127.4 kB / 0.6725 GB, free: 2.637 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.254e-05/0.1924, allocations: 15.92 kB / 0.6725 GB, free: 2.621 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.416e-05/0.1925, allocations: 11.98 kB / 0.6725 GB, free: 2.609 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.873e-05/0.1925, allocations: 11.94 kB / 0.6725 GB, free: 2.598 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.011e-05/0.1926, allocations: 4 kB / 0.6725 GB, free: 2.594 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.08e-05/0.1926, allocations: 0 / 0.6725 GB, free: 2.594 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000464/0.193, allocations: 351.4 kB / 0.6729 GB, free: 2.25 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.114e-05/0.1931, allocations: 7.938 kB / 0.6729 GB, free: 2.242 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.236e-05/0.1932, allocations: 7.984 kB / 0.6729 GB, free: 2.234 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002148/0.1934, allocations: 135.7 kB / 0.673 GB, free: 2.102 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1934, allocations: 0 / 0.673 GB, free: 2.102 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1934, allocations: 0 / 0.673 GB, free: 2.102 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.521e-06/0.1934, allocations: 0 / 0.673 GB, free: 2.102 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003962/0.1938, allocations: 355.4 kB / 0.6734 GB, free: 1.707 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.1938, allocations: 8.031 kB / 0.6734 GB, free: 1.699 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.783e-05/0.1939, allocations: 8.922 kB / 0.6734 GB, free: 1.691 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.194, allocations: 172.3 kB / 0.6735 GB, free: 1.484 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.194, allocations: 4.312 kB / 0.6736 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.119e-05/0.194, allocations: 4.375 kB / 0.6736 GB, free: 1.477 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006656/0.1947, allocations: 113.5 kB / 0.6737 GB, free: 1.359 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.1947, allocations: 4 kB / 0.6737 GB, free: 1.355 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.1947, allocations: 4 kB / 0.6737 GB, free: 1.352 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.1948, allocations: 0 / 0.6737 GB, free: 1.352 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004391/0.1952, allocations: 75.91 kB / 0.6737 GB, free: 1.277 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000183/0.1954, allocations: 157.7 kB / 0.6739 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006424/0.1961, allocations: 122.4 kB / 0.674 GB, free: 0.9453 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.861e-05/0.1961, allocations: 20.94 kB / 0.674 GB, free: 0.9219 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003273/0.1965, allocations: 113 kB / 0.6741 GB, free: 0.793 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.1965, allocations: 30.56 kB / 0.6742 GB, free: 0.7539 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=4): time 1.443e-06/0.1965, allocations: 0 / 0.6742 GB, free: 0.7539 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.004667/0.2012, allocations: 0.97 MB / 0.6751 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.253e-05/0.2012, allocations: 51.41 kB / 0.6752 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.029e-05/0.2013, allocations: 105.8 kB / 0.6753 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.2013, allocations: 25.7 kB / 0.6753 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.529e-05/0.2014, allocations: 80.14 kB / 0.6754 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.155e-05/0.2014, allocations: 19.75 kB / 0.6754 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.278e-05/0.2015, allocations: 21.7 kB / 0.6754 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.2016, allocations: 314.8 kB / 0.6757 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002917/0.2019, allocations: 60 kB / 0.6758 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002605/0.2022, allocations: 75.81 kB / 0.6758 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005337/0.2027, allocations: 136.7 kB / 0.676 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.2027, allocations: 0 / 0.676 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0006169/0.2033, allocations: 169.4 kB / 0.6761 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.2034, allocations: 4 kB / 0.6761 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.2034, allocations: 0 / 0.6761 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.2034, allocations: 0 / 0.6761 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002105/0.2036, allocations: 39.95 kB / 0.6762 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.2036, allocations: 4 kB / 0.6762 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001565/0.2038, allocations: 27.91 kB / 0.6762 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.2038, allocations: 0 / 0.6762 GB, free: 14.56 MB / 0.5294 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 (7): * Single equations (assignments): 7 * 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 7.46e-05/0.2039, allocations: 122.4 kB / 0.6763 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.44e-05/0.2039, allocations: 0 / 0.6763 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.473e-05/0.204, allocations: 7.969 kB / 0.6763 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.204, allocations: 7.938 kB / 0.6763 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.204, allocations: 4 kB / 0.6763 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.204, allocations: 3.984 kB / 0.6763 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009677/0.205, allocations: 439.2 kB / 0.6768 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.205, allocations: 7.984 kB / 0.6768 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002239/0.2052, allocations: 31.97 kB / 0.6768 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.2052, allocations: 0 / 0.6768 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.2052, allocations: 0 / 0.6768 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.2052, allocations: 8.031 kB / 0.6768 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/0.2053, allocations: 3.984 kB / 0.6768 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009105/0.2062, allocations: 336.2 kB / 0.6771 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.989e-05/0.2062, allocations: 81.09 kB / 0.6772 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/0.2063, allocations: 8.031 kB / 0.6772 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002098/0.2065, allocations: 32.16 kB / 0.6772 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.112e-05/0.2065, allocations: 3.984 kB / 0.6772 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.2065, allocations: 4.516 kB / 0.6773 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.355e-05/0.2066, allocations: 83.22 kB / 0.6773 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2066, allocations: 0 / 0.6773 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002286/0.2068, allocations: 12 kB / 0.6773 GB, free: 13.27 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0001193/0.2069, allocations: 107.2 kB / 0.6774 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005914/0.2075, allocations: 135.8 kB / 0.6776 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2075, allocations: 4 kB / 0.6776 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002644/0.2078, allocations: 63.94 kB / 0.6776 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002293/0.208, allocations: 8 kB / 0.6776 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/0.2093, allocations: 352.8 kB / 0.678 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000215/0.2095, allocations: 0.6807 MB / 0.6786 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 6.029e-05/0.2095, allocations: 8 kB / 0.6787 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.922e-05/0.2096, allocations: 15.36 kB / 0.6787 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of SimCode: time 5.51e-07/0.2096, allocations: 4 kB / 0.6787 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of Templates: time 0.002954/0.2126, allocations: 0.8475 MB / 0.6795 GB, free: 11.04 MB / 0.5294 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)