Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.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_DerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_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/Complex 4.0.0+maint.om/package.mo): time 0.00168/0.00168, allocations: 182.5 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.5781/0.5781, allocations: 91.97 MB / 108.5 MB, free: 13.08 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.716/1.716, allocations: 223.2 MB / 354.3 MB, free: 12.16 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.0009168/0.0009166, allocations: 92.22 kB / 427.4 MB, free: 3.934 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004303/0.0004305, allocations: 8 kB / 0.4983 GB, free: 42.18 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2039/0.2043, allocations: 72.31 MB / 0.5689 GB, free: 1.809 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6344/0.8388, allocations: 102.3 MB / 0.6689 GB, free: 2.039 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002799/0.8392, allocations: 79.95 kB / 0.6689 GB, free: 1.961 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01309/0.8523, allocations: 4.063 MB / 0.6729 GB, free: 13.91 MB / 474.7 MB Notification: Performance of FrontEnd: time 7.214e-06/0.8524, allocations: 3.984 kB / 0.6729 GB, free: 13.91 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.181e-05/0.8524, allocations: 0 / 0.6729 GB, free: 13.91 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005911/0.853, allocations: 355.8 kB / 0.6733 GB, free: 13.52 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.695e-05/0.8531, allocations: 8.031 kB / 0.6733 GB, free: 13.51 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.572e-05/0.8531, allocations: 38.5 kB / 0.6733 GB, free: 13.46 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.246e-05/0.8532, allocations: 0 / 0.6733 GB, free: 13.46 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002008/0.8534, allocations: 174.9 kB / 0.6735 GB, free: 13.25 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/0.8534, allocations: 8 kB / 0.6735 GB, free: 13.24 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.698e-05/0.8535, allocations: 0 / 0.6735 GB, free: 13.24 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000168/0.8537, allocations: 45.62 kB / 0.6735 GB, free: 13.19 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.8537, allocations: 0 / 0.6735 GB, free: 13.19 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.8537, allocations: 3.953 kB / 0.6735 GB, free: 13.19 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.8537, allocations: 0 / 0.6735 GB, free: 13.19 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.153e-05/0.8538, allocations: 11.98 kB / 0.6735 GB, free: 13.18 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003072/0.8541, allocations: 161.7 kB / 0.6737 GB, free: 12.97 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002448/0.8544, allocations: 42.61 kB / 0.6737 GB, free: 12.92 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.116e-05/0.8544, allocations: 3.938 kB / 0.6737 GB, free: 12.91 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.95e-05/0.8544, allocations: 34.56 kB / 0.6738 GB, free: 12.87 MB / 474.7 MB Notification: Performance of pre-optimization done (n=4): time 2.064e-06/0.8545, allocations: 0 / 0.6738 GB, free: 12.87 MB / 474.7 MB Notification: Performance of matching and sorting (n=6): time 0.0009366/0.8554, allocations: 310.9 kB / 0.6741 GB, free: 12.52 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.083e-05/0.8555, allocations: 55.41 kB / 0.6741 GB, free: 12.45 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.8556, allocations: 93 kB / 0.6742 GB, free: 12.35 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.8556, allocations: 25.7 kB / 0.6742 GB, free: 12.32 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.606e-05/0.8557, allocations: 80.14 kB / 0.6743 GB, free: 12.24 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.387e-05/0.8557, allocations: 23.73 kB / 0.6743 GB, free: 12.21 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-06/0.8558, allocations: 0 / 0.6743 GB, free: 12.21 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.8559, allocations: 310.8 kB / 0.6746 GB, free: 11.9 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.172e-05/0.856, allocations: 12 kB / 0.6746 GB, free: 11.89 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.868e-05/0.856, allocations: 19.97 kB / 0.6747 GB, free: 11.87 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.518e-05/0.8561, allocations: 12 kB / 0.6747 GB, free: 11.86 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.8561, allocations: 0 / 0.6747 GB, free: 11.86 MB / 474.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001593/0.8562, allocations: 77.52 kB / 0.6747 GB, free: 11.78 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.8563, allocations: 4 kB / 0.6747 GB, free: 11.77 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.8563, allocations: 0 / 0.6747 GB, free: 11.77 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.8563, allocations: 4 kB / 0.6747 GB, free: 11.77 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.744e-05/0.8564, allocations: 8 kB / 0.6748 GB, free: 11.76 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.396e-05/0.8564, allocations: 3.953 kB / 0.6748 GB, free: 11.76 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.165e-05/0.8564, allocations: 0 / 0.6748 GB, free: 11.76 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.469e-05/0.8564, allocations: 7.984 kB / 0.6748 GB, free: 11.75 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 (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 0.0001193/0.8566, allocations: 113.8 kB / 0.6749 GB, free: 11.63 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.549e-05/0.8566, allocations: 7.938 kB / 0.6749 GB, free: 11.62 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001992/0.8568, allocations: 69.59 kB / 0.675 GB, free: 11.54 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.8568, allocations: 0 / 0.675 GB, free: 11.54 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.8568, allocations: 0 / 0.675 GB, free: 11.54 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.249e-05/0.8568, allocations: 7.938 kB / 0.675 GB, free: 11.54 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004808/0.8573, allocations: 307.4 kB / 0.6753 GB, free: 11.18 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.8573, allocations: 8.031 kB / 0.6753 GB, free: 11.17 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.573e-05/0.8574, allocations: 8.188 kB / 0.6753 GB, free: 11.16 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.203e-06/0.8574, allocations: 7.938 kB / 0.6753 GB, free: 11.15 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.659e-05/0.8575, allocations: 8 kB / 0.6753 GB, free: 11.14 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.903e-06/0.8575, allocations: 3.953 kB / 0.6753 GB, free: 11.14 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.8575, allocations: 0 / 0.6753 GB, free: 11.14 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002885/0.8578, allocations: 194 kB / 0.6755 GB, free: 10.93 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.609e-05/0.8579, allocations: 85.12 kB / 0.6756 GB, free: 10.82 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.507e-05/0.8579, allocations: 3.953 kB / 0.6756 GB, free: 10.82 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.035e-05/0.858, allocations: 4 kB / 0.6756 GB, free: 10.82 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.831e-05/0.858, allocations: 4 kB / 0.6756 GB, free: 10.81 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.858, allocations: 4.516 kB / 0.6756 GB, free: 10.81 MB / 474.7 MB Notification: Performance of sorting global known variables: time 5.657e-05/0.8581, allocations: 79.27 kB / 0.6756 GB, free: 10.73 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.8581, allocations: 0 / 0.6756 GB, free: 10.73 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002966/0.8584, allocations: 28 kB / 0.6757 GB, free: 10.7 MB / 474.7 MB 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 () * Number of clocked 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.0008699/0.8593, allocations: 0.8266 MB / 0.6765 GB, free: 9.844 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001352/0.8594, allocations: 31.98 kB / 0.6765 GB, free: 9.812 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.8594, allocations: 0 / 0.6765 GB, free: 9.812 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 3.345e-05/0.8595, allocations: 24 kB / 0.6765 GB, free: 9.789 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001739/0.8597, allocations: 2.75 kB / 0.6765 GB, free: 9.789 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/0.8608, allocations: 0.4886 MB / 0.677 GB, free: 9.25 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003685/0.8612, allocations: 0.6809 MB / 0.6777 GB, free: 8.543 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 4.12e-05/0.8612, allocations: 8.391 kB / 0.6777 GB, free: 8.535 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.272e-05/0.8613, allocations: 11.44 kB / 0.6777 GB, free: 8.527 MB / 474.7 MB Notification: Performance of SimCode: time 7.52e-07/0.8613, allocations: 8.062 kB / 0.6777 GB, free: 8.52 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01578/0.8771, allocations: 1.338 MB / 0.679 GB, free: 7.363 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002426/0.8773, allocations: 211.8 kB / 0.6792 GB, free: 7.125 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.78/2.657, allocations: 1.547 kB / 0.6792 GB, free: 7.125 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)