Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.469/2.469, allocations: 285 MB / 292.5 MB, free: 10.52 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001384/0.001384, allocations: 188.9 kB / 360.8 MB, free: 7.254 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.959/1.959, allocations: 205.3 MB / 0.6192 GB, free: 12.11 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001076/0.001075, allocations: 86.69 kB / 0.7322 GB, free: 44.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.758e-05/2.759e-05, allocations: 4 kB / 0.8509 GB, free: 3.34 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8594/0.8595, allocations: 115.3 MB / 0.9634 GB, free: 78.61 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.232/1.092, allocations: 138 MB / 1.098 GB, free: 2.469 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003441/1.092, allocations: 75.95 kB / 1.098 GB, free: 2.395 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02334/1.115, allocations: 4.483 MB / 1.103 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.044e-06/1.115, allocations: 0.7812 kB / 1.103 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.204e-05/1.115, allocations: 4 kB / 1.103 GB, free: 13.96 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004736/1.116, allocations: 341.8 kB / 1.103 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/1.116, allocations: 8.031 kB / 1.103 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.332e-05/1.116, allocations: 8.781 kB / 1.103 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/1.116, allocations: 167 kB / 1.103 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/1.116, allocations: 8.609 kB / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.472e-05/1.116, allocations: 1.406 kB / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001013/1.116, allocations: 19.94 kB / 1.103 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001132/1.116, allocations: 45.69 kB / 1.103 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/1.116, allocations: 3.781 kB / 1.103 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/1.117, allocations: 0 / 1.103 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/1.117, allocations: 0 / 1.103 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000199/1.117, allocations: 150.2 kB / 1.103 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001343/1.117, allocations: 46.58 kB / 1.103 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.059e-05/1.117, allocations: 32.8 kB / 1.103 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.746e-05/1.117, allocations: 1.312 kB / 1.103 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.421e-05/1.117, allocations: 39.36 kB / 1.103 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.673e-06/1.117, allocations: 1 kB / 1.103 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.001128/1.118, allocations: 0.502 MB / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/1.118, allocations: 51.41 kB / 1.104 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.35e-05/1.118, allocations: 94.03 kB / 1.104 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/1.118, allocations: 29.83 kB / 1.104 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.141e-05/1.118, allocations: 80.14 kB / 1.104 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.605e-05/1.119, allocations: 43.3 kB / 1.104 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.66e-06/1.119, allocations: 0 / 1.104 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001328/1.119, allocations: 328.1 kB / 1.105 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.071e-05/1.119, allocations: 19.94 kB / 1.105 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.387e-05/1.119, allocations: 23.94 kB / 1.105 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.495e-05/1.119, allocations: 20.86 kB / 1.105 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/1.119, allocations: 0 / 1.105 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002276/1.119, allocations: 86.69 kB / 1.105 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/1.119, allocations: 4.938 kB / 1.105 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/1.119, allocations: 0 / 1.105 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/1.119, allocations: 0 / 1.105 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001978/1.119, allocations: 29.48 kB / 1.105 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/1.119, allocations: 0 / 1.105 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.445e-05/1.119, allocations: 0 / 1.105 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.528e-05/1.12, allocations: 7.938 kB / 1.105 GB, free: 11.54 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 (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 9.688e-05/1.12, allocations: 108.7 kB / 1.105 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.48e-05/1.12, allocations: 11.28 kB / 1.105 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002852/1.12, allocations: 99.81 kB / 1.105 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/1.12, allocations: 0 / 1.105 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.311e-06/1.12, allocations: 0 / 1.105 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/1.12, allocations: 0 / 1.105 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005044/1.121, allocations: 323 kB / 1.105 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/1.121, allocations: 0 / 1.105 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002108/1.121, allocations: 19.98 kB / 1.105 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.214e-06/1.121, allocations: 0 / 1.105 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/1.121, allocations: 5.875 kB / 1.105 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/1.121, allocations: 4 kB / 1.105 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/1.121, allocations: 0 / 1.105 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003464/1.121, allocations: 212.8 kB / 1.106 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.652e-05/1.121, allocations: 81.14 kB / 1.106 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.059e-05/1.121, allocations: 0 / 1.106 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/1.121, allocations: 3.984 kB / 1.106 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.646e-05/1.121, allocations: 7.984 kB / 1.106 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/1.122, allocations: 8.062 kB / 1.106 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.214e-05/1.122, allocations: 75.28 kB / 1.106 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.91e-07/1.122, allocations: 4 kB / 1.106 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004367/1.122, allocations: 47.92 kB / 1.106 GB, free: 10.47 MB / 0.7136 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 () * 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.0003208/1.122, allocations: 140.8 kB / 1.106 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000207/1.123, allocations: 55.88 kB / 1.106 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/1.123, allocations: 0 / 1.106 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.626e-05/1.123, allocations: 36.03 kB / 1.106 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001962/1.123, allocations: 9.828 kB / 1.106 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006512/1.124, allocations: 222.7 kB / 1.106 GB, free: 9.988 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003164/1.124, allocations: 0.6924 MB / 1.107 GB, free: 9.27 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 8.281e-05/1.124, allocations: 4 kB / 1.107 GB, free: 9.266 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.332e-05/1.124, allocations: 15.44 kB / 1.107 GB, free: 9.25 MB / 0.7136 GB Notification: Performance of SimCode: time 1.112e-06/1.124, allocations: 0.9375 kB / 1.107 GB, free: 9.25 MB / 0.7136 GB Notification: Performance of Templates: time 0.004514/1.129, allocations: 0.8388 MB / 1.108 GB, free: 8.453 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)