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_DerivativeCheck.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_DerivativeCheck,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",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.457/1.457, allocations: 249.3 MB / 261.8 MB, free: 5.871 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.001066/0.001066, allocations: 172.9 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.713/1.713, allocations: 205.2 MB / 0.572 GB, free: 10.69 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.001138/0.001139, allocations: 90.53 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.252e-05/4.279e-05, allocations: 4 kB / 0.788 GB, free: 96.99 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.2416, allocations: 106.3 MB / 0.8919 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8041/1.046, allocations: 132.4 MB / 1.021 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002882/1.046, allocations: 85.75 kB / 1.021 GB, free: 1.934 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01158/1.058, allocations: 3.991 MB / 1.025 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.315e-06/1.058, allocations: 0 / 1.025 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.894e-06/1.058, allocations: 4 kB / 1.025 GB, free: 14.57 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003994/1.058, allocations: 357.7 kB / 1.025 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 7.879e-05/1.058, allocations: 8.031 kB / 1.026 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.174e-05/1.058, allocations: 33.81 kB / 1.026 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.445e-05/1.058, allocations: 7.953 kB / 1.026 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/1.059, allocations: 159.1 kB / 1.026 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/1.059, allocations: 0 / 1.026 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.933e-05/1.059, allocations: 4 kB / 1.026 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/1.059, allocations: 36.75 kB / 1.026 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/1.059, allocations: 3.984 kB / 1.026 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/1.059, allocations: 8 kB / 1.026 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/1.059, allocations: 0 / 1.026 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.082e-05/1.059, allocations: 10.12 kB / 1.026 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001916/1.059, allocations: 169 kB / 1.026 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001882/1.059, allocations: 37.67 kB / 1.026 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.454e-05/1.059, allocations: 19.67 kB / 1.026 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.437e-05/1.059, allocations: 4 kB / 1.026 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/1.059, allocations: 42.64 kB / 1.026 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=4): time 1.633e-06/1.059, allocations: 0 / 1.026 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6): time 0.0006583/1.06, allocations: 293.6 kB / 1.026 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/1.06, allocations: 55.41 kB / 1.026 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.325e-05/1.06, allocations: 88.38 kB / 1.026 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.463e-05/1.06, allocations: 29.7 kB / 1.026 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.084e-05/1.06, allocations: 88.12 kB / 1.027 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.03e-05/1.06, allocations: 15.06 kB / 1.027 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.494e-06/1.06, allocations: 4 kB / 1.027 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001318/1.06, allocations: 322.7 kB / 1.027 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.583e-05/1.061, allocations: 11.5 kB / 1.027 GB, free: 12.6 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.865e-05/1.061, allocations: 4 kB / 1.027 GB, free: 12.6 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.377e-05/1.061, allocations: 15.73 kB / 1.027 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/1.061, allocations: 0 / 1.027 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001092/1.061, allocations: 72.25 kB / 1.027 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/1.061, allocations: 8 kB / 1.027 GB, free: 12.51 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/1.061, allocations: 0 / 1.027 GB, free: 12.51 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/1.061, allocations: 4 kB / 1.027 GB, free: 12.51 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.187e-05/1.061, allocations: 11.94 kB / 1.027 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/1.061, allocations: 0 / 1.027 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.759e-05/1.061, allocations: 0 / 1.027 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.146e-06/1.061, allocations: 4 kB / 1.027 GB, free: 12.49 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 (7): * Single equations (assignments): 7 * 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.418e-05/1.061, allocations: 116.3 kB / 1.027 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.109e-05/1.061, allocations: 4 kB / 1.027 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001544/1.061, allocations: 72.19 kB / 1.027 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/1.061, allocations: 3.938 kB / 1.027 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/1.061, allocations: 0 / 1.027 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/1.061, allocations: 0 / 1.027 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000356/1.062, allocations: 313.7 kB / 1.027 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/1.062, allocations: 384 / 1.027 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.091e-05/1.062, allocations: 15.62 kB / 1.028 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/1.062, allocations: 4 kB / 1.028 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/1.062, allocations: 192 / 1.028 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/1.062, allocations: 8.031 kB / 1.028 GB, free: 11.92 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/1.062, allocations: 0 / 1.028 GB, free: 11.92 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000204/1.062, allocations: 196.5 kB / 1.028 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.193e-05/1.062, allocations: 81.14 kB / 1.028 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/1.062, allocations: 0 / 1.028 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.153e-05/1.062, allocations: 3.312 kB / 1.028 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.483e-05/1.062, allocations: 16 kB / 1.028 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-06/1.062, allocations: 3.938 kB / 1.028 GB, free: 11.6 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 3.944e-05/1.062, allocations: 79.28 kB / 1.028 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.61e-07/1.062, allocations: 0 / 1.028 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000262/1.062, allocations: 23.62 kB / 1.028 GB, free: 11.5 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0005788/1.063, allocations: 0.8309 MB / 1.029 GB, free: 10.65 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 9.602e-05/1.063, allocations: 34.88 kB / 1.029 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/1.063, allocations: 0 / 1.029 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.972e-05/1.063, allocations: 23.3 kB / 1.029 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001409/1.063, allocations: 7.328 kB / 1.029 GB, free: 10.6 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005113/1.064, allocations: 187.3 kB / 1.029 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000312/1.064, allocations: 0.6809 MB / 1.03 GB, free: 9.684 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.637e-05/1.064, allocations: 7.984 kB / 1.03 GB, free: 9.676 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.404e-05/1.064, allocations: 19 kB / 1.03 GB, free: 9.664 MB / 0.6511 GB Notification: Performance of SimCode: time 2.4e-07/1.064, allocations: 0 / 1.03 GB, free: 9.664 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01294/1.077, allocations: 1.349 MB / 1.031 GB, free: 8.496 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001884/1.077, allocations: 204.6 kB / 1.031 GB, free: 8.27 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.624/2.702, allocations: 0 / 1.031 GB, free: 8.27 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)