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.002579/0.002579, allocations: 181 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6426/0.6426, allocations: 91.98 MB / 108.5 MB, free: 13.11 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.765/1.765, allocations: 223.2 MB / 354.3 MB, free: 12.22 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001096, allocations: 104.2 kB / 427.4 MB, free: 3.984 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003726/0.0003726, allocations: 8 kB / 0.4983 GB, free: 42.25 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.1844, allocations: 72.31 MB / 0.5689 GB, free: 1.867 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.651/0.8355, allocations: 102.5 MB / 0.669 GB, free: 1.883 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002546/0.8358, allocations: 75.95 kB / 0.6691 GB, free: 1.809 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01399/0.8498, allocations: 4.567 MB / 0.6735 GB, free: 13.25 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.8499, allocations: 0 / 0.6735 GB, free: 13.25 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.669e-06/0.8499, allocations: 0 / 0.6735 GB, free: 13.25 MB / 474.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.0004609/0.8504, allocations: 355.8 kB / 0.6739 GB, free: 12.86 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.61e-05/0.8505, allocations: 12.03 kB / 0.6739 GB, free: 12.85 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.529e-05/0.8505, allocations: 42.5 kB / 0.6739 GB, free: 12.8 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.478e-05/0.8506, allocations: 4 kB / 0.6739 GB, free: 12.79 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001531/0.8507, allocations: 163 kB / 0.6741 GB, free: 12.59 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.8507, allocations: 4 kB / 0.6741 GB, free: 12.59 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.727e-05/0.8508, allocations: 4 kB / 0.6741 GB, free: 12.59 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.8509, allocations: 49.69 kB / 0.6741 GB, free: 12.53 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.8509, allocations: 0 / 0.6741 GB, free: 12.53 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.851, allocations: 0 / 0.6741 GB, free: 12.53 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.851, allocations: 3.953 kB / 0.6742 GB, free: 12.53 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.969e-05/0.851, allocations: 27.91 kB / 0.6742 GB, free: 12.5 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002243/0.8513, allocations: 177.5 kB / 0.6743 GB, free: 12.28 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001183/0.8514, allocations: 54.56 kB / 0.6744 GB, free: 12.21 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.73e-05/0.8514, allocations: 0 / 0.6744 GB, free: 12.21 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.8515, allocations: 34.56 kB / 0.6744 GB, free: 12.17 MB / 474.7 MB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.8515, allocations: 0 / 0.6744 GB, free: 12.17 MB / 474.7 MB Notification: Performance of matching and sorting (n=11): time 0.001362/0.8528, allocations: 0.601 MB / 0.675 GB, free: 11.48 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/0.8529, allocations: 51.41 kB / 0.6751 GB, free: 11.42 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.124e-05/0.853, allocations: 89 kB / 0.6752 GB, free: 11.32 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.421e-05/0.853, allocations: 29.7 kB / 0.6752 GB, free: 11.29 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.981e-05/0.8531, allocations: 88.25 kB / 0.6753 GB, free: 11.2 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.191e-05/0.8531, allocations: 31.47 kB / 0.6753 GB, free: 11.17 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.584e-06/0.8532, allocations: 4 kB / 0.6753 GB, free: 11.16 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.8533, allocations: 318.8 kB / 0.6756 GB, free: 10.84 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.736e-05/0.8534, allocations: 23.98 kB / 0.6756 GB, free: 10.82 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.064e-05/0.8534, allocations: 20 kB / 0.6756 GB, free: 10.8 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.749e-05/0.8535, allocations: 24.75 kB / 0.6757 GB, free: 10.78 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.8535, allocations: 0 / 0.6757 GB, free: 10.78 MB / 474.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001719/0.8537, allocations: 96.08 kB / 0.6758 GB, free: 10.68 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.8537, allocations: 12 kB / 0.6758 GB, free: 10.67 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.8537, allocations: 0 / 0.6758 GB, free: 10.67 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.8537, allocations: 3.938 kB / 0.6758 GB, free: 10.66 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.8539, allocations: 27.98 kB / 0.6758 GB, free: 10.64 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.8539, allocations: 3.953 kB / 0.6758 GB, free: 10.63 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.918e-05/0.8539, allocations: 0 / 0.6758 GB, free: 10.63 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.854, allocations: 4 kB / 0.6758 GB, free: 10.63 MB / 474.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 () * Number of clocked 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 0.0001163/0.8541, allocations: 109.8 kB / 0.6759 GB, free: 10.51 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.759e-05/0.8541, allocations: 4 kB / 0.6759 GB, free: 10.51 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002427/0.8544, allocations: 120.2 kB / 0.676 GB, free: 10.38 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.8544, allocations: 4 kB / 0.676 GB, free: 10.38 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.8544, allocations: 0 / 0.676 GB, free: 10.38 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.387e-06/0.8544, allocations: 3.953 kB / 0.676 GB, free: 10.38 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005125/0.8549, allocations: 346.5 kB / 0.6764 GB, free: 9.98 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.8549, allocations: 3.938 kB / 0.6764 GB, free: 9.977 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001211/0.8551, allocations: 20 kB / 0.6764 GB, free: 9.957 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.032e-06/0.8551, allocations: 0 / 0.6764 GB, free: 9.957 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2e-05/0.8551, allocations: 11.98 kB / 0.6764 GB, free: 9.945 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.201e-06/0.8551, allocations: 11.95 kB / 0.6764 GB, free: 9.934 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.8551, allocations: 0 / 0.6764 GB, free: 9.934 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003151/0.8555, allocations: 203.6 kB / 0.6766 GB, free: 9.719 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.335e-05/0.8555, allocations: 84.95 kB / 0.6767 GB, free: 9.617 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.152e-05/0.8556, allocations: 4.031 kB / 0.6767 GB, free: 9.613 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.36e-05/0.8557, allocations: 3.984 kB / 0.6767 GB, free: 9.609 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.323e-05/0.8557, allocations: 19.83 kB / 0.6767 GB, free: 9.59 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.428e-06/0.8557, allocations: 8.062 kB / 0.6767 GB, free: 9.582 MB / 474.7 MB Notification: Performance of sorting global known variables: time 4.876e-05/0.8558, allocations: 75.28 kB / 0.6768 GB, free: 9.508 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.8558, allocations: 0 / 0.6768 GB, free: 9.508 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003416/0.8561, allocations: 47.92 kB / 0.6768 GB, free: 9.461 MB / 474.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 () * Number of clocked 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.0008021/0.8569, allocations: 0.7833 MB / 0.6776 GB, free: 8.652 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001758/0.8571, allocations: 67.91 kB / 0.6777 GB, free: 8.586 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.8571, allocations: 0 / 0.6777 GB, free: 8.586 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 5.622e-05/0.8572, allocations: 36.47 kB / 0.6777 GB, free: 8.551 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001724/0.8574, allocations: 8.172 kB / 0.6777 GB, free: 8.543 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/0.8586, allocations: 0.6643 MB / 0.6784 GB, free: 7.828 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/0.8589, allocations: 0.6848 MB / 0.679 GB, free: 7.117 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 5.934e-05/0.859, allocations: 15.97 kB / 0.6791 GB, free: 7.102 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.007e-05/0.859, allocations: 15.5 kB / 0.6791 GB, free: 7.09 MB / 474.7 MB Notification: Performance of SimCode: time 2.3e-07/0.859, allocations: 4 kB / 0.6791 GB, free: 7.086 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01592/0.875, allocations: 1.751 MB / 0.6808 GB, free: 5.539 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002384/0.8752, allocations: 230.2 kB / 0.681 GB, free: 5.289 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.736/2.611, allocations: 0 / 0.681 GB, free: 5.289 MB / 474.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)