Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 178.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4911/0.4911, allocations: 90.81 MB / 104.5 MB, free: 13.92 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 221.3 MB / 348.3 MB, free: 12.57 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008451/0.0008452, allocations: 104.2 kB / 421.2 MB, free: 5.676 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.745e-05/2.747e-05, allocations: 4 kB / 0.4896 GB, free: 46.61 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1282, allocations: 72.31 MB / 0.5602 GB, free: 6.398 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.452/0.5803, allocations: 102.4 MB / 0.6602 GB, free: 5.457 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002271/0.5805, allocations: 88.62 kB / 0.6603 GB, free: 5.402 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01259/0.5931, allocations: 4.555 MB / 0.6648 GB, free: 1.562 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5932, allocations: 4 kB / 0.6648 GB, free: 1.559 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.436e-06/0.5932, allocations: 4 kB / 0.6648 GB, free: 1.555 MB / 458.7 MB 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.0003385/0.5935, allocations: 352.4 kB / 0.6651 GB, free: 1.172 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.5936, allocations: 15.98 kB / 0.6651 GB, free: 1.156 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.234e-05/0.5936, allocations: 3.953 kB / 0.6651 GB, free: 1.152 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.5937, allocations: 163 kB / 0.6653 GB, free: 0.9531 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.5938, allocations: 4 kB / 0.6653 GB, free: 0.9492 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.522e-05/0.5938, allocations: 7.875 kB / 0.6653 GB, free: 0.9453 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.5939, allocations: 48.75 kB / 0.6654 GB, free: 0.8945 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.5939, allocations: 2.438 kB / 0.6654 GB, free: 0.8945 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.594, allocations: 0 / 0.6654 GB, free: 0.8945 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.896e-06/0.594, allocations: 7.938 kB / 0.6654 GB, free: 0.8867 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.841e-05/0.594, allocations: 15.12 kB / 0.6654 GB, free: 0.875 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000169/0.5942, allocations: 168.4 kB / 0.6655 GB, free: 0.668 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.215e-05/0.5943, allocations: 60.62 kB / 0.6656 GB, free: 0.6133 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.97e-05/0.5944, allocations: 27.55 kB / 0.6656 GB, free: 0.5898 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/0.5944, allocations: 4.234 kB / 0.6656 GB, free: 0.5859 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.5944, allocations: 33.56 kB / 0.6657 GB, free: 0.5469 MB / 458.7 MB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.5944, allocations: 0 / 0.6657 GB, free: 0.5469 MB / 458.7 MB Notification: Performance of matching and sorting (n=11): time 0.000925/0.5953, allocations: 0.556 MB / 0.6662 GB, free: 15.94 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.061e-05/0.5954, allocations: 55.41 kB / 0.6663 GB, free: 15.88 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.979e-05/0.5955, allocations: 96.36 kB / 0.6663 GB, free: 15.78 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.5955, allocations: 25.7 kB / 0.6664 GB, free: 15.75 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.29e-05/0.5955, allocations: 80.14 kB / 0.6664 GB, free: 15.66 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.42e-05/0.5956, allocations: 46.69 kB / 0.6665 GB, free: 15.62 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-06/0.5956, allocations: 3.938 kB / 0.6665 GB, free: 15.62 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.5957, allocations: 318.5 kB / 0.6668 GB, free: 15.3 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.761e-05/0.5958, allocations: 18.88 kB / 0.6668 GB, free: 15.29 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.32e-05/0.5958, allocations: 23.94 kB / 0.6668 GB, free: 15.27 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.762e-05/0.5958, allocations: 24.55 kB / 0.6669 GB, free: 15.26 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.5959, allocations: 0 / 0.6669 GB, free: 15.26 MB / 474.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001337/0.596, allocations: 95.22 kB / 0.667 GB, free: 15.17 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.596, allocations: 4.875 kB / 0.667 GB, free: 15.17 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.596, allocations: 7.922 kB / 0.667 GB, free: 15.16 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.5961, allocations: 3.938 kB / 0.667 GB, free: 15.16 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.5962, allocations: 31.67 kB / 0.667 GB, free: 15.13 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.5962, allocations: 3.953 kB / 0.667 GB, free: 15.12 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.307e-05/0.5962, allocations: 0 / 0.667 GB, free: 15.12 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-06/0.5962, allocations: 8 kB / 0.667 GB, free: 15.12 MB / 474.7 MB 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 7.197e-05/0.5963, allocations: 106.4 kB / 0.6671 GB, free: 15.01 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.333e-05/0.5963, allocations: 7.984 kB / 0.6671 GB, free: 15 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001896/0.5965, allocations: 108 kB / 0.6672 GB, free: 14.91 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.5965, allocations: 0 / 0.6672 GB, free: 14.91 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.5965, allocations: 0 / 0.6672 GB, free: 14.91 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.5965, allocations: 3.953 kB / 0.6672 GB, free: 14.91 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000393/0.5969, allocations: 349.9 kB / 0.6676 GB, free: 14.54 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.597, allocations: 4 kB / 0.6676 GB, free: 14.54 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001086/0.5971, allocations: 27.92 kB / 0.6676 GB, free: 14.51 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.5971, allocations: 0 / 0.6676 GB, free: 14.51 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.5971, allocations: 3.562 kB / 0.6676 GB, free: 14.51 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.5971, allocations: 3.953 kB / 0.6676 GB, free: 14.5 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.5971, allocations: 0 / 0.6676 GB, free: 14.5 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002379/0.5974, allocations: 212 kB / 0.6678 GB, free: 14.31 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.799e-05/0.5974, allocations: 89.05 kB / 0.6679 GB, free: 14.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.5974, allocations: 4.062 kB / 0.6679 GB, free: 14.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.628e-05/0.5975, allocations: 7.812 kB / 0.6679 GB, free: 14.2 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.867e-05/0.5975, allocations: 7.938 kB / 0.6679 GB, free: 14.19 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.5975, allocations: 4 kB / 0.6679 GB, free: 14.18 MB / 474.7 MB Notification: Performance of sorting global known variables: time 4.058e-05/0.5976, allocations: 79.28 kB / 0.668 GB, free: 14.11 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5976, allocations: 0 / 0.668 GB, free: 14.11 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002539/0.5979, allocations: 46.48 kB / 0.668 GB, free: 14.07 MB / 474.7 MB 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.0002395/0.5981, allocations: 147.2 kB / 0.6682 GB, free: 13.91 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001234/0.5982, allocations: 58.44 kB / 0.6682 GB, free: 13.87 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.5982, allocations: 0 / 0.6682 GB, free: 13.87 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 4.248e-05/0.5983, allocations: 39 kB / 0.6683 GB, free: 13.84 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000119/0.5984, allocations: 0 / 0.6683 GB, free: 13.84 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004253/0.5989, allocations: 224 kB / 0.6685 GB, free: 13.61 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002587/0.5991, allocations: 0.6942 MB / 0.6692 GB, free: 12.89 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 4.332e-05/0.5992, allocations: 4 kB / 0.6692 GB, free: 12.88 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.508e-05/0.5992, allocations: 15.44 kB / 0.6692 GB, free: 12.87 MB / 474.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5992, allocations: 0 / 0.6692 GB, free: 12.87 MB / 474.7 MB Notification: Performance of Templates: time 0.002904/0.6021, allocations: 0.8562 MB / 0.67 GB, free: 12.05 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)