Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="Buildings_8_0_0_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_8_0_0_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.0/package.mo): time 2.542/2.542, allocations: 284.9 MB / 292.4 MB, free: 10.59 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.001514/0.001514, allocations: 172.8 kB / 360.6 MB, free: 7.293 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.137/2.137, allocations: 205.3 MB / 0.6191 GB, free: 12.2 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.001098/0.001097, allocations: 85.22 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.386e-05/3.397e-05, allocations: 4 kB / 0.8509 GB, free: 3.336 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8038/0.8039, allocations: 115.3 MB / 0.9634 GB, free: 78.6 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2331/1.037, allocations: 137.9 MB / 1.098 GB, free: 2.578 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003536/1.038, allocations: 76.45 kB / 1.098 GB, free: 2.504 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02095/1.058, allocations: 3.989 MB / 1.102 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.403e-06/1.059, allocations: 0 / 1.102 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.125e-06/1.059, allocations: 0.5 kB / 1.102 GB, free: 14.58 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.0004362/1.059, allocations: 339.1 kB / 1.102 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/1.059, allocations: 12.7 kB / 1.102 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.738e-05/1.059, allocations: 4 kB / 1.102 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/1.059, allocations: 171.6 kB / 1.103 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/1.059, allocations: 0 / 1.103 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.763e-05/1.059, allocations: 5 kB / 1.103 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.739e-05/1.059, allocations: 4 kB / 1.103 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.894e-05/1.06, allocations: 42.41 kB / 1.103 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.148e-06/1.06, allocations: 0 / 1.103 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/1.06, allocations: 0.6875 kB / 1.103 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/1.06, allocations: 0 / 1.103 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002008/1.06, allocations: 143.9 kB / 1.103 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002372/1.06, allocations: 38.52 kB / 1.103 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.966e-05/1.06, allocations: 22.17 kB / 1.103 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/1.06, allocations: 0 / 1.103 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.439e-05/1.06, allocations: 31.53 kB / 1.103 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 3.847e-06/1.06, allocations: 1 kB / 1.103 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0007204/1.061, allocations: 282.9 kB / 1.103 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/1.061, allocations: 51.41 kB / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.409e-05/1.061, allocations: 89.92 kB / 1.103 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.834e-05/1.061, allocations: 26.61 kB / 1.103 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.93e-05/1.061, allocations: 84.12 kB / 1.103 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.013e-05/1.061, allocations: 26.94 kB / 1.103 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-06/1.061, allocations: 0 / 1.103 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001401/1.061, allocations: 318.8 kB / 1.104 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.244e-05/1.062, allocations: 4.75 kB / 1.104 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.813e-05/1.062, allocations: 12 kB / 1.104 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.507e-05/1.062, allocations: 13.94 kB / 1.104 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/1.062, allocations: 4 kB / 1.104 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001614/1.062, allocations: 62.7 kB / 1.104 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/1.062, allocations: 4 kB / 1.104 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/1.062, allocations: 0 / 1.104 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/1.062, allocations: 6.438 kB / 1.104 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/1.062, allocations: 15.28 kB / 1.104 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/1.062, allocations: 0 / 1.104 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.852e-05/1.062, allocations: 0 / 1.104 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/1.062, allocations: 1.625 kB / 1.104 GB, free: 12.58 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 9.895e-05/1.062, allocations: 120.7 kB / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001269/1.062, allocations: 57.53 kB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.098e-05/1.062, allocations: 4 kB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001875/1.063, allocations: 66.08 kB / 1.104 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/1.063, allocations: 0 / 1.104 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/1.063, allocations: 0 / 1.104 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/1.063, allocations: 0 / 1.104 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004018/1.063, allocations: 290.9 kB / 1.104 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/1.063, allocations: 32 / 1.104 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001225/1.063, allocations: 15.98 kB / 1.104 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.908e-06/1.063, allocations: 4 kB / 1.104 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-06/1.063, allocations: 0 / 1.104 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/1.063, allocations: 0 / 1.104 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/1.063, allocations: 0 / 1.104 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000267/1.064, allocations: 192.9 kB / 1.104 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.316e-05/1.064, allocations: 89.19 kB / 1.105 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/1.064, allocations: 3.938 kB / 1.105 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/1.064, allocations: 0 / 1.105 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.867e-05/1.064, allocations: 7.953 kB / 1.105 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/1.064, allocations: 4 kB / 1.105 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.733e-05/1.064, allocations: 83.27 kB / 1.105 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.11e-07/1.064, allocations: 0 / 1.105 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00037/1.064, allocations: 24 kB / 1.105 GB, free: 11.53 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.0007601/1.065, allocations: 0.8179 MB / 1.105 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001664/1.065, allocations: 24 kB / 1.105 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/1.065, allocations: 0 / 1.105 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.401e-05/1.065, allocations: 18.84 kB / 1.106 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002005/1.066, allocations: 12.08 kB / 1.106 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006667/1.066, allocations: 191 kB / 1.106 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003054/1.067, allocations: 0.6807 MB / 1.106 GB, free: 9.699 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.936e-05/1.067, allocations: 8 kB / 1.106 GB, free: 9.691 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.756e-05/1.067, allocations: 11.44 kB / 1.106 GB, free: 9.68 MB / 0.7136 GB Notification: Performance of SimCode: time 1.222e-06/1.067, allocations: 0 / 1.106 GB, free: 9.68 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0382/1.105, allocations: 1.03 MB / 1.107 GB, free: 8.695 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003493/1.105, allocations: 188.4 kB / 1.108 GB, free: 8.5 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.244/3.349, allocations: 1.094 kB / 1.108 GB, free: 8.5 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 Buildings_8_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)