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.001141/0.001141, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.343/1.343, allocations: 222.9 MB / 240.2 MB, free: 4.41 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 1.002/1.002, allocations: 143 MB / 433.4 MB, free: 11.51 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 59.89 kB / 0.5143 GB, free: 11.58 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1557, allocations: 82.05 MB / 0.5944 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002501/0.1582, allocations: 1.272 MB / 0.5956 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001188/0.1595, allocations: 0.615 MB / 0.5962 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.942e-05/0.1595, allocations: 3.938 kB / 0.5962 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.038e-05/0.1596, allocations: 4 kB / 0.5963 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.212e-05/0.1596, allocations: 7.938 kB / 0.5963 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000777/0.1604, allocations: 151.4 kB / 0.5964 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.006e-05/0.1605, allocations: 23.92 kB / 0.5964 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.085e-05/0.1606, allocations: 4 kB / 0.5964 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.872e-05/0.1606, allocations: 11.94 kB / 0.5964 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.216e-05/0.1607, allocations: 11.98 kB / 0.5965 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.263e-05/0.1607, allocations: 0 / 0.5965 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005749/0.1613, allocations: 351.3 kB / 0.5968 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.941e-05/0.1613, allocations: 15.86 kB / 0.5968 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.162e-05/0.1614, allocations: 15.92 kB / 0.5968 GB, free: 7 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003308/0.1617, allocations: 151.9 kB / 0.597 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.1617, allocations: 4 kB / 0.597 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1617, allocations: 0 / 0.597 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.112e-05/0.1617, allocations: 0 / 0.597 GB, free: 6.848 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.0005104/0.1622, allocations: 363.3 kB / 0.5973 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.1623, allocations: 12.62 kB / 0.5973 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.04e-05/0.1623, allocations: 38.75 kB / 0.5974 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.648e-05/0.1624, allocations: 8.938 kB / 0.5974 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.1625, allocations: 164.3 kB / 0.5975 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.1626, allocations: 8.359 kB / 0.5975 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.793e-05/0.1626, allocations: 4.375 kB / 0.5975 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001322/0.1627, allocations: 50.19 kB / 0.5976 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.1627, allocations: 3.938 kB / 0.5976 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.1628, allocations: 0 / 0.5976 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.1628, allocations: 4 kB / 0.5976 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.381e-05/0.1628, allocations: 15.98 kB / 0.5976 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002074/0.1631, allocations: 173.6 kB / 0.5978 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001331/0.1632, allocations: 62.55 kB / 0.5978 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.75e-05/0.1632, allocations: 24.86 kB / 0.5979 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/0.1633, allocations: 0 / 0.5979 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.1633, allocations: 42.5 kB / 0.5979 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 9.22e-07/0.1633, allocations: 0 / 0.5979 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.001277/0.1646, allocations: 0.5839 MB / 0.5985 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.7e-05/0.1646, allocations: 55.41 kB / 0.5985 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.235e-05/0.1647, allocations: 101.8 kB / 0.5986 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.1648, allocations: 25.7 kB / 0.5986 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.073e-05/0.1648, allocations: 84.27 kB / 0.5987 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.438e-05/0.1648, allocations: 43.39 kB / 0.5988 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.186e-05/0.1649, allocations: 29.72 kB / 0.5988 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.165, allocations: 318.8 kB / 0.5991 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.294e-05/0.1651, allocations: 23.94 kB / 0.5991 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.892e-05/0.1651, allocations: 22.23 kB / 0.5991 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.365e-05/0.1652, allocations: 56.84 kB / 0.5992 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1652, allocations: 96 / 0.5992 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000154/0.1654, allocations: 111.4 kB / 0.5993 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.1654, allocations: 10.66 kB / 0.5993 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.1654, allocations: 0 / 0.5993 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.1654, allocations: 0 / 0.5993 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.1656, allocations: 19.98 kB / 0.5993 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.1656, allocations: 4 kB / 0.5993 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.421e-05/0.1656, allocations: 0 / 0.5993 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.1656, allocations: 4 kB / 0.5993 GB, free: 4.102 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 7.678e-05/0.1657, allocations: 113.8 kB / 0.5994 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.916e-05/0.1657, allocations: 11.94 kB / 0.5995 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002158/0.1659, allocations: 105.6 kB / 0.5996 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.166, allocations: 4 kB / 0.5996 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.166, allocations: 0 / 0.5996 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.166, allocations: 0 / 0.5996 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004117/0.1664, allocations: 358.4 kB / 0.5999 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1664, allocations: 0 / 0.5999 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001063/0.1665, allocations: 23.98 kB / 0.5999 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.604e-06/0.1665, allocations: 0 / 0.5999 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.1665, allocations: 8 kB / 0.5999 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.1665, allocations: 4 kB / 0.5999 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1666, allocations: 0 / 0.5999 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002389/0.1668, allocations: 219.7 kB / 0.6002 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.696e-05/0.1668, allocations: 85.05 kB / 0.6002 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.73e-05/0.1669, allocations: 3.984 kB / 0.6002 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.751e-05/0.167, allocations: 4 kB / 0.6002 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.203e-05/0.167, allocations: 8.062 kB / 0.6002 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.167, allocations: 7.984 kB / 0.6003 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.295e-05/0.1671, allocations: 83.22 kB / 0.6003 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1671, allocations: 0 / 0.6003 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002886/0.1674, allocations: 32 kB / 0.6004 GB, free: 2.941 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.0006163/0.168, allocations: 0.7866 MB / 0.6011 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000174/0.1682, allocations: 67.91 kB / 0.6012 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1682, allocations: 0 / 0.6012 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.714e-05/0.1682, allocations: 35.92 kB / 0.6012 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002295/0.1685, allocations: 8 kB / 0.6012 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00144/0.1699, allocations: 1.502 MB / 0.6027 GB, free: 452 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2282/0.3981, allocations: 0.681 MB / 0.6034 GB, free: 43.45 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.311e-05/0.3982, allocations: 8.016 kB / 0.6034 GB, free: 43.45 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.492e-05/0.3983, allocations: 21.95 kB / 0.6034 GB, free: 43.45 MB / 0.4981 GB Notification: Performance of SimCode: time 5.71e-07/0.3983, allocations: 0 / 0.6034 GB, free: 43.45 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08405/0.4823, allocations: 2.049 MB / 0.6054 GB, free: 43.18 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.458/7.94, allocations: 12.69 kB / 0.6054 GB, free: 43.18 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)