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/Buildings 8.1.1-maint.8.1.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.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.701/1.701, allocations: 293 MB / 309 MB, free: 4.824 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.0008966/0.0008966, allocations: 172.6 kB / 378.7 MB, free: 1.023 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.465/1.465, allocations: 205.4 MB / 0.6383 GB, free: 8.133 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.000918/0.000918, allocations: 88.45 kB / 0.7527 GB, free: 62.96 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003917/0.0003918, allocations: 16 kB / 0.8768 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2346/0.235, allocations: 116.4 MB / 0.9904 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6849/0.92, allocations: 139.9 MB / 1.127 GB, free: 34.02 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000325/0.9203, allocations: 82.77 kB / 1.127 GB, free: 33.96 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01757/0.9379, allocations: 4.533 MB / 1.132 GB, free: 30.64 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.298e-06/0.938, allocations: 3.938 kB / 1.132 GB, free: 30.63 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.237e-05/0.938, allocations: 4 kB / 1.132 GB, free: 30.63 MB / 0.7292 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.0004144/0.9385, allocations: 351.3 kB / 1.132 GB, free: 30.24 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.561e-05/0.9385, allocations: 12.03 kB / 1.132 GB, free: 30.23 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.468e-05/0.9386, allocations: 5.969 kB / 1.132 GB, free: 30.23 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.9387, allocations: 175.8 kB / 1.132 GB, free: 30.02 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.9387, allocations: 384 / 1.132 GB, free: 30.02 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.68e-05/0.9388, allocations: 8.375 kB / 1.132 GB, free: 30.01 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/0.9389, allocations: 41.69 kB / 1.132 GB, free: 29.97 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.939, allocations: 4.188 kB / 1.132 GB, free: 29.96 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.939, allocations: 4.781 kB / 1.132 GB, free: 29.96 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.939, allocations: 0.5625 kB / 1.132 GB, free: 29.96 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.608e-05/0.9391, allocations: 27.69 kB / 1.132 GB, free: 29.94 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001947/0.9393, allocations: 161.2 kB / 1.132 GB, free: 29.74 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001263/0.9394, allocations: 58.14 kB / 1.132 GB, free: 29.68 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.053e-05/0.9395, allocations: 31.84 kB / 1.132 GB, free: 29.65 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.525e-05/0.9396, allocations: 0 / 1.132 GB, free: 29.65 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.9396, allocations: 38.56 kB / 1.133 GB, free: 29.6 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.9396, allocations: 0 / 1.133 GB, free: 29.6 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.001404/0.941, allocations: 0.5927 MB / 1.133 GB, free: 28.95 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.756e-05/0.9411, allocations: 55.34 kB / 1.133 GB, free: 28.89 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.344e-05/0.9411, allocations: 101.2 kB / 1.133 GB, free: 28.78 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.9412, allocations: 25.7 kB / 1.133 GB, free: 28.75 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.942e-05/0.9412, allocations: 84.14 kB / 1.133 GB, free: 28.66 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.189e-05/0.9412, allocations: 39.06 kB / 1.133 GB, free: 28.63 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.272e-06/0.9413, allocations: 0 / 1.133 GB, free: 28.63 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.59e-05/0.9413, allocations: 322.3 kB / 1.134 GB, free: 28.31 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.769e-05/0.9414, allocations: 16 kB / 1.134 GB, free: 28.29 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.413e-05/0.9414, allocations: 23.56 kB / 1.134 GB, free: 28.27 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.9416, allocations: 57.03 kB / 1.134 GB, free: 28.22 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.9416, allocations: 3.938 kB / 1.134 GB, free: 28.21 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002015/0.9418, allocations: 97.09 kB / 1.134 GB, free: 28.12 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.9419, allocations: 6.031 kB / 1.134 GB, free: 28.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.9419, allocations: 4 kB / 1.134 GB, free: 28.11 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.9419, allocations: 4 kB / 1.134 GB, free: 28.11 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001508/0.9421, allocations: 23.56 kB / 1.134 GB, free: 28.09 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.9421, allocations: 0 / 1.134 GB, free: 28.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.016e-05/0.9421, allocations: 5.531 kB / 1.134 GB, free: 28.08 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.639e-06/0.9421, allocations: 0 / 1.134 GB, free: 28.08 MB / 0.7292 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 7.412e-05/0.9422, allocations: 117.8 kB / 1.134 GB, free: 27.96 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.189e-05/0.9423, allocations: 15.41 kB / 1.134 GB, free: 27.95 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002482/0.9425, allocations: 106 kB / 1.134 GB, free: 27.84 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.9425, allocations: 0 / 1.134 GB, free: 27.84 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.096e-06/0.9426, allocations: 4.359 kB / 1.134 GB, free: 27.84 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.9426, allocations: 0 / 1.134 GB, free: 27.84 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004389/0.943, allocations: 357.5 kB / 1.134 GB, free: 27.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.943, allocations: 1.219 kB / 1.134 GB, free: 27.46 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001507/0.9432, allocations: 20.19 kB / 1.135 GB, free: 27.44 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.9432, allocations: 4 kB / 1.135 GB, free: 27.44 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.9432, allocations: 4 kB / 1.135 GB, free: 27.43 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.9433, allocations: 0 / 1.135 GB, free: 27.43 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.9433, allocations: 4 kB / 1.135 GB, free: 27.43 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003002/0.9436, allocations: 219.5 kB / 1.135 GB, free: 27.21 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.606e-05/0.9436, allocations: 85.05 kB / 1.135 GB, free: 27.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/0.9436, allocations: 0 / 1.135 GB, free: 27.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001286/0.9438, allocations: 7.516 kB / 1.135 GB, free: 27.11 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.33e-05/0.9438, allocations: 4.625 kB / 1.135 GB, free: 27.1 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.9438, allocations: 4 kB / 1.135 GB, free: 27.1 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.526e-05/0.9439, allocations: 87 kB / 1.135 GB, free: 27.02 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.21e-07/0.9439, allocations: 0.9375 kB / 1.135 GB, free: 27.02 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004798/0.9444, allocations: 43.94 kB / 1.135 GB, free: 26.97 MB / 0.7292 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.0002647/0.9447, allocations: 145.2 kB / 1.135 GB, free: 26.83 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001888/0.9449, allocations: 67.3 kB / 1.135 GB, free: 26.77 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.9449, allocations: 4 kB / 1.135 GB, free: 26.77 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.934e-05/0.945, allocations: 31.97 kB / 1.135 GB, free: 26.74 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003593/0.9453, allocations: 8.094 kB / 1.135 GB, free: 26.73 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006978/0.946, allocations: 335.5 kB / 1.136 GB, free: 26.43 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001326/0.9462, allocations: 0.6843 MB / 1.136 GB, free: 25.73 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.7e-05/0.9463, allocations: 13.86 kB / 1.136 GB, free: 25.72 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.344e-05/0.9463, allocations: 15.44 kB / 1.136 GB, free: 25.71 MB / 0.7292 GB Notification: Performance of SimCode: time 3.3e-07/0.9463, allocations: 0 / 1.136 GB, free: 25.71 MB / 0.7292 GB Notification: Performance of Templates: time 0.004404/0.9507, allocations: 0.9208 MB / 1.137 GB, free: 25.19 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (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)