Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.78/1.78, allocations: 285.4 MB / 298 MB, free: 5.945 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001225/0.001226, allocations: 172.9 kB / 366.4 MB, free: 2.051 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.658/1.658, allocations: 205.1 MB / 0.6248 GB, free: 7.691 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008372/0.0008371, allocations: 92.05 kB / 0.738 GB, free: 40.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.398e-05/4.402e-05, allocations: 4 kB / 0.8584 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8103/0.8104, allocations: 115.3 MB / 0.971 GB, free: 77.84 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2146/1.025, allocations: 138.7 MB / 1.106 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002874/1.025, allocations: 75.95 kB / 1.107 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01179/1.037, allocations: 4.01 MB / 1.11 GB, free: 8.992 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.162e-06/1.037, allocations: 0 / 1.11 GB, free: 8.992 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.487e-06/1.037, allocations: 0.8125 kB / 1.11 GB, free: 8.992 MB / 0.7136 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.0003801/1.038, allocations: 343 kB / 1.111 GB, free: 8.613 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.464e-05/1.038, allocations: 9.219 kB / 1.111 GB, free: 8.605 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.215e-05/1.038, allocations: 30.56 kB / 1.111 GB, free: 8.566 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.198e-05/1.038, allocations: 4 kB / 1.111 GB, free: 8.562 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002079/1.038, allocations: 171.8 kB / 1.111 GB, free: 8.355 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/1.038, allocations: 0 / 1.111 GB, free: 8.355 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.663e-05/1.038, allocations: 7.156 kB / 1.111 GB, free: 8.352 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/1.038, allocations: 41.64 kB / 1.111 GB, free: 8.305 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/1.038, allocations: 3.984 kB / 1.111 GB, free: 8.301 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/1.038, allocations: 0 / 1.111 GB, free: 8.301 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/1.038, allocations: 0 / 1.111 GB, free: 8.301 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.319e-05/1.038, allocations: 15.98 kB / 1.111 GB, free: 8.285 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002186/1.039, allocations: 161.6 kB / 1.111 GB, free: 8.078 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002049/1.039, allocations: 41.39 kB / 1.111 GB, free: 8.031 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.029e-05/1.039, allocations: 24.88 kB / 1.111 GB, free: 8.004 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.622e-05/1.039, allocations: 4 kB / 1.111 GB, free: 8 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/1.039, allocations: 31.22 kB / 1.111 GB, free: 7.961 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.293e-06/1.039, allocations: 3.938 kB / 1.111 GB, free: 7.957 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0007041/1.04, allocations: 292.1 kB / 1.112 GB, free: 7.625 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.886e-05/1.04, allocations: 58.34 kB / 1.112 GB, free: 7.559 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.658e-05/1.04, allocations: 92.98 kB / 1.112 GB, free: 7.461 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/1.04, allocations: 29.7 kB / 1.112 GB, free: 7.426 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.119e-05/1.04, allocations: 80.14 kB / 1.112 GB, free: 7.344 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.49e-05/1.04, allocations: 23.66 kB / 1.112 GB, free: 7.32 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.506e-06/1.04, allocations: 0 / 1.112 GB, free: 7.32 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001465/1.04, allocations: 323 kB / 1.112 GB, free: 7 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.688e-05/1.04, allocations: 12 kB / 1.112 GB, free: 6.988 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.075e-05/1.04, allocations: 12 kB / 1.112 GB, free: 6.977 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.088e-05/1.04, allocations: 7.984 kB / 1.112 GB, free: 6.969 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/1.04, allocations: 1.781 kB / 1.112 GB, free: 6.969 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001011/1.04, allocations: 68.28 kB / 1.112 GB, free: 6.898 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/1.04, allocations: 8 kB / 1.112 GB, free: 6.891 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/1.04, allocations: 0 / 1.112 GB, free: 6.891 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/1.04, allocations: 0 / 1.112 GB, free: 6.891 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.188e-05/1.04, allocations: 14.98 kB / 1.112 GB, free: 6.879 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/1.04, allocations: 0 / 1.112 GB, free: 6.879 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.865e-05/1.04, allocations: 4 kB / 1.112 GB, free: 6.875 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/1.041, allocations: 4 kB / 1.112 GB, free: 6.871 MB / 0.7136 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.389e-05/1.041, allocations: 104.9 kB / 1.112 GB, free: 6.762 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.273e-05/1.041, allocations: 7.906 kB / 1.112 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001564/1.041, allocations: 73.72 kB / 1.112 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/1.041, allocations: 3.984 kB / 1.112 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/1.041, allocations: 4 kB / 1.112 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/1.041, allocations: 2.906 kB / 1.112 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003535/1.041, allocations: 311.4 kB / 1.113 GB, free: 6.297 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/1.041, allocations: 0 / 1.113 GB, free: 6.297 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.134e-05/1.041, allocations: 14.19 kB / 1.113 GB, free: 6.285 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/1.041, allocations: 384 / 1.113 GB, free: 6.285 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.804e-06/1.041, allocations: 0 / 1.113 GB, free: 6.285 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/1.041, allocations: 8.016 kB / 1.113 GB, free: 6.277 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/1.041, allocations: 4 kB / 1.113 GB, free: 6.273 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001996/1.041, allocations: 186 kB / 1.113 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.7e-05/1.042, allocations: 89.03 kB / 1.113 GB, free: 5.961 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.358e-05/1.042, allocations: 11.92 kB / 1.113 GB, free: 5.949 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.875e-05/1.042, allocations: 0 / 1.113 GB, free: 5.949 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.189e-05/1.042, allocations: 8.062 kB / 1.113 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/1.042, allocations: 7.953 kB / 1.113 GB, free: 5.934 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.717e-05/1.042, allocations: 75.28 kB / 1.113 GB, free: 5.859 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.41e-07/1.042, allocations: 0 / 1.113 GB, free: 5.859 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002481/1.042, allocations: 31.98 kB / 1.113 GB, free: 5.828 MB / 0.7136 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.0007322/1.043, allocations: 0.8168 MB / 1.114 GB, free: 4.98 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001268/1.043, allocations: 35.98 kB / 1.114 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/1.043, allocations: 0 / 1.114 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.103e-05/1.043, allocations: 19.94 kB / 1.114 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001562/1.043, allocations: 3.953 kB / 1.114 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005664/1.044, allocations: 196.1 kB / 1.114 GB, free: 4.695 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002767/1.044, allocations: 0.6848 MB / 1.115 GB, free: 3.984 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.5e-05/1.044, allocations: 7.188 kB / 1.115 GB, free: 3.98 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.628e-05/1.044, allocations: 11.44 kB / 1.115 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/1.044, allocations: 0 / 1.115 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01597/1.06, allocations: 1.367 MB / 1.116 GB, free: 2.82 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004004/1.061, allocations: 199 kB / 1.116 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.59/2.65, allocations: 2.5 kB / 1.116 GB, free: 2.598 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)