Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="BuildSysPro_BuildSysPro_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007525/0.0007525, allocations: 86.95 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007889/0.0007889, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 223.2 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9667/0.9667, allocations: 143.4 MB / 434.4 MB, free: 13.81 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002782/0.0002783, allocations: 8 kB / 0.5161 GB, free: 11.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.147, allocations: 83.42 MB / 0.5975 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001425/0.1485, allocations: 0.9978 MB / 0.5985 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009757/0.1495, allocations: 0.5728 MB / 0.5991 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.2e-05/0.1496, allocations: 0 / 0.5991 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.217e-05/0.1496, allocations: 0 / 0.5991 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.935e-05/0.1496, allocations: 3.938 kB / 0.5991 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005255/0.1502, allocations: 123.5 kB / 0.5992 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.782e-05/0.1502, allocations: 27.91 kB / 0.5992 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.051e-05/0.1503, allocations: 0 / 0.5992 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.412e-05/0.1503, allocations: 23.92 kB / 0.5993 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.852e-05/0.1504, allocations: 7.984 kB / 0.5993 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.142e-05/0.1504, allocations: 0 / 0.5993 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004903/0.1509, allocations: 343.3 kB / 0.5996 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.848e-06/0.1509, allocations: 3.938 kB / 0.5996 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.794e-05/0.1509, allocations: 33.64 kB / 0.5996 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001655/0.1511, allocations: 100.1 kB / 0.5997 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1511, allocations: 0 / 0.5997 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1511, allocations: 0 / 0.5997 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.336e-06/0.1511, allocations: 0 / 0.5997 GB, free: 5.52 MB / 0.4981 GB 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.0003627/0.1515, allocations: 371.2 kB / 0.6001 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.1515, allocations: 8.031 kB / 0.6001 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.406e-05/0.1516, allocations: 38.56 kB / 0.6001 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.198e-05/0.1516, allocations: 3.953 kB / 0.6001 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001557/0.1518, allocations: 167 kB / 0.6003 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.1518, allocations: 4 kB / 0.6003 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.889e-05/0.1518, allocations: 4 kB / 0.6003 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/0.1519, allocations: 57.61 kB / 0.6003 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.1519, allocations: 0 / 0.6003 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-06/0.152, allocations: 4 kB / 0.6003 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.152, allocations: 0 / 0.6003 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.833e-05/0.152, allocations: 19.98 kB / 0.6004 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001597/0.1522, allocations: 169.6 kB / 0.6005 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.1523, allocations: 54.56 kB / 0.6006 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.985e-05/0.1524, allocations: 32.78 kB / 0.6006 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.1524, allocations: 7.938 kB / 0.6006 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.1524, allocations: 34.56 kB / 0.6007 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 2.344e-06/0.1524, allocations: 0 / 0.6007 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.001038/0.1535, allocations: 0.5878 MB / 0.6012 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.516e-05/0.1535, allocations: 59.36 kB / 0.6013 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.296e-05/0.1536, allocations: 93.86 kB / 0.6014 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.1536, allocations: 29.7 kB / 0.6014 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.946e-05/0.1536, allocations: 84.12 kB / 0.6015 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.561e-05/0.1537, allocations: 35.41 kB / 0.6015 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.056e-06/0.1537, allocations: 8 kB / 0.6015 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.1538, allocations: 318.8 kB / 0.6018 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.112e-05/0.1539, allocations: 23.98 kB / 0.6018 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.26e-05/0.1539, allocations: 20.12 kB / 0.6019 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.508e-05/0.154, allocations: 24 kB / 0.6019 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.154, allocations: 0 / 0.6019 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001359/0.1541, allocations: 105.5 kB / 0.602 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.1541, allocations: 4 kB / 0.602 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1541, allocations: 0 / 0.602 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.1542, allocations: 0 / 0.602 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.884e-05/0.1543, allocations: 27.98 kB / 0.602 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.1543, allocations: 0 / 0.602 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.342e-05/0.1543, allocations: 3.953 kB / 0.602 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.1543, allocations: 4 kB / 0.602 GB, free: 2.84 MB / 0.4981 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 () * 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 7.183e-05/0.1544, allocations: 121.8 kB / 0.6021 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.011e-05/0.1544, allocations: 0 / 0.6021 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001935/0.1546, allocations: 109.7 kB / 0.6023 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.1546, allocations: 0 / 0.6023 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.1546, allocations: 0 / 0.6023 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1546, allocations: 3.938 kB / 0.6023 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003971/0.155, allocations: 354.5 kB / 0.6026 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.1551, allocations: 4 kB / 0.6026 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.883e-05/0.1552, allocations: 16 kB / 0.6026 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.1552, allocations: 3.984 kB / 0.6026 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.1552, allocations: 4 kB / 0.6026 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1552, allocations: 4 kB / 0.6026 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.1552, allocations: 7.953 kB / 0.6026 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002742/0.1555, allocations: 215.6 kB / 0.6028 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.1556, allocations: 85.05 kB / 0.6029 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.1556, allocations: 4.062 kB / 0.6029 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.205e-05/0.1557, allocations: 3.984 kB / 0.6029 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.049e-05/0.1557, allocations: 11.95 kB / 0.6029 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.256e-06/0.1557, allocations: 4 kB / 0.6029 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.105e-05/0.1558, allocations: 79.27 kB / 0.603 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1558, allocations: 0 / 0.603 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002611/0.156, allocations: 36 kB / 0.6031 GB, free: 1.684 MB / 0.4981 GB 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.0005456/0.1566, allocations: 0.7867 MB / 0.6038 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001248/0.1567, allocations: 51.98 kB / 0.6039 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1567, allocations: 0 / 0.6039 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.712e-05/0.1568, allocations: 35.92 kB / 0.6039 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002219/0.157, allocations: 4 kB / 0.6039 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009142/0.1579, allocations: 0.6571 MB / 0.6045 GB, free: 76 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2593/0.4172, allocations: 0.6846 MB / 0.6052 GB, free: 40.04 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.416e-05/0.4173, allocations: 12.19 kB / 0.6052 GB, free: 40.04 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.348e-05/0.4174, allocations: 18.08 kB / 0.6052 GB, free: 40.03 MB / 0.4981 GB Notification: Performance of SimCode: time 7.21e-07/0.4174, allocations: 0 / 0.6052 GB, free: 40.03 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01094/0.4283, allocations: 1.838 MB / 0.607 GB, free: 39.98 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001507/0.4285, allocations: 242.2 kB / 0.6073 GB, free: 39.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.628/2.056, allocations: 3.906 kB / 0.6073 GB, free: 39.75 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) Environment - environmentSimulation: