Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.678/1.678, allocations: 285.6 MB / 293.1 MB, free: 10.2 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009016/0.0009017, allocations: 168.9 kB / 361.4 MB, free: 6.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.386/1.386, allocations: 205.2 MB / 0.62 GB, free: 11.65 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008818/0.0008819, allocations: 96.25 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.798e-05/1.801e-05, allocations: 4 kB / 0.8518 GB, free: 2.715 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6852/0.6853, allocations: 115.3 MB / 0.9644 GB, free: 78.82 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1757/0.861, allocations: 138 MB / 1.099 GB, free: 1.812 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002361/0.8613, allocations: 77.11 kB / 1.099 GB, free: 1.738 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01122/0.8725, allocations: 3.976 MB / 1.103 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.523e-06/0.8726, allocations: 0.6562 kB / 1.103 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.603e-06/0.8726, allocations: 0 / 1.103 GB, free: 13.82 MB / 0.7136 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.000328/0.8729, allocations: 347.3 kB / 1.103 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.873, allocations: 12.69 kB / 1.103 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.283e-05/0.873, allocations: 1.031 kB / 1.103 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.8731, allocations: 167.7 kB / 1.104 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.8731, allocations: 0.6875 kB / 1.104 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.934e-05/0.8732, allocations: 7.984 kB / 1.104 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.619e-05/0.8732, allocations: 8.578 kB / 1.104 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.865e-05/0.8733, allocations: 38.33 kB / 1.104 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.8733, allocations: 0 / 1.104 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.826e-06/0.8734, allocations: 0.625 kB / 1.104 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.8734, allocations: 0 / 1.104 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000142/0.8735, allocations: 150.7 kB / 1.104 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001552/0.8737, allocations: 41.52 kB / 1.104 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.923e-05/0.8737, allocations: 18.17 kB / 1.104 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.8737, allocations: 0 / 1.104 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.8738, allocations: 35.06 kB / 1.104 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.863e-06/0.8738, allocations: 1.781 kB / 1.104 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0004569/0.8742, allocations: 278.3 kB / 1.104 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.595e-05/0.8743, allocations: 51.41 kB / 1.104 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.467e-05/0.8744, allocations: 93.86 kB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.8744, allocations: 29.08 kB / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.142e-05/0.8744, allocations: 84.14 kB / 1.104 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.616e-05/0.8744, allocations: 19.66 kB / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-06/0.8745, allocations: 0 / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.8746, allocations: 318.8 kB / 1.105 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.936e-05/0.8746, allocations: 4 kB / 1.105 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.817e-05/0.8746, allocations: 12 kB / 1.105 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.886e-05/0.8747, allocations: 12 kB / 1.105 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.8747, allocations: 9.766 kB / 1.105 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.064e-05/0.8747, allocations: 56.06 kB / 1.105 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.8748, allocations: 4 kB / 1.105 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.8748, allocations: 0 / 1.105 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.8748, allocations: 0 / 1.105 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.149e-05/0.8749, allocations: 16.61 kB / 1.105 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.8749, allocations: 4 kB / 1.105 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.682e-05/0.8749, allocations: 0 / 1.105 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-06/0.8749, allocations: 8 kB / 1.105 GB, free: 11.81 MB / 0.7136 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.24e-05/0.875, allocations: 101.6 kB / 1.105 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.004e-05/0.875, allocations: 3.953 kB / 1.105 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001249/0.8751, allocations: 73.31 kB / 1.105 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.8751, allocations: 0 / 1.105 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.8751, allocations: 0 / 1.105 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.8751, allocations: 8.359 kB / 1.105 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002585/0.8754, allocations: 295.5 kB / 1.105 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.8754, allocations: 0 / 1.105 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.774e-05/0.8755, allocations: 12 kB / 1.105 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.8755, allocations: 0 / 1.105 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.8755, allocations: 0 / 1.105 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.8755, allocations: 0 / 1.105 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.8755, allocations: 4 kB / 1.105 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000164/0.8757, allocations: 188.1 kB / 1.106 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.228e-05/0.8757, allocations: 89.03 kB / 1.106 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.8758, allocations: 0 / 1.106 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.512e-05/0.8758, allocations: 7.938 kB / 1.106 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.883e-05/0.8759, allocations: 7.922 kB / 1.106 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.8759, allocations: 4 kB / 1.106 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.715e-05/0.8759, allocations: 75.28 kB / 1.106 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8759, allocations: 4.062 kB / 1.106 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002448/0.8762, allocations: 28 kB / 1.106 GB, free: 10.83 MB / 0.7136 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 () * 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 (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.0001714/0.8763, allocations: 134.9 kB / 1.106 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.107e-05/0.8764, allocations: 20 kB / 1.106 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.8764, allocations: 3.938 kB / 1.106 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.256e-05/0.8765, allocations: 16 kB / 1.106 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001415/0.8766, allocations: 8.562 kB / 1.106 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003277/0.8769, allocations: 144.8 kB / 1.106 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002505/0.8772, allocations: 0.6846 MB / 1.107 GB, free: 9.77 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.693e-05/0.8772, allocations: 0 / 1.107 GB, free: 9.77 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.082e-05/0.8773, allocations: 16.92 kB / 1.107 GB, free: 9.754 MB / 0.7136 GB Notification: Performance of SimCode: time 1.382e-06/0.8773, allocations: 4 kB / 1.107 GB, free: 9.75 MB / 0.7136 GB Notification: Performance of Templates: time 0.002305/0.8796, allocations: 0.571 MB / 1.107 GB, free: 9.223 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)