Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.355/2.355, allocations: 251.1 MB / 266.7 MB, free: 11.63 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.001343/0.001343, allocations: 171.6 kB / 326.2 MB, free: 2.883 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.445/2.445, allocations: 205.4 MB / 0.5772 GB, free: 20.79 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.0009544/0.0009543, allocations: 93.84 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004464/0.0004466, allocations: 12.06 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2117, allocations: 106.3 MB / 0.8995 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2251/0.4368, allocations: 133.1 MB / 1.029 GB, free: 12.29 MB / 0.6824 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0008155/0.4377, allocations: 83.95 kB / 1.03 GB, free: 12.21 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 0.03811/0.4759, allocations: 4.298 MB / 1.034 GB, free: 7.898 MB / 0.6824 GB Notification: Performance of FrontEnd: time 2.996e-06/0.476, allocations: 4 kB / 1.034 GB, free: 7.895 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 1.062e-05/0.476, allocations: 0 / 1.034 GB, free: 7.895 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0009764/0.477, allocations: 375.3 kB / 1.034 GB, free: 7.477 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 7.989e-05/0.4771, allocations: 12.03 kB / 1.034 GB, free: 7.465 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.831e-05/0.4772, allocations: 8.781 kB / 1.034 GB, free: 7.457 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002658/0.4775, allocations: 172.3 kB / 1.034 GB, free: 7.25 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.721e-05/0.4776, allocations: 8.375 kB / 1.034 GB, free: 7.242 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001167/0.4777, allocations: 8.359 kB / 1.034 GB, free: 7.234 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001368/0.4791, allocations: 82.22 kB / 1.034 GB, free: 7.148 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.86e-05/0.4792, allocations: 192 / 1.034 GB, free: 7.148 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.463e-05/0.4793, allocations: 7.938 kB / 1.034 GB, free: 7.141 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.964e-05/0.4793, allocations: 4 kB / 1.034 GB, free: 7.137 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008/0.4802, allocations: 59.89 kB / 1.034 GB, free: 7.078 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001968/0.4822, allocations: 328.6 kB / 1.035 GB, free: 6.707 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000887/0.4831, allocations: 90.47 kB / 1.035 GB, free: 6.609 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003929/0.4836, allocations: 36.83 kB / 1.035 GB, free: 6.57 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 4.756e-05/0.4837, allocations: 4 kB / 1.035 GB, free: 6.566 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.628e-05/0.4837, allocations: 30.56 kB / 1.035 GB, free: 6.527 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=7): time 4.579e-06/0.4838, allocations: 3.938 kB / 1.035 GB, free: 6.523 MB / 0.6824 GB Notification: Performance of matching and sorting (n=11): time 0.004465/0.4882, allocations: 0.6694 MB / 1.036 GB, free: 5.762 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.165e-05/0.4884, allocations: 55.41 kB / 1.036 GB, free: 5.695 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/0.4885, allocations: 101.8 kB / 1.036 GB, free: 5.586 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 5.623e-05/0.4886, allocations: 33.7 kB / 1.036 GB, free: 5.547 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 9.422e-05/0.4887, allocations: 92.03 kB / 1.036 GB, free: 5.453 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001883/0.4889, allocations: 43.44 kB / 1.036 GB, free: 5.41 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.771e-05/0.4891, allocations: 0 / 1.036 GB, free: 5.41 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 0.0005152/0.4896, allocations: 314.8 kB / 1.036 GB, free: 5.094 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004631/0.4901, allocations: 35.97 kB / 1.036 GB, free: 5.059 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003823/0.4905, allocations: 37.61 kB / 1.036 GB, free: 5.023 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006895/0.4912, allocations: 35.98 kB / 1.036 GB, free: 4.988 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.967e-06/0.4913, allocations: 0 / 1.036 GB, free: 4.988 MB / 0.6824 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001128/0.4924, allocations: 131.4 kB / 1.036 GB, free: 4.855 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 2.978e-05/0.4925, allocations: 4 kB / 1.036 GB, free: 4.852 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.4925, allocations: 0 / 1.036 GB, free: 4.852 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/0.4926, allocations: 4 kB / 1.036 GB, free: 4.848 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004/0.493, allocations: 27.97 kB / 1.036 GB, free: 4.82 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/0.493, allocations: 4 kB / 1.036 GB, free: 4.816 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002444/0.4933, allocations: 15.94 kB / 1.036 GB, free: 4.801 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.064e-05/0.4933, allocations: 4 kB / 1.036 GB, free: 4.797 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.0001809/0.4935, allocations: 117.8 kB / 1.037 GB, free: 4.672 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.917e-05/0.4936, allocations: 7.906 kB / 1.037 GB, free: 4.664 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007313/0.4944, allocations: 137.7 kB / 1.037 GB, free: 4.523 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-06/0.4944, allocations: 4 kB / 1.037 GB, free: 4.52 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.4944, allocations: 0 / 1.037 GB, free: 4.52 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/0.4944, allocations: 8.125 kB / 1.037 GB, free: 4.512 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009413/0.4954, allocations: 398.4 kB / 1.037 GB, free: 4.066 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.4954, allocations: 0 / 1.037 GB, free: 4.066 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003006/0.4957, allocations: 27.98 kB / 1.037 GB, free: 4.039 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-06/0.4957, allocations: 7.984 kB / 1.037 GB, free: 4.031 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.787e-05/0.4958, allocations: 7.938 kB / 1.037 GB, free: 4.023 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.4958, allocations: 0 / 1.037 GB, free: 4.023 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.4958, allocations: 0 / 1.037 GB, free: 4.023 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009241/0.4967, allocations: 271.3 kB / 1.037 GB, free: 3.742 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 5.42e-05/0.4968, allocations: 81.09 kB / 1.037 GB, free: 3.645 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.632e-05/0.4968, allocations: 3.938 kB / 1.037 GB, free: 3.641 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002135/0.4971, allocations: 12 kB / 1.037 GB, free: 3.629 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.451e-05/0.4971, allocations: 7.984 kB / 1.038 GB, free: 3.621 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.4971, allocations: 4 kB / 1.038 GB, free: 3.617 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 8.341e-05/0.4972, allocations: 79.28 kB / 1.038 GB, free: 3.539 MB / 0.6824 GB Notification: Performance of sort global known variables: time 6.21e-07/0.4972, allocations: 4.062 kB / 1.038 GB, free: 3.535 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.0004002/0.4976, allocations: 39.98 kB / 1.038 GB, free: 3.496 MB / 0.6824 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_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.0003056/0.498, allocations: 141.1 kB / 1.038 GB, free: 3.352 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 0.0006894/0.4987, allocations: 95.89 kB / 1.038 GB, free: 3.258 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.4987, allocations: 4 kB / 1.038 GB, free: 3.254 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 0.0002728/0.499, allocations: 51.91 kB / 1.038 GB, free: 3.203 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003656/0.4994, allocations: 11.94 kB / 1.038 GB, free: 3.191 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/0.5004, allocations: 373.2 kB / 1.038 GB, free: 2.789 MB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003366/0.5008, allocations: 0.6965 MB / 1.039 GB, free: 2.066 MB / 0.6824 GB Notification: Performance of simCode: alias equations: time 0.0001208/0.5009, allocations: 20.59 kB / 1.039 GB, free: 2.047 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.224e-05/0.501, allocations: 11.44 kB / 1.039 GB, free: 2.035 MB / 0.6824 GB Notification: Performance of SimCode: time 1.002e-06/0.501, allocations: 0 / 1.039 GB, free: 2.035 MB / 0.6824 GB Notification: Performance of Templates: time 0.00598/0.507, allocations: 1.068 MB / 1.04 GB, free: 1.008 MB / 0.6824 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)