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.483/1.483, allocations: 249.5 MB / 257 MB, free: 6.922 MB / 202.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: 176.8 kB / 316.3 MB, free: 3.273 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.71/1.71, allocations: 205.3 MB / 0.5671 GB, free: 15.9 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.0008824/0.0008824, allocations: 84.72 kB / 0.6714 GB, free: 5.027 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.495e-05/2.481e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2308/0.2309, allocations: 106.3 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.791/1.022, allocations: 132.8 MB / 1.015 GB, free: 4.895 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002567/1.022, allocations: 88.17 kB / 1.015 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01292/1.035, allocations: 4.48 MB / 1.019 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.693e-06/1.035, allocations: 3.938 kB / 1.019 GB, free: 1.148 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.001e-06/1.035, allocations: 4 kB / 1.019 GB, free: 1.145 MB / 0.6355 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.0004069/1.036, allocations: 352.4 kB / 1.02 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/1.036, allocations: 8.031 kB / 1.02 GB, free: 0.7539 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.067e-05/1.036, allocations: 4 kB / 1.02 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/1.036, allocations: 167 kB / 1.02 GB, free: 0.5469 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/1.036, allocations: 0 / 1.02 GB, free: 0.5469 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.491e-05/1.036, allocations: 7.906 kB / 1.02 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.471e-05/1.036, allocations: 23.11 kB / 1.02 GB, free: 0.5195 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.676e-05/1.036, allocations: 44.62 kB / 1.02 GB, free: 484 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/1.036, allocations: 0 / 1.02 GB, free: 484 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/1.036, allocations: 4 kB / 1.02 GB, free: 480 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/1.036, allocations: 0 / 1.02 GB, free: 480 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001798/1.036, allocations: 143.3 kB / 1.02 GB, free: 304 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.913e-05/1.036, allocations: 55.81 kB / 1.02 GB, free: 252 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.8e-05/1.037, allocations: 23.92 kB / 1.02 GB, free: 232 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.675e-05/1.037, allocations: 4 kB / 1.02 GB, free: 228 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/1.037, allocations: 34.56 kB / 1.02 GB, free: 184 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.665e-06/1.037, allocations: 0 / 1.02 GB, free: 184 kB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0008949/1.037, allocations: 0.5133 MB / 1.021 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/1.038, allocations: 51.41 kB / 1.021 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.668e-05/1.038, allocations: 96.98 kB / 1.021 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/1.038, allocations: 25.7 kB / 1.021 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.276e-05/1.038, allocations: 84 kB / 1.021 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.219e-05/1.038, allocations: 41.77 kB / 1.021 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-06/1.038, allocations: 0 / 1.021 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001325/1.038, allocations: 314.8 kB / 1.021 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.688e-05/1.038, allocations: 18.06 kB / 1.021 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.233e-05/1.038, allocations: 22.19 kB / 1.021 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.158e-05/1.038, allocations: 21.61 kB / 1.021 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.82e-07/1.038, allocations: 4.125 kB / 1.021 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001453/1.038, allocations: 88.78 kB / 1.022 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/1.038, allocations: 5.562 kB / 1.022 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/1.038, allocations: 4 kB / 1.022 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/1.038, allocations: 0 / 1.022 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/1.038, allocations: 23.98 kB / 1.022 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/1.038, allocations: 240 / 1.022 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.602e-05/1.038, allocations: 0 / 1.022 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/1.038, allocations: 12.02 kB / 1.022 GB, free: 14.81 MB / 0.6511 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 () * 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 8.189e-05/1.038, allocations: 116.8 kB / 1.022 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001255/1.039, allocations: 76.36 kB / 1.022 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.154e-05/1.039, allocations: 7.906 kB / 1.022 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001936/1.039, allocations: 101.2 kB / 1.022 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/1.039, allocations: 0 / 1.022 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/1.039, allocations: 0 / 1.022 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/1.039, allocations: 3.984 kB / 1.022 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004292/1.039, allocations: 316.8 kB / 1.022 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/1.039, allocations: 0 / 1.022 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001142/1.039, allocations: 27.92 kB / 1.022 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/1.039, allocations: 0 / 1.022 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/1.039, allocations: 4 kB / 1.022 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/1.039, allocations: 0 / 1.022 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/1.039, allocations: 0 / 1.022 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002474/1.04, allocations: 210.7 kB / 1.022 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.051e-05/1.04, allocations: 81.02 kB / 1.022 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.756e-05/1.04, allocations: 0 / 1.022 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.117e-05/1.04, allocations: 8.094 kB / 1.022 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.154e-05/1.04, allocations: 7.984 kB / 1.023 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.854e-06/1.04, allocations: 3.312 kB / 1.023 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 3.656e-05/1.04, allocations: 79.28 kB / 1.023 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.41e-07/1.04, allocations: 0 / 1.023 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003402/1.04, allocations: 39.92 kB / 1.023 GB, free: 13.71 MB / 0.6511 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 () * 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.0006402/1.041, allocations: 0.782 MB / 1.023 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001277/1.041, allocations: 54.8 kB / 1.023 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/1.041, allocations: 7.625 kB / 1.023 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.288e-05/1.041, allocations: 31.67 kB / 1.023 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001518/1.041, allocations: 0 / 1.023 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006249/1.042, allocations: 277 kB / 1.024 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/1.042, allocations: 0.6885 MB / 1.024 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.901e-05/1.042, allocations: 19.89 kB / 1.024 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.776e-05/1.042, allocations: 15.12 kB / 1.024 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of SimCode: time 2.8e-07/1.042, allocations: 0 / 1.024 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02028/1.063, allocations: 1.452 MB / 1.026 GB, free: 10.4 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002197/1.063, allocations: 204.7 kB / 1.026 GB, free: 10.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.582/2.645, allocations: 2.031 kB / 1.026 GB, free: 10.2 MB / 0.6511 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)