Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="IBPSA_latest_IBPSA_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/Complex 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 178.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5033/0.5033, allocations: 90.81 MB / 104.5 MB, free: 9.789 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 221.3 MB / 348.3 MB, free: 460 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008933/0.0008934, allocations: 102.6 kB / 421.2 MB, free: 5.504 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 4.587e-05/4.611e-05, allocations: 0 / 0.4897 GB, free: 5.266 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4186/0.4187, allocations: 72.3 MB / 0.5603 GB, free: 40.44 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.123/0.5417, allocations: 102.4 MB / 0.6603 GB, free: 1.906 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002004/0.542, allocations: 79.94 kB / 0.6604 GB, free: 1.828 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01352/0.5555, allocations: 4.569 MB / 0.6649 GB, free: 13.27 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.5555, allocations: 0 / 0.6649 GB, free: 13.27 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.5556, allocations: 0.8438 kB / 0.6649 GB, free: 13.27 MB / 490.7 MB 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.0003901/0.556, allocations: 354.3 kB / 0.6652 GB, free: 12.88 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.556, allocations: 11.98 kB / 0.6652 GB, free: 12.87 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.711e-05/0.5561, allocations: 34.52 kB / 0.6653 GB, free: 12.83 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.834e-05/0.5561, allocations: 4 kB / 0.6653 GB, free: 12.82 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.5563, allocations: 167 kB / 0.6654 GB, free: 12.62 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.5563, allocations: 4 kB / 0.6654 GB, free: 12.62 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.371e-05/0.5563, allocations: 8 kB / 0.6654 GB, free: 12.61 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.5564, allocations: 49.67 kB / 0.6655 GB, free: 12.55 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.5565, allocations: 1.312 kB / 0.6655 GB, free: 12.55 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.5565, allocations: 8 kB / 0.6655 GB, free: 12.55 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.5565, allocations: 3.953 kB / 0.6655 GB, free: 12.54 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.492e-05/0.5566, allocations: 15.94 kB / 0.6655 GB, free: 12.53 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002131/0.5568, allocations: 173.5 kB / 0.6657 GB, free: 12.31 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000112/0.5569, allocations: 58.58 kB / 0.6657 GB, free: 12.24 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.965e-05/0.557, allocations: 28.84 kB / 0.6658 GB, free: 12.21 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.557, allocations: 4 kB / 0.6658 GB, free: 12.21 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/0.557, allocations: 30.56 kB / 0.6658 GB, free: 12.17 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 3.556e-06/0.557, allocations: 0 / 0.6658 GB, free: 12.17 MB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.001033/0.5581, allocations: 0.5658 MB / 0.6663 GB, free: 11.52 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.544e-05/0.5581, allocations: 55.41 kB / 0.6664 GB, free: 11.45 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.481e-05/0.5582, allocations: 89 kB / 0.6665 GB, free: 11.36 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.5582, allocations: 29.7 kB / 0.6665 GB, free: 11.32 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.362e-05/0.5583, allocations: 80.14 kB / 0.6666 GB, free: 11.24 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.753e-05/0.5583, allocations: 39.39 kB / 0.6666 GB, free: 11.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.68e-06/0.5583, allocations: 4 kB / 0.6666 GB, free: 11.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.5584, allocations: 315 kB / 0.6669 GB, free: 10.88 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.165e-05/0.5585, allocations: 31.98 kB / 0.667 GB, free: 10.85 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.267e-05/0.5585, allocations: 17.88 kB / 0.667 GB, free: 10.83 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.673e-05/0.5586, allocations: 24 kB / 0.667 GB, free: 10.81 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.5586, allocations: 0 / 0.667 GB, free: 10.81 MB / 490.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001381/0.5587, allocations: 95.08 kB / 0.6671 GB, free: 10.71 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.5588, allocations: 8 kB / 0.6671 GB, free: 10.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.5588, allocations: 0 / 0.6671 GB, free: 10.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.5588, allocations: 3.938 kB / 0.6671 GB, free: 10.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.5589, allocations: 31.88 kB / 0.6671 GB, free: 10.67 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.5589, allocations: 2.5 kB / 0.6671 GB, free: 10.67 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.344e-05/0.559, allocations: 4 kB / 0.6671 GB, free: 10.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.559, allocations: 4 kB / 0.6671 GB, free: 10.66 MB / 490.7 MB 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.079e-05/0.559, allocations: 105 kB / 0.6672 GB, free: 10.55 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.306e-05/0.5591, allocations: 4 kB / 0.6672 GB, free: 10.55 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001948/0.5593, allocations: 103.5 kB / 0.6673 GB, free: 10.44 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.5593, allocations: 0 / 0.6673 GB, free: 10.44 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.5593, allocations: 3.953 kB / 0.6673 GB, free: 10.44 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.5593, allocations: 3.984 kB / 0.6673 GB, free: 10.43 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004248/0.5597, allocations: 354.5 kB / 0.6677 GB, free: 10.03 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.5597, allocations: 0 / 0.6677 GB, free: 10.03 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.5599, allocations: 19.94 kB / 0.6677 GB, free: 10.01 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.5599, allocations: 4 kB / 0.6677 GB, free: 10.01 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.5599, allocations: 3.953 kB / 0.6677 GB, free: 10 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.5599, allocations: 0 / 0.6677 GB, free: 10 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.5599, allocations: 0 / 0.6677 GB, free: 10 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002504/0.5602, allocations: 215.4 kB / 0.6679 GB, free: 9.777 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.398e-05/0.5602, allocations: 93.03 kB / 0.668 GB, free: 9.668 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.685e-05/0.5602, allocations: 3.984 kB / 0.668 GB, free: 9.664 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.764e-05/0.5603, allocations: 3.953 kB / 0.668 GB, free: 9.66 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.075e-05/0.5603, allocations: 8.969 kB / 0.668 GB, free: 9.652 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.5604, allocations: 11.98 kB / 0.668 GB, free: 9.641 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.778e-05/0.5604, allocations: 79.28 kB / 0.6681 GB, free: 9.562 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5604, allocations: 0 / 0.6681 GB, free: 9.562 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002825/0.5607, allocations: 43.94 kB / 0.6681 GB, free: 9.52 MB / 490.7 MB 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.000568/0.5613, allocations: 0.7885 MB / 0.6689 GB, free: 8.703 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001378/0.5614, allocations: 52 kB / 0.669 GB, free: 8.652 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.5614, allocations: 0 / 0.669 GB, free: 8.652 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.871e-05/0.5615, allocations: 35.94 kB / 0.669 GB, free: 8.617 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001328/0.5616, allocations: 7.938 kB / 0.669 GB, free: 8.609 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005618/0.5622, allocations: 291.1 kB / 0.6693 GB, free: 8.289 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002143/0.5624, allocations: 0.6903 MB / 0.67 GB, free: 7.574 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.819e-05/0.5625, allocations: 19.58 kB / 0.67 GB, free: 7.559 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.969e-05/0.5625, allocations: 19.44 kB / 0.67 GB, free: 7.539 MB / 490.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5625, allocations: 0 / 0.67 GB, free: 7.539 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01162/0.5742, allocations: 1.76 MB / 0.6717 GB, free: 6.004 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001896/0.5744, allocations: 183.7 kB / 0.6719 GB, free: 5.785 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.525/2.099, allocations: 0 / 0.6719 GB, free: 5.785 MB / 490.7 MB (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)