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.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.001078/0.001078, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001095/0.001095, allocations: 195.3 kB / 16.14 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.279/1.279, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9423/0.9423, allocations: 143 MB / 433 MB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 59.91 kB / 0.5136 GB, free: 12.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1489, allocations: 82.04 MB / 0.5937 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002203/0.1512, allocations: 1.344 MB / 0.595 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001017/0.1522, allocations: 0.6424 MB / 0.5957 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.531e-05/0.1522, allocations: 0 / 0.5957 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.922e-05/0.1523, allocations: 0 / 0.5957 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.445e-05/0.1523, allocations: 7.922 kB / 0.5957 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004285/0.1527, allocations: 123.5 kB / 0.5958 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.118e-05/0.1528, allocations: 35.91 kB / 0.5958 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.962e-05/0.1528, allocations: 0 / 0.5958 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.7e-05/0.1529, allocations: 11.94 kB / 0.5958 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.275e-05/0.1529, allocations: 15.92 kB / 0.5959 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.204e-05/0.1529, allocations: 0 / 0.5959 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004591/0.1534, allocations: 347.3 kB / 0.5962 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.19e-05/0.1534, allocations: 4 kB / 0.5962 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.508e-05/0.1535, allocations: 15.92 kB / 0.5962 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002436/0.1537, allocations: 155.9 kB / 0.5964 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1537, allocations: 0 / 0.5964 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.02e-07/0.1537, allocations: 4 kB / 0.5964 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.1537, allocations: 4 kB / 0.5964 GB, free: 7.234 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.0003729/0.1541, allocations: 363.4 kB / 0.5967 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.1542, allocations: 12.03 kB / 0.5967 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.388e-05/0.1542, allocations: 34.75 kB / 0.5968 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.568e-05/0.1542, allocations: 4.938 kB / 0.5968 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.889e-05/0.1543, allocations: 164.3 kB / 0.5969 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.1543, allocations: 4.312 kB / 0.5969 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.943e-05/0.1544, allocations: 8.375 kB / 0.5969 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001155/0.1545, allocations: 58.22 kB / 0.597 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.1545, allocations: 3.938 kB / 0.597 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.1545, allocations: 0 / 0.597 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1545, allocations: 3.938 kB / 0.597 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.896e-05/0.1546, allocations: 19.98 kB / 0.597 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001697/0.1548, allocations: 169.6 kB / 0.5972 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/0.1549, allocations: 58.5 kB / 0.5972 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.235e-05/0.1549, allocations: 36.84 kB / 0.5973 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.155, allocations: 0 / 0.5973 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.155, allocations: 34.56 kB / 0.5973 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 8.82e-07/0.155, allocations: 0 / 0.5973 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.001125/0.1561, allocations: 0.584 MB / 0.5979 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.249e-05/0.1562, allocations: 59.34 kB / 0.5979 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.523e-05/0.1562, allocations: 97.84 kB / 0.598 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.1563, allocations: 29.7 kB / 0.598 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.127e-05/0.1563, allocations: 84.14 kB / 0.5981 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.89e-05/0.1563, allocations: 35.41 kB / 0.5982 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.413e-05/0.1564, allocations: 29.7 kB / 0.5982 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.1565, allocations: 315 kB / 0.5985 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.536e-05/0.1566, allocations: 27.98 kB / 0.5985 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.773e-05/0.1566, allocations: 26.73 kB / 0.5985 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.813e-05/0.1567, allocations: 56.8 kB / 0.5986 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.1567, allocations: 0 / 0.5986 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001475/0.1569, allocations: 101.5 kB / 0.5987 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.1569, allocations: 10.19 kB / 0.5987 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.1569, allocations: 3.984 kB / 0.5987 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.1569, allocations: 0 / 0.5987 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.157, allocations: 23.92 kB / 0.5987 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.157, allocations: 4 kB / 0.5987 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.435e-05/0.1571, allocations: 4 kB / 0.5987 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.1571, allocations: 0 / 0.5987 GB, free: 4.488 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.903e-05/0.1571, allocations: 113.8 kB / 0.5988 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.71e-05/0.1572, allocations: 7.938 kB / 0.5988 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001937/0.1574, allocations: 101.6 kB / 0.5989 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/0.1574, allocations: 8 kB / 0.599 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.1574, allocations: 7.922 kB / 0.599 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1574, allocations: 4 kB / 0.599 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003795/0.1578, allocations: 350.4 kB / 0.5993 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.1578, allocations: 0 / 0.5993 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/0.1579, allocations: 23.94 kB / 0.5993 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.808e-06/0.1579, allocations: 3.938 kB / 0.5993 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.1579, allocations: 11.92 kB / 0.5993 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.1579, allocations: 0 / 0.5993 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1579, allocations: 4 kB / 0.5993 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002366/0.1582, allocations: 211.5 kB / 0.5995 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.851e-05/0.1582, allocations: 85.05 kB / 0.5996 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.1583, allocations: 0 / 0.5996 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.683e-05/0.1583, allocations: 7.984 kB / 0.5996 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.739e-05/0.1584, allocations: 4 kB / 0.5996 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.1584, allocations: 4 kB / 0.5996 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.919e-05/0.1584, allocations: 75.28 kB / 0.5997 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.973e-06/0.1584, allocations: 0 / 0.5997 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000265/0.1587, allocations: 52.08 kB / 0.5998 GB, free: 3.324 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005806/0.1593, allocations: 0.7776 MB / 0.6005 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001388/0.1594, allocations: 63.91 kB / 0.6006 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.1595, allocations: 4 kB / 0.6006 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.947e-05/0.1595, allocations: 31.98 kB / 0.6006 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002213/0.1597, allocations: 12.06 kB / 0.6006 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001344/0.1611, allocations: 1.514 MB / 0.6021 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002354/0.1613, allocations: 0.6919 MB / 0.6028 GB, free: 108 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.952e-05/0.1614, allocations: 11.94 kB / 0.6028 GB, free: 96 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.793e-05/0.1614, allocations: 19.42 kB / 0.6028 GB, free: 76 kB / 0.4981 GB Notification: Performance of SimCode: time 3.41e-07/0.1614, allocations: 4 kB / 0.6028 GB, free: 72 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2408/0.4022, allocations: 1.907 MB / 0.6047 GB, free: 43.42 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001321/0.4024, allocations: 257.8 kB / 0.6049 GB, free: 43.17 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.574/1.977, allocations: 3.438 kB / 0.6049 GB, free: 43.17 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/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)