Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.conf.json 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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007922/0.0007921, allocations: 89.66 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007631/0.007632, allocations: 173.2 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.404/1.404, allocations: 205.4 MB / 222.4 MB, free: 5.805 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.742/1.742, allocations: 292.7 MB / 0.5502 GB, free: 14.46 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000513/0.000513, allocations: 14.72 kB / 0.6743 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2855/0.286, allocations: 116.3 MB / 0.7879 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.00136/0.2874, allocations: 1.013 MB / 0.7889 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009933/0.2885, allocations: 0.6279 MB / 0.7895 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.161e-05/0.2885, allocations: 4 kB / 0.7895 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.493e-05/0.2885, allocations: 0 / 0.7895 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.416e-05/0.2886, allocations: 7.922 kB / 0.7895 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006517/0.2892, allocations: 123.6 kB / 0.7896 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.36e-05/0.2893, allocations: 27.86 kB / 0.7896 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.465e-05/0.2894, allocations: 0 / 0.7896 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.877e-05/0.2894, allocations: 15.98 kB / 0.7897 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.156e-05/0.2895, allocations: 15.92 kB / 0.7897 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.2895, allocations: 4 kB / 0.7897 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005604/0.2901, allocations: 347.3 kB / 0.79 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.454e-05/0.2901, allocations: 0 / 0.79 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.783e-05/0.2901, allocations: 45.62 kB / 0.7901 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002944/0.2904, allocations: 151.9 kB / 0.7902 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.2905, allocations: 4 kB / 0.7902 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.853e-06/0.2905, allocations: 0 / 0.7902 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.2905, allocations: 0 / 0.7902 GB, free: 9.191 MB / 0.6075 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.000428/0.2909, allocations: 363.3 kB / 0.7905 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.291, allocations: 8.031 kB / 0.7906 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.682e-05/0.291, allocations: 8.938 kB / 0.7906 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.2911, allocations: 168.3 kB / 0.7907 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.2911, allocations: 384 / 0.7907 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.278e-05/0.2912, allocations: 8.375 kB / 0.7907 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/0.2913, allocations: 50.19 kB / 0.7908 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.2913, allocations: 192 / 0.7908 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.2913, allocations: 3.938 kB / 0.7908 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.2914, allocations: 0 / 0.7908 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.986e-05/0.2914, allocations: 19.98 kB / 0.7908 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001822/0.2916, allocations: 173.6 kB / 0.791 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001056/0.2917, allocations: 54.56 kB / 0.791 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.384e-05/0.2918, allocations: 32.84 kB / 0.7911 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.33e-05/0.2918, allocations: 0 / 0.7911 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/0.2918, allocations: 38.73 kB / 0.7911 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.2918, allocations: 0 / 0.7911 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.001114/0.293, allocations: 0.5875 MB / 0.7917 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.325e-05/0.293, allocations: 55.41 kB / 0.7917 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.626e-05/0.2931, allocations: 93.86 kB / 0.7918 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.2931, allocations: 29.7 kB / 0.7918 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.321e-05/0.2931, allocations: 88.27 kB / 0.7919 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.791e-05/0.2932, allocations: 43.38 kB / 0.792 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.927e-05/0.2932, allocations: 17.72 kB / 0.792 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.555e-05/0.2933, allocations: 314.8 kB / 0.7923 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.302e-05/0.2934, allocations: 23.98 kB / 0.7923 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.593e-05/0.2934, allocations: 23.12 kB / 0.7923 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.615e-05/0.2935, allocations: 56.84 kB / 0.7924 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.2935, allocations: 0 / 0.7924 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001494/0.2937, allocations: 109.5 kB / 0.7925 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.2937, allocations: 8 kB / 0.7925 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.2937, allocations: 0 / 0.7925 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.2937, allocations: 4 kB / 0.7925 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.991e-05/0.2938, allocations: 19.98 kB / 0.7925 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.2938, allocations: 3.938 kB / 0.7925 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.447e-05/0.2939, allocations: 4 kB / 0.7925 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.198e-06/0.2939, allocations: 7.984 kB / 0.7925 GB, free: 6.5 MB / 0.6075 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 8.724e-05/0.294, allocations: 118.4 kB / 0.7926 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.414e-05/0.294, allocations: 11.94 kB / 0.7926 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001793/0.2942, allocations: 101.7 kB / 0.7927 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.2942, allocations: 0 / 0.7927 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.2942, allocations: 4 kB / 0.7927 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.2942, allocations: 0 / 0.7927 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003979/0.2946, allocations: 354.3 kB / 0.7931 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.2946, allocations: 0 / 0.7931 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001075/0.2947, allocations: 27.98 kB / 0.7931 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.2948, allocations: 0 / 0.7931 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.2948, allocations: 4 kB / 0.7931 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.2948, allocations: 96 / 0.7931 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2948, allocations: 3.938 kB / 0.7931 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002426/0.295, allocations: 219.3 kB / 0.7933 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.71e-05/0.2951, allocations: 85 kB / 0.7934 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.414e-05/0.2951, allocations: 4.031 kB / 0.7934 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.433e-05/0.2952, allocations: 4 kB / 0.7934 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.831e-05/0.2952, allocations: 7.984 kB / 0.7934 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-06/0.2952, allocations: 8.062 kB / 0.7934 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.066e-05/0.2953, allocations: 75.28 kB / 0.7935 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2953, allocations: 0 / 0.7935 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002668/0.2955, allocations: 32 kB / 0.7935 GB, free: 5.352 MB / 0.6075 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.0002245/0.2958, allocations: 143.1 kB / 0.7937 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001429/0.2959, allocations: 63.86 kB / 0.7937 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.296, allocations: 0 / 0.7937 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.057e-05/0.296, allocations: 43.95 kB / 0.7938 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002173/0.2962, allocations: 8 kB / 0.7938 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000516/0.2968, allocations: 328.6 kB / 0.7941 GB, free: 4.738 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002334/0.297, allocations: 0.6848 MB / 0.7948 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.196e-05/0.2971, allocations: 15.94 kB / 0.7948 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.222e-05/0.2971, allocations: 11.44 kB / 0.7948 GB, free: 4 MB / 0.6075 GB Notification: Performance of SimCode: time 2.11e-07/0.2971, allocations: 0 / 0.7948 GB, free: 4 MB / 0.6075 GB Notification: Performance of Templates: time 0.002942/0.3, allocations: 0.9207 MB / 0.7957 GB, free: 3.113 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) Environment - environmentSimulation: