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.2143/0.2163, allocations: 80.83 MB / 0.5899 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.00278/0.2191, allocations: 1.32 MB / 0.5912 GB, free: 15.42 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009932/0.2201, allocations: 0.5428 MB / 0.5917 GB, free: 14.88 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.174e-05/0.2202, allocations: 0 / 0.5917 GB, free: 14.88 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 2.243e-05/0.2202, allocations: 3.938 kB / 0.5917 GB, free: 14.87 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 5.608e-05/0.2203, allocations: 4 kB / 0.5917 GB, free: 14.87 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000463/0.2207, allocations: 107.7 kB / 0.5918 GB, free: 14.76 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 6.32e-05/0.2208, allocations: 23.86 kB / 0.5918 GB, free: 14.74 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.794e-05/0.2209, allocations: 4 kB / 0.5919 GB, free: 14.73 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.829e-05/0.2209, allocations: 7.938 kB / 0.5919 GB, free: 14.73 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.439e-05/0.221, allocations: 7.922 kB / 0.5919 GB, free: 14.72 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.265e-05/0.221, allocations: 4 kB / 0.5919 GB, free: 14.71 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004758/0.2215, allocations: 347.4 kB / 0.5922 GB, free: 14.38 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.332e-05/0.2215, allocations: 7.969 kB / 0.5922 GB, free: 14.37 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 2.591e-05/0.2215, allocations: 11.94 kB / 0.5922 GB, free: 14.36 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002397/0.2218, allocations: 136 kB / 0.5924 GB, free: 14.22 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/0.2218, allocations: 0 / 0.5924 GB, free: 14.22 MB / 462.1 MB Notification: Performance of FrontEnd: time 5.44e-06/0.2218, allocations: 3.984 kB / 0.5924 GB, free: 14.22 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.065e-05/0.2218, allocations: 0 / 0.5924 GB, free: 14.22 MB / 462.1 MB 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.0005041/0.2223, allocations: 355.4 kB / 0.5927 GB, free: 13.82 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.2224, allocations: 8.031 kB / 0.5927 GB, free: 13.82 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.088e-05/0.2224, allocations: 4.938 kB / 0.5927 GB, free: 13.81 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001616/0.2226, allocations: 160.4 kB / 0.5929 GB, free: 13.62 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.2226, allocations: 4.375 kB / 0.5929 GB, free: 13.61 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.994e-05/0.2226, allocations: 12.36 kB / 0.5929 GB, free: 13.6 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006718/0.2233, allocations: 109.7 kB / 0.593 GB, free: 13.49 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.2233, allocations: 0 / 0.593 GB, free: 13.49 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.2234, allocations: 4 kB / 0.593 GB, free: 13.48 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.2234, allocations: 7.984 kB / 0.593 GB, free: 13.48 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004697/0.2239, allocations: 79.89 kB / 0.5931 GB, free: 13.4 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002343/0.2241, allocations: 161.6 kB / 0.5932 GB, free: 13.19 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006416/0.2248, allocations: 114.5 kB / 0.5933 GB, free: 13.07 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.459e-05/0.2248, allocations: 20.8 kB / 0.5934 GB, free: 13.05 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003797/0.2252, allocations: 109.2 kB / 0.5935 GB, free: 12.92 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.671e-05/0.2252, allocations: 38.48 kB / 0.5935 GB, free: 12.88 MB / 462.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.2253, allocations: 0 / 0.5935 GB, free: 12.88 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.004791/0.23, allocations: 0.9662 MB / 0.5944 GB, free: 11.86 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/0.2301, allocations: 51.41 kB / 0.5945 GB, free: 11.79 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.733e-05/0.2302, allocations: 97.86 kB / 0.5946 GB, free: 11.69 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.2302, allocations: 25.7 kB / 0.5946 GB, free: 11.66 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.24e-05/0.2303, allocations: 88.12 kB / 0.5947 GB, free: 11.57 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.125e-05/0.2303, allocations: 23.7 kB / 0.5947 GB, free: 11.54 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.135e-05/0.2304, allocations: 21.7 kB / 0.5947 GB, free: 11.52 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.2305, allocations: 314.8 kB / 0.595 GB, free: 11.2 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002751/0.2308, allocations: 67.88 kB / 0.5951 GB, free: 11.13 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002449/0.2311, allocations: 63.88 kB / 0.5952 GB, free: 11.07 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004903/0.2316, allocations: 136.8 kB / 0.5953 GB, free: 10.93 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.2316, allocations: 0 / 0.5953 GB, free: 10.93 MB / 462.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005834/0.2322, allocations: 169.5 kB / 0.5954 GB, free: 10.76 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.2322, allocations: 4 kB / 0.5955 GB, free: 10.76 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.2322, allocations: 0 / 0.5955 GB, free: 10.76 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.2322, allocations: 0 / 0.5955 GB, free: 10.76 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002203/0.2325, allocations: 31.97 kB / 0.5955 GB, free: 10.73 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.2325, allocations: 4 kB / 0.5955 GB, free: 10.72 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001609/0.2326, allocations: 27.97 kB / 0.5955 GB, free: 10.7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.2327, allocations: 7.984 kB / 0.5955 GB, free: 10.69 MB / 462.1 MB 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 9.251e-05/0.2328, allocations: 111.5 kB / 0.5956 GB, free: 10.57 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.022e-05/0.2328, allocations: 7.938 kB / 0.5956 GB, free: 10.56 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.743e-05/0.2328, allocations: 7.969 kB / 0.5956 GB, free: 10.55 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.2328, allocations: 0 / 0.5956 GB, free: 10.55 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.2329, allocations: 0 / 0.5956 GB, free: 10.55 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.2329, allocations: 8 kB / 0.5956 GB, free: 10.55 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009896/0.2339, allocations: 447.1 kB / 0.5961 GB, free: 10.05 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.2339, allocations: 0 / 0.5961 GB, free: 10.05 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002191/0.2341, allocations: 43.89 kB / 0.5961 GB, free: 10.01 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.2341, allocations: 0 / 0.5961 GB, free: 10.01 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.2341, allocations: 4 kB / 0.5961 GB, free: 10 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.548e-06/0.2341, allocations: 4 kB / 0.5961 GB, free: 10 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.2342, allocations: 4.031 kB / 0.5961 GB, free: 9.996 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008781/0.235, allocations: 328.9 kB / 0.5964 GB, free: 9.656 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.657e-05/0.2351, allocations: 85.09 kB / 0.5965 GB, free: 9.555 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.322e-05/0.2351, allocations: 4.031 kB / 0.5965 GB, free: 9.551 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002088/0.2353, allocations: 28.03 kB / 0.5966 GB, free: 9.523 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.693e-05/0.2354, allocations: 4.062 kB / 0.5966 GB, free: 9.52 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.076e-05/0.2354, allocations: 15.97 kB / 0.5966 GB, free: 9.504 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.982e-05/0.2354, allocations: 83.28 kB / 0.5967 GB, free: 9.422 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2355, allocations: 0 / 0.5967 GB, free: 9.422 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002436/0.2357, allocations: 11.94 kB / 0.5967 GB, free: 9.41 MB / 462.1 MB 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.0001773/0.2359, allocations: 99.25 kB / 0.5968 GB, free: 9.305 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000613/0.2365, allocations: 147.7 kB / 0.5969 GB, free: 9.16 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.2365, allocations: 0 / 0.5969 GB, free: 9.16 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002501/0.2368, allocations: 67.94 kB / 0.597 GB, free: 9.094 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002483/0.237, allocations: 8 kB / 0.597 GB, free: 9.086 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/0.2382, allocations: 351.7 kB / 0.5973 GB, free: 8.715 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002356/0.2384, allocations: 0.6807 MB / 0.598 GB, free: 8.008 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 7.418e-05/0.2385, allocations: 15.92 kB / 0.598 GB, free: 7.992 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.319e-05/0.2386, allocations: 11.44 kB / 0.598 GB, free: 7.98 MB / 462.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2386, allocations: 0 / 0.598 GB, free: 7.98 MB / 462.1 MB Notification: Performance of Templates: time 0.003088/0.2417, allocations: 0.8251 MB / 0.5988 GB, free: 7.195 MB / 462.1 MB 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)