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.001133/0.001133, allocations: 182.8 kB / 15.76 MB, free: 6.359 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5133/0.5133, allocations: 91.99 MB / 108.5 MB, free: 13.08 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.72/1.72, allocations: 223.2 MB / 354.3 MB, free: 12.18 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.001216/0.001216, allocations: 96.28 kB / 427.4 MB, free: 3.934 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003591/0.0003591, allocations: 16 kB / 0.4983 GB, free: 42.29 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1804/0.1807, allocations: 72.31 MB / 0.5689 GB, free: 1.918 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.637/0.8178, allocations: 102.5 MB / 0.6689 GB, free: 1.98 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003214/0.8181, allocations: 79.95 kB / 0.669 GB, free: 1.902 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0137/0.8319, allocations: 4.559 MB / 0.6735 GB, free: 13.35 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.707e-06/0.8319, allocations: 3.938 kB / 0.6735 GB, free: 13.35 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.121e-05/0.832, allocations: 0 / 0.6735 GB, free: 13.35 MB / 474.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.0004556/0.8324, allocations: 359.5 kB / 0.6738 GB, free: 12.95 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.679e-05/0.8325, allocations: 12.03 kB / 0.6738 GB, free: 12.94 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.311e-05/0.8325, allocations: 11.89 kB / 0.6738 GB, free: 12.93 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.8327, allocations: 163 kB / 0.674 GB, free: 12.73 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.8327, allocations: 0 / 0.674 GB, free: 12.73 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.648e-05/0.8328, allocations: 8 kB / 0.674 GB, free: 12.72 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001667/0.8329, allocations: 53.67 kB / 0.6741 GB, free: 12.66 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.833, allocations: 3.938 kB / 0.6741 GB, free: 12.66 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.833, allocations: 0 / 0.6741 GB, free: 12.66 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.833, allocations: 3.953 kB / 0.6741 GB, free: 12.65 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.305e-05/0.8331, allocations: 23.92 kB / 0.6741 GB, free: 12.63 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002131/0.8333, allocations: 173.6 kB / 0.6742 GB, free: 12.41 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/0.8334, allocations: 54.56 kB / 0.6743 GB, free: 12.35 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.764e-05/0.8335, allocations: 0 / 0.6743 GB, free: 12.35 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/0.8335, allocations: 38.56 kB / 0.6743 GB, free: 12.3 MB / 474.7 MB Notification: Performance of pre-optimization done (n=7): time 8.01e-07/0.8335, allocations: 0 / 0.6743 GB, free: 12.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=11): time 0.001246/0.8348, allocations: 0.5804 MB / 0.6749 GB, free: 11.63 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.007e-05/0.8348, allocations: 51.41 kB / 0.675 GB, free: 11.57 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.077e-05/0.8349, allocations: 100.9 kB / 0.6751 GB, free: 11.46 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.8349, allocations: 25.7 kB / 0.6751 GB, free: 11.43 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.227e-05/0.835, allocations: 84.27 kB / 0.6752 GB, free: 11.34 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.93e-05/0.835, allocations: 43.39 kB / 0.6752 GB, free: 11.3 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.96e-06/0.8351, allocations: 0 / 0.6752 GB, free: 11.3 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.8352, allocations: 318.8 kB / 0.6755 GB, free: 10.98 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.384e-05/0.8353, allocations: 19.98 kB / 0.6755 GB, free: 10.96 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.917e-05/0.8353, allocations: 20.75 kB / 0.6755 GB, free: 10.94 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.181e-05/0.8354, allocations: 26.73 kB / 0.6756 GB, free: 10.92 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.8354, allocations: 0 / 0.6756 GB, free: 10.92 MB / 474.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001486/0.8355, allocations: 97.59 kB / 0.6757 GB, free: 10.82 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.8356, allocations: 8 kB / 0.6757 GB, free: 10.81 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.8356, allocations: 4 kB / 0.6757 GB, free: 10.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.8356, allocations: 0 / 0.6757 GB, free: 10.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.8357, allocations: 27.92 kB / 0.6757 GB, free: 10.78 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.8357, allocations: 3.953 kB / 0.6757 GB, free: 10.77 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.492e-05/0.8358, allocations: 0 / 0.6757 GB, free: 10.77 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.8358, allocations: 8 kB / 0.6757 GB, free: 10.77 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 () * 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 9.542e-05/0.8359, allocations: 109.8 kB / 0.6758 GB, free: 10.65 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.374e-05/0.8359, allocations: 4 kB / 0.6758 GB, free: 10.64 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002309/0.8361, allocations: 117.7 kB / 0.6759 GB, free: 10.52 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.8362, allocations: 4.094 kB / 0.6759 GB, free: 10.52 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.8362, allocations: 7.938 kB / 0.6759 GB, free: 10.51 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.8362, allocations: 3.953 kB / 0.6759 GB, free: 10.5 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004476/0.8366, allocations: 338.6 kB / 0.6763 GB, free: 10.12 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.8366, allocations: 3.938 kB / 0.6763 GB, free: 10.11 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000126/0.8368, allocations: 35.91 kB / 0.6763 GB, free: 10.08 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.8368, allocations: 0 / 0.6763 GB, free: 10.08 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.8368, allocations: 0 / 0.6763 GB, free: 10.08 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.8368, allocations: 11.95 kB / 0.6763 GB, free: 10.07 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.8368, allocations: 0 / 0.6763 GB, free: 10.07 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002669/0.8371, allocations: 204.1 kB / 0.6765 GB, free: 9.852 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.226e-05/0.8372, allocations: 81.02 kB / 0.6766 GB, free: 9.754 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/0.8372, allocations: 8.016 kB / 0.6766 GB, free: 9.746 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.358e-05/0.8373, allocations: 4 kB / 0.6766 GB, free: 9.742 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.286e-05/0.8373, allocations: 7.953 kB / 0.6766 GB, free: 9.734 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.8373, allocations: 4 kB / 0.6766 GB, free: 9.73 MB / 474.7 MB Notification: Performance of sorting global known variables: time 3.982e-05/0.8374, allocations: 87.27 kB / 0.6767 GB, free: 9.645 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.444e-06/0.8374, allocations: 0 / 0.6767 GB, free: 9.645 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003388/0.8377, allocations: 47.88 kB / 0.6767 GB, free: 9.598 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 () * 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.0002664/0.838, allocations: 144.3 kB / 0.6769 GB, free: 9.449 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001498/0.8381, allocations: 52.42 kB / 0.6769 GB, free: 9.398 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.8382, allocations: 4 kB / 0.6769 GB, free: 9.395 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 5.961e-05/0.8382, allocations: 39.86 kB / 0.677 GB, free: 9.355 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001413/0.8384, allocations: 6.672 kB / 0.677 GB, free: 9.352 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006377/0.839, allocations: 337.1 kB / 0.6773 GB, free: 8.992 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003242/0.8394, allocations: 0.6848 MB / 0.678 GB, free: 8.281 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 5.557e-05/0.8394, allocations: 15.98 kB / 0.678 GB, free: 8.266 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.61e-05/0.8395, allocations: 11.44 kB / 0.678 GB, free: 8.258 MB / 474.7 MB Notification: Performance of SimCode: time 2.3e-07/0.8395, allocations: 0 / 0.678 GB, free: 8.258 MB / 474.7 MB Notification: Performance of Templates: time 0.003403/0.8429, allocations: 0.8518 MB / 0.6788 GB, free: 7.441 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)