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.522/1.522, allocations: 249.3 MB / 261.8 MB, free: 5.895 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.001166/0.001166, allocations: 174.6 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.537/1.537, allocations: 205.2 MB / 0.572 GB, free: 10.65 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.001042/0.001043, allocations: 101.8 kB / 0.6764 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.903e-05/3.913e-05, allocations: 0 / 0.788 GB, free: 96.98 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2744/0.2744, allocations: 106.3 MB / 0.8919 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.83/1.104, allocations: 132.5 MB / 1.021 GB, free: 2.18 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002574/1.105, allocations: 79.88 kB / 1.021 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01341/1.118, allocations: 4.509 MB / 1.026 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.784e-06/1.118, allocations: 0 / 1.026 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.524e-06/1.118, allocations: 0 / 1.026 GB, free: 14.35 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004023/1.119, allocations: 350.4 kB / 1.026 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.459e-05/1.119, allocations: 8.031 kB / 1.026 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.856e-05/1.119, allocations: 34.56 kB / 1.026 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.886e-05/1.119, allocations: 4 kB / 1.026 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/1.119, allocations: 170.9 kB / 1.026 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/1.119, allocations: 7.562 kB / 1.026 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.593e-05/1.119, allocations: 11.83 kB / 1.026 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/1.119, allocations: 44.33 kB / 1.026 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/1.119, allocations: 3.984 kB / 1.026 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/1.119, allocations: 0 / 1.026 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/1.119, allocations: 4 kB / 1.026 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.525e-05/1.119, allocations: 15.62 kB / 1.026 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001948/1.12, allocations: 168.6 kB / 1.027 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001156/1.12, allocations: 65.5 kB / 1.027 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.375e-05/1.12, allocations: 23.48 kB / 1.027 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.309e-05/1.12, allocations: 0 / 1.027 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/1.12, allocations: 34.56 kB / 1.027 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 8.11e-07/1.12, allocations: 4 kB / 1.027 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11): time 0.001029/1.121, allocations: 0.5536 MB / 1.027 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.205e-05/1.121, allocations: 59.39 kB / 1.027 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.66e-05/1.121, allocations: 88.31 kB / 1.027 GB, free: 12.53 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/1.121, allocations: 29.7 kB / 1.027 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.93e-05/1.121, allocations: 88.22 kB / 1.027 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.366e-05/1.121, allocations: 45.83 kB / 1.028 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.081e-06/1.121, allocations: 3.25 kB / 1.028 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001331/1.121, allocations: 314.8 kB / 1.028 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.859e-05/1.121, allocations: 22.94 kB / 1.028 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.596e-05/1.121, allocations: 22.88 kB / 1.028 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.605e-05/1.121, allocations: 27.05 kB / 1.028 GB, free: 12 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/1.121, allocations: 0 / 1.028 GB, free: 12 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001339/1.121, allocations: 90.97 kB / 1.028 GB, free: 11.92 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/1.122, allocations: 8 kB / 1.028 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/1.122, allocations: 7.938 kB / 1.028 GB, free: 11.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/1.122, allocations: 3.984 kB / 1.028 GB, free: 11.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/1.122, allocations: 16 kB / 1.028 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.459e-05/1.122, allocations: 4 kB / 1.028 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.552e-05/1.122, allocations: 3.625 kB / 1.028 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/1.122, allocations: 4 kB / 1.028 GB, free: 11.88 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 7.367e-05/1.122, allocations: 120.4 kB / 1.028 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.426e-05/1.122, allocations: 4 kB / 1.028 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002123/1.122, allocations: 101.3 kB / 1.028 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/1.122, allocations: 4 kB / 1.028 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/1.122, allocations: 0 / 1.028 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/1.122, allocations: 0 / 1.028 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004566/1.123, allocations: 360.4 kB / 1.029 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/1.123, allocations: 0 / 1.029 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001108/1.123, allocations: 19.98 kB / 1.029 GB, free: 11.26 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/1.123, allocations: 0 / 1.029 GB, free: 11.26 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/1.123, allocations: 4 kB / 1.029 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/1.123, allocations: 4 kB / 1.029 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/1.123, allocations: 0 / 1.029 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002454/1.123, allocations: 221.3 kB / 1.029 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.523e-05/1.123, allocations: 77.11 kB / 1.029 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/1.123, allocations: 7.844 kB / 1.029 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.791e-05/1.123, allocations: 3.984 kB / 1.029 GB, free: 10.94 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.989e-05/1.123, allocations: 7.938 kB / 1.029 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/1.123, allocations: 7.438 kB / 1.029 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 3.532e-05/1.123, allocations: 79.34 kB / 1.029 GB, free: 10.85 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.2e-07/1.123, allocations: 0 / 1.029 GB, free: 10.85 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003187/1.124, allocations: 51.62 kB / 1.029 GB, free: 10.8 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.0006324/1.124, allocations: 0.7893 MB / 1.03 GB, free: 10.01 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001427/1.124, allocations: 60.91 kB / 1.03 GB, free: 9.965 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/1.124, allocations: 0 / 1.03 GB, free: 9.965 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.829e-05/1.124, allocations: 30.56 kB / 1.03 GB, free: 9.941 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000145/1.125, allocations: 5.578 kB / 1.03 GB, free: 9.941 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006604/1.125, allocations: 288.5 kB / 1.03 GB, free: 9.641 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002438/1.126, allocations: 0.6887 MB / 1.031 GB, free: 8.926 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.842e-05/1.126, allocations: 15.94 kB / 1.031 GB, free: 8.91 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.492e-05/1.126, allocations: 22.17 kB / 1.031 GB, free: 8.898 MB / 0.6511 GB Notification: Performance of SimCode: time 4.21e-07/1.126, allocations: 0 / 1.031 GB, free: 8.898 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01275/1.138, allocations: 1.773 MB / 1.033 GB, free: 7.305 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002151/1.139, allocations: 198.4 kB / 1.033 GB, free: 7.086 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.703/2.842, allocations: 6.344 kB / 1.033 GB, free: 7.082 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)