Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.415/1.415, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001076/0.001076, allocations: 172.7 kB / 326.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.572/1.572, allocations: 205.4 MB / 0.5775 GB, free: 20.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009359/0.0009358, allocations: 91.84 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003358/0.000336, allocations: 12.77 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1895/0.1899, allocations: 106.3 MB / 0.9002 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1579/0.3478, allocations: 133.3 MB / 1.03 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002128/0.3481, allocations: 79.95 kB / 1.03 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01251/0.3606, allocations: 4.263 MB / 1.035 GB, free: 6.039 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.823e-06/0.3606, allocations: 0 / 1.035 GB, free: 6.039 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.376e-06/0.3606, allocations: 4 kB / 1.035 GB, free: 6.035 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004255/0.3611, allocations: 377 kB / 1.035 GB, free: 5.621 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.3611, allocations: 8.031 kB / 1.035 GB, free: 5.613 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.215e-05/0.3612, allocations: 50.53 kB / 1.035 GB, free: 5.555 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.206e-05/0.3612, allocations: 7.906 kB / 1.035 GB, free: 5.547 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.3613, allocations: 170.9 kB / 1.035 GB, free: 5.34 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.545e-05/0.3614, allocations: 8 kB / 1.035 GB, free: 5.332 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.332e-05/0.3614, allocations: 8 kB / 1.035 GB, free: 5.324 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002259/0.3616, allocations: 77.66 kB / 1.035 GB, free: 5.242 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.3616, allocations: 0 / 1.035 GB, free: 5.242 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.3617, allocations: 4 kB / 1.035 GB, free: 5.238 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.3617, allocations: 4 kB / 1.035 GB, free: 5.234 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002297/0.3619, allocations: 59.89 kB / 1.035 GB, free: 5.176 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00055/0.3625, allocations: 332.6 kB / 1.036 GB, free: 4.801 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002781/0.3628, allocations: 94.47 kB / 1.036 GB, free: 4.699 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.29e-05/0.3628, allocations: 11.98 kB / 1.036 GB, free: 4.688 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.3628, allocations: 30.56 kB / 1.036 GB, free: 4.648 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.3628, allocations: 0 / 1.036 GB, free: 4.648 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11): time 0.001608/0.3644, allocations: 0.6773 MB / 1.036 GB, free: 3.879 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/0.3645, allocations: 59.41 kB / 1.036 GB, free: 3.809 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.952e-05/0.3646, allocations: 89 kB / 1.037 GB, free: 3.715 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.3646, allocations: 29.7 kB / 1.037 GB, free: 3.68 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.078e-05/0.3646, allocations: 84.12 kB / 1.037 GB, free: 3.594 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.397e-05/0.3647, allocations: 35.47 kB / 1.037 GB, free: 3.559 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.762e-06/0.3647, allocations: 4 kB / 1.037 GB, free: 3.555 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.3648, allocations: 318.8 kB / 1.037 GB, free: 3.234 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.3649, allocations: 39.97 kB / 1.037 GB, free: 3.195 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001144/0.3651, allocations: 31.98 kB / 1.037 GB, free: 3.164 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000127/0.3652, allocations: 35.98 kB / 1.037 GB, free: 3.129 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.3652, allocations: 0 / 1.037 GB, free: 3.129 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003091/0.3655, allocations: 134.2 kB / 1.037 GB, free: 2.992 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.3656, allocations: 7.953 kB / 1.037 GB, free: 2.984 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.3656, allocations: 0 / 1.037 GB, free: 2.984 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.3656, allocations: 0 / 1.037 GB, free: 2.984 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/0.3657, allocations: 27.98 kB / 1.037 GB, free: 2.957 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.3657, allocations: 0 / 1.037 GB, free: 2.957 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.628e-05/0.3658, allocations: 15.98 kB / 1.037 GB, free: 2.941 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.3658, allocations: 7.938 kB / 1.037 GB, free: 2.934 MB / 0.6823 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 9.366e-05/0.3659, allocations: 121.7 kB / 1.037 GB, free: 2.805 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.058e-05/0.366, allocations: 8.094 kB / 1.037 GB, free: 2.797 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000367/0.3663, allocations: 141.6 kB / 1.038 GB, free: 2.656 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.3664, allocations: 3.984 kB / 1.038 GB, free: 2.652 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.3664, allocations: 0 / 1.038 GB, free: 2.652 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.3664, allocations: 4 kB / 1.038 GB, free: 2.648 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005422/0.3669, allocations: 394.4 kB / 1.038 GB, free: 2.207 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.3669, allocations: 0 / 1.038 GB, free: 2.207 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001525/0.3671, allocations: 35.94 kB / 1.038 GB, free: 2.172 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.3671, allocations: 0 / 1.038 GB, free: 2.172 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.3671, allocations: 0 / 1.038 GB, free: 2.172 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.3671, allocations: 0 / 1.038 GB, free: 2.172 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3671, allocations: 0 / 1.038 GB, free: 2.172 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000481/0.3676, allocations: 267.3 kB / 1.038 GB, free: 1.895 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.476e-05/0.3677, allocations: 81.14 kB / 1.038 GB, free: 1.797 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.3677, allocations: 3.953 kB / 1.038 GB, free: 1.793 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/0.3678, allocations: 11.98 kB / 1.038 GB, free: 1.781 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.697e-05/0.3678, allocations: 12.05 kB / 1.038 GB, free: 1.77 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.748e-06/0.3679, allocations: 4 kB / 1.038 GB, free: 1.766 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.455e-05/0.3679, allocations: 83.28 kB / 1.038 GB, free: 1.684 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3679, allocations: 0 / 1.038 GB, free: 1.684 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002674/0.3682, allocations: 43.92 kB / 1.038 GB, free: 1.641 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_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.000821/0.369, allocations: 0.8415 MB / 1.039 GB, free: 0.7734 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002985/0.3693, allocations: 92.88 kB / 1.039 GB, free: 0.6836 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.3693, allocations: 4 kB / 1.039 GB, free: 0.6797 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001255/0.3695, allocations: 43.92 kB / 1.039 GB, free: 0.6367 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001852/0.3697, allocations: 13.97 kB / 1.039 GB, free: 0.625 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001324/0.371, allocations: 0.7622 MB / 1.04 GB, free: 15.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000253/0.3712, allocations: 0.6926 MB / 1.041 GB, free: 15.08 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 6.222e-05/0.3713, allocations: 16.59 kB / 1.041 GB, free: 15.07 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.764e-05/0.3714, allocations: 27.44 kB / 1.041 GB, free: 15.04 MB / 0.698 GB Notification: Performance of SimCode: time 3.5e-07/0.3714, allocations: 0 / 1.041 GB, free: 15.04 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01112/0.3825, allocations: 2.008 MB / 1.043 GB, free: 13.26 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001651/0.3827, allocations: 235.7 kB / 1.043 GB, free: 13.02 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.504/1.887, allocations: 2.5 kB / 1.043 GB, free: 13.02 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.fmu > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)