Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.334/2.334, allocations: 251.1 MB / 266.7 MB, free: 11.56 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001271/0.001271, allocations: 175.2 kB / 326.2 MB, free: 2.867 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.434/2.434, allocations: 205.4 MB / 0.5772 GB, free: 21.16 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001328/0.001328, allocations: 100.9 kB / 0.6817 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006888/0.0006892, allocations: 20.12 kB / 0.7957 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2371/0.2379, allocations: 106.3 MB / 0.8995 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.246/0.4839, allocations: 132.4 MB / 1.029 GB, free: 13.43 MB / 0.6824 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003176/0.4843, allocations: 79.95 kB / 1.029 GB, free: 13.35 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 0.02378/0.5081, allocations: 4.543 MB / 1.033 GB, free: 8.797 MB / 0.6824 GB Notification: Performance of FrontEnd: time 1.864e-06/0.5082, allocations: 4 kB / 1.033 GB, free: 8.793 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 7.304e-06/0.5082, allocations: 0 / 1.033 GB, free: 8.793 MB / 0.6824 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.0004494/0.5086, allocations: 347.4 kB / 1.034 GB, free: 8.402 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.5087, allocations: 16.03 kB / 1.034 GB, free: 8.387 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.791e-05/0.5088, allocations: 4.938 kB / 1.034 GB, free: 8.383 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001638/0.5089, allocations: 176.2 kB / 1.034 GB, free: 8.172 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.509, allocations: 384 / 1.034 GB, free: 8.172 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.935e-05/0.509, allocations: 4.375 kB / 1.034 GB, free: 8.168 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.5092, allocations: 50.19 kB / 1.034 GB, free: 8.113 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.5092, allocations: 4.188 kB / 1.034 GB, free: 8.109 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/0.5092, allocations: 3.938 kB / 1.034 GB, free: 8.105 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.5092, allocations: 0 / 1.034 GB, free: 8.105 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.457e-05/0.5093, allocations: 19.98 kB / 1.034 GB, free: 8.086 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002226/0.5095, allocations: 169.6 kB / 1.034 GB, free: 7.871 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001856/0.5097, allocations: 58.55 kB / 1.034 GB, free: 7.805 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.429e-05/0.5098, allocations: 24.86 kB / 1.034 GB, free: 7.777 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 3.049e-05/0.5099, allocations: 3.984 kB / 1.034 GB, free: 7.773 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.5099, allocations: 38.5 kB / 1.034 GB, free: 7.727 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=7): time 3.788e-06/0.5099, allocations: 4 kB / 1.034 GB, free: 7.723 MB / 0.6824 GB Notification: Performance of matching and sorting (n=11): time 0.00159/0.5115, allocations: 0.5876 MB / 1.035 GB, free: 7.043 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.919e-05/0.5116, allocations: 51.41 kB / 1.035 GB, free: 6.98 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.184e-05/0.5117, allocations: 97.86 kB / 1.035 GB, free: 6.875 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.5117, allocations: 29.83 kB / 1.035 GB, free: 6.84 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 4.789e-05/0.5118, allocations: 84 kB / 1.035 GB, free: 6.754 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 6.149e-05/0.5119, allocations: 47.38 kB / 1.035 GB, free: 6.707 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.047e-06/0.5119, allocations: 4 kB / 1.035 GB, free: 6.703 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.512, allocations: 314.8 kB / 1.035 GB, free: 6.387 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.996e-05/0.5121, allocations: 19.98 kB / 1.035 GB, free: 6.367 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.486e-05/0.5122, allocations: 21.58 kB / 1.035 GB, free: 6.348 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.142e-05/0.5123, allocations: 27.94 kB / 1.035 GB, free: 6.32 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.5123, allocations: 0 / 1.035 GB, free: 6.32 MB / 0.6824 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002465/0.5126, allocations: 115.6 kB / 1.036 GB, free: 6.203 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.5126, allocations: 4 kB / 1.036 GB, free: 6.199 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.5126, allocations: 0 / 1.036 GB, free: 6.199 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.5126, allocations: 0 / 1.036 GB, free: 6.199 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001852/0.5128, allocations: 23.98 kB / 1.036 GB, free: 6.176 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.5128, allocations: 0 / 1.036 GB, free: 6.176 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.896e-05/0.5129, allocations: 0 / 1.036 GB, free: 6.176 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.475e-05/0.5129, allocations: 4 kB / 1.036 GB, free: 6.172 MB / 0.6824 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001058/0.513, allocations: 113.8 kB / 1.036 GB, free: 6.051 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.323e-05/0.5131, allocations: 19.92 kB / 1.036 GB, free: 6.031 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002853/0.5133, allocations: 101.8 kB / 1.036 GB, free: 5.922 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.187e-06/0.5134, allocations: 4 kB / 1.036 GB, free: 5.918 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.5134, allocations: 0 / 1.036 GB, free: 5.918 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.5134, allocations: 3.984 kB / 1.036 GB, free: 5.914 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005897/0.514, allocations: 346.5 kB / 1.036 GB, free: 5.52 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.514, allocations: 7.938 kB / 1.036 GB, free: 5.512 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002206/0.5142, allocations: 19.98 kB / 1.036 GB, free: 5.492 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.5143, allocations: 4 kB / 1.036 GB, free: 5.488 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.5143, allocations: 4 kB / 1.036 GB, free: 5.484 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.5143, allocations: 4 kB / 1.036 GB, free: 5.48 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.5143, allocations: 0 / 1.036 GB, free: 5.48 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003678/0.5147, allocations: 215.4 kB / 1.036 GB, free: 5.254 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 4.709e-05/0.5147, allocations: 81.02 kB / 1.036 GB, free: 5.156 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.002e-05/0.5148, allocations: 4.031 kB / 1.036 GB, free: 5.152 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/0.5149, allocations: 4 kB / 1.036 GB, free: 5.148 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.458e-05/0.515, allocations: 12.05 kB / 1.036 GB, free: 5.137 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.515, allocations: 4 kB / 1.037 GB, free: 5.133 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 4.216e-05/0.515, allocations: 79.22 kB / 1.037 GB, free: 5.055 MB / 0.6824 GB Notification: Performance of sort global known variables: time 4.01e-07/0.515, allocations: 0 / 1.037 GB, free: 5.055 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.0003909/0.5154, allocations: 43.94 kB / 1.037 GB, free: 5.012 MB / 0.6824 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000297/0.5158, allocations: 147.1 kB / 1.037 GB, free: 4.859 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 0.0002182/0.516, allocations: 68.28 kB / 1.037 GB, free: 4.793 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.516, allocations: 4.094 kB / 1.037 GB, free: 4.789 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 8.612e-05/0.5161, allocations: 39.86 kB / 1.037 GB, free: 4.75 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/0.5164, allocations: 8 kB / 1.037 GB, free: 4.742 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007785/0.5172, allocations: 332.5 kB / 1.037 GB, free: 4.387 MB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003225/0.5175, allocations: 0.6926 MB / 1.038 GB, free: 3.668 MB / 0.6824 GB Notification: Performance of simCode: alias equations: time 0.0001038/0.5176, allocations: 11.98 kB / 1.038 GB, free: 3.656 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.7e-05/0.5177, allocations: 11.44 kB / 1.038 GB, free: 3.645 MB / 0.6824 GB Notification: Performance of SimCode: time 9.92e-07/0.5177, allocations: 0 / 1.038 GB, free: 3.645 MB / 0.6824 GB Notification: Performance of Templates: time 0.004464/0.5222, allocations: 0.9047 MB / 1.039 GB, free: 2.773 MB / 0.6824 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)