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_dp_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_dp_DerivativeCheck2,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_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.599/1.599, allocations: 251.9 MB / 266.9 MB, free: 11.01 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.001131/0.001131, allocations: 187.8 kB / 326.5 MB, free: 2.234 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.651/1.651, allocations: 205.4 MB / 0.5775 GB, free: 20.54 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.0008352/0.0008352, allocations: 93.91 kB / 0.6821 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003263/0.0003264, allocations: 10.5 kB / 0.7963 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1979/0.1983, allocations: 106.3 MB / 0.9002 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1603/0.3586, allocations: 132.6 MB / 1.03 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002382/0.3589, allocations: 75.95 kB / 1.03 GB, free: 11.33 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0133/0.3722, allocations: 4.511 MB / 1.034 GB, free: 6.812 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.124e-06/0.3722, allocations: 0 / 1.034 GB, free: 6.812 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.3722, allocations: 0 / 1.034 GB, free: 6.812 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003578/0.3726, allocations: 365.4 kB / 1.034 GB, free: 6.41 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.3727, allocations: 8.031 kB / 1.034 GB, free: 6.402 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.87e-05/0.3727, allocations: 30.56 kB / 1.035 GB, free: 6.363 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.879e-05/0.3727, allocations: 4 kB / 1.035 GB, free: 6.359 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.3729, allocations: 170.9 kB / 1.035 GB, free: 6.152 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.3729, allocations: 11.98 kB / 1.035 GB, free: 6.141 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.325e-05/0.3729, allocations: 3.906 kB / 1.035 GB, free: 6.137 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/0.373, allocations: 49.69 kB / 1.035 GB, free: 6.082 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.3731, allocations: 0 / 1.035 GB, free: 6.082 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.3731, allocations: 4 kB / 1.035 GB, free: 6.078 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.3731, allocations: 4 kB / 1.035 GB, free: 6.074 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.406e-05/0.3732, allocations: 15.98 kB / 1.035 GB, free: 6.059 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002103/0.3734, allocations: 169.6 kB / 1.035 GB, free: 5.844 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001156/0.3735, allocations: 66.48 kB / 1.035 GB, free: 5.77 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.3735, allocations: 0 / 1.035 GB, free: 5.77 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.3736, allocations: 30.56 kB / 1.035 GB, free: 5.73 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 8.82e-07/0.3736, allocations: 4 kB / 1.035 GB, free: 5.727 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11): time 0.001191/0.3748, allocations: 0.584 MB / 1.036 GB, free: 5.051 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.611e-05/0.3748, allocations: 55.41 kB / 1.036 GB, free: 4.984 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.735e-05/0.3749, allocations: 89.06 kB / 1.036 GB, free: 4.891 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.3749, allocations: 29.7 kB / 1.036 GB, free: 4.855 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.356e-05/0.375, allocations: 88 kB / 1.036 GB, free: 4.766 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.487e-05/0.375, allocations: 35.45 kB / 1.036 GB, free: 4.73 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.522e-06/0.375, allocations: 4 kB / 1.036 GB, free: 4.727 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.3751, allocations: 322.8 kB / 1.036 GB, free: 4.402 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.039e-05/0.3752, allocations: 19.98 kB / 1.036 GB, free: 4.383 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.693e-05/0.3752, allocations: 19.98 kB / 1.036 GB, free: 4.363 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.91e-05/0.3753, allocations: 34.06 kB / 1.036 GB, free: 4.332 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.3753, allocations: 4.125 kB / 1.036 GB, free: 4.328 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001436/0.3755, allocations: 97.69 kB / 1.036 GB, free: 4.227 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.3755, allocations: 10.75 kB / 1.036 GB, free: 4.219 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.3755, allocations: 0 / 1.036 GB, free: 4.219 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.3755, allocations: 0 / 1.036 GB, free: 4.219 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.3756, allocations: 23.98 kB / 1.036 GB, free: 4.195 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.3756, allocations: 0 / 1.036 GB, free: 4.195 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.376e-05/0.3757, allocations: 0 / 1.036 GB, free: 4.195 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.3757, allocations: 7.984 kB / 1.036 GB, free: 4.188 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.499e-05/0.3758, allocations: 125.7 kB / 1.037 GB, free: 4.055 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.334e-05/0.3758, allocations: 3.984 kB / 1.037 GB, free: 4.051 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001948/0.376, allocations: 109.5 kB / 1.037 GB, free: 3.938 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.376, allocations: 0 / 1.037 GB, free: 3.938 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.376, allocations: 0 / 1.037 GB, free: 3.938 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.376, allocations: 0 / 1.037 GB, free: 3.938 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004014/0.3764, allocations: 358.4 kB / 1.037 GB, free: 3.531 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.3765, allocations: 4 kB / 1.037 GB, free: 3.527 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.3766, allocations: 19.98 kB / 1.037 GB, free: 3.508 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.3766, allocations: 4 kB / 1.037 GB, free: 3.504 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.3766, allocations: 8 kB / 1.037 GB, free: 3.496 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.3766, allocations: 0 / 1.037 GB, free: 3.496 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3766, allocations: 0 / 1.037 GB, free: 3.496 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002386/0.3769, allocations: 223.6 kB / 1.037 GB, free: 3.262 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.846e-05/0.3769, allocations: 81.14 kB / 1.037 GB, free: 3.164 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.495e-05/0.3769, allocations: 3.938 kB / 1.037 GB, free: 3.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.02e-05/0.377, allocations: 64 / 1.037 GB, free: 3.16 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.671e-05/0.377, allocations: 15.98 kB / 1.037 GB, free: 3.145 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.787e-06/0.3771, allocations: 4 kB / 1.037 GB, free: 3.141 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.189e-05/0.3771, allocations: 79.28 kB / 1.037 GB, free: 3.062 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3771, allocations: 0 / 1.037 GB, free: 3.062 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002536/0.3774, allocations: 39.94 kB / 1.037 GB, free: 3.023 MB / 0.6823 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.000599/0.378, allocations: 0.7982 MB / 1.038 GB, free: 2.199 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001381/0.3781, allocations: 63.86 kB / 1.038 GB, free: 2.137 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3781, allocations: 0 / 1.038 GB, free: 2.137 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 4.558e-05/0.3782, allocations: 31.98 kB / 1.038 GB, free: 2.105 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001283/0.3783, allocations: 6.031 kB / 1.038 GB, free: 2.102 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009442/0.3793, allocations: 0.6666 MB / 1.039 GB, free: 1.383 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000274/0.3795, allocations: 0.6887 MB / 1.04 GB, free: 0.668 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.956e-05/0.3796, allocations: 8.062 kB / 1.04 GB, free: 0.6602 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.544e-05/0.3797, allocations: 23.42 kB / 1.04 GB, free: 0.6367 MB / 0.6823 GB Notification: Performance of SimCode: time 2e-07/0.3797, allocations: 0 / 1.04 GB, free: 0.6367 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01131/0.391, allocations: 1.769 MB / 1.041 GB, free: 15.08 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001656/0.3912, allocations: 224.1 kB / 1.042 GB, free: 14.84 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.588/1.979, allocations: 4 kB / 1.042 GB, free: 14.84 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)