Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="Buildings_maint_7_0_x_Buildings_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.877/1.877, allocations: 252 MB / 267.3 MB, free: 10.85 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001088/0.001088, allocations: 183.9 kB / 327 MB, free: 2.094 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.556/1.556, allocations: 205.4 MB / 0.578 GB, free: 20.12 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007882/0.0007882, allocations: 90.39 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002941/0.0002942, allocations: 10.06 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1587, allocations: 106.3 MB / 0.9009 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001178/0.1599, allocations: 1.021 MB / 0.9019 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008031/0.1607, allocations: 0.6229 MB / 0.9025 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.614e-05/0.1608, allocations: 0 / 0.9025 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.354e-05/0.1608, allocations: 4 kB / 0.9025 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.654e-05/0.1608, allocations: 3.938 kB / 0.9025 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004376/0.1613, allocations: 123.6 kB / 0.9026 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.3e-05/0.1613, allocations: 23.92 kB / 0.9027 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.81e-05/0.1614, allocations: 4 kB / 0.9027 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.081e-05/0.1614, allocations: 15.92 kB / 0.9027 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.542e-05/0.1615, allocations: 11.94 kB / 0.9027 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.157e-05/0.1615, allocations: 4 kB / 0.9027 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003993/0.1619, allocations: 343.3 kB / 0.903 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.2e-05/0.1619, allocations: 7.984 kB / 0.903 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.626e-05/0.1619, allocations: 41.62 kB / 0.9031 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002128/0.1622, allocations: 151.9 kB / 0.9032 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.686e-06/0.1622, allocations: 0 / 0.9032 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.333e-06/0.1622, allocations: 4 kB / 0.9032 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.456e-06/0.1622, allocations: 0 / 0.9032 GB, free: 61.01 MB / 0.6042 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.0002763/0.1625, allocations: 359.5 kB / 0.9036 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.1625, allocations: 8.031 kB / 0.9036 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.777e-05/0.1625, allocations: 34.75 kB / 0.9036 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.262e-05/0.1626, allocations: 0.9375 kB / 0.9036 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.171e-05/0.1626, allocations: 164.3 kB / 0.9038 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.1627, allocations: 8.375 kB / 0.9038 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/0.1627, allocations: 12.31 kB / 0.9038 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001046/0.1628, allocations: 54.17 kB / 0.9038 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.1628, allocations: 7.938 kB / 0.9038 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.285e-06/0.1628, allocations: 0 / 0.9038 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.1628, allocations: 0 / 0.9038 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.317e-05/0.1629, allocations: 19.98 kB / 0.9039 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001161/0.163, allocations: 165.7 kB / 0.904 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.122e-05/0.1631, allocations: 58.5 kB / 0.9041 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.551e-05/0.1631, allocations: 32.84 kB / 0.9041 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.1632, allocations: 4 kB / 0.9041 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.311e-05/0.1632, allocations: 34.5 kB / 0.9042 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.1632, allocations: 0 / 0.9042 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0009034/0.1641, allocations: 0.6034 MB / 0.9047 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.72e-05/0.1641, allocations: 51.41 kB / 0.9048 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.848e-05/0.1642, allocations: 97.84 kB / 0.9049 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.508e-06/0.1642, allocations: 29.7 kB / 0.9049 GB, free: 59 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.397e-05/0.1642, allocations: 88 kB / 0.905 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.782e-05/0.1642, allocations: 39.36 kB / 0.905 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.899e-06/0.1642, allocations: 4 kB / 0.905 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.441e-05/0.1643, allocations: 315 kB / 0.9053 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.551e-05/0.1643, allocations: 27.98 kB / 0.9054 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.111e-05/0.1644, allocations: 18.38 kB / 0.9054 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.55e-05/0.1644, allocations: 60.84 kB / 0.9054 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.1645, allocations: 0 / 0.9054 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001177/0.1646, allocations: 97.56 kB / 0.9055 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.1646, allocations: 4 kB / 0.9055 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.1646, allocations: 0 / 0.9055 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.1646, allocations: 4 kB / 0.9055 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.579e-05/0.1647, allocations: 23.98 kB / 0.9056 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.1647, allocations: 0 / 0.9056 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.384e-05/0.1648, allocations: 0 / 0.9056 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.1648, allocations: 11.98 kB / 0.9056 GB, free: 58.3 MB / 0.6042 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 4.996e-05/0.1648, allocations: 117.8 kB / 0.9057 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.301e-05/0.1648, allocations: 15.83 kB / 0.9057 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001539/0.165, allocations: 101.6 kB / 0.9058 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.165, allocations: 0 / 0.9058 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.165, allocations: 0 / 0.9058 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.165, allocations: 8 kB / 0.9058 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002746/0.1653, allocations: 358.4 kB / 0.9061 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1653, allocations: 0 / 0.9061 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.1654, allocations: 23.98 kB / 0.9062 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.195e-06/0.1654, allocations: 0 / 0.9062 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.1655, allocations: 0 / 0.9062 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1655, allocations: 0 / 0.9062 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1655, allocations: 0 / 0.9062 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001778/0.1656, allocations: 230.5 kB / 0.9064 GB, free: 57.37 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.589e-05/0.1657, allocations: 77.11 kB / 0.9065 GB, free: 57.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.349e-05/0.1657, allocations: 4.031 kB / 0.9065 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.1658, allocations: 4 kB / 0.9065 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.14e-05/0.1658, allocations: 11.92 kB / 0.9065 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.1658, allocations: 4 kB / 0.9065 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.676e-05/0.1659, allocations: 75.28 kB / 0.9066 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1659, allocations: 160 / 0.9066 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002402/0.1661, allocations: 43.94 kB / 0.9066 GB, free: 57.14 MB / 0.6042 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.0003854/0.1665, allocations: 0.7825 MB / 0.9074 GB, free: 56.33 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001109/0.1666, allocations: 59.91 kB / 0.9074 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1666, allocations: 0 / 0.9074 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.997e-05/0.1667, allocations: 40.47 kB / 0.9075 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002008/0.1669, allocations: 9.484 kB / 0.9075 GB, free: 56.22 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.1679, allocations: 1.558 MB / 0.909 GB, free: 54.58 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.642e-05/0.168, allocations: 0.6848 MB / 0.9097 GB, free: 53.87 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.767e-05/0.1681, allocations: 15.98 kB / 0.9097 GB, free: 53.86 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.197e-05/0.1681, allocations: 15.44 kB / 0.9097 GB, free: 53.84 MB / 0.6042 GB Notification: Performance of SimCode: time 2.1e-07/0.1681, allocations: 3.938 kB / 0.9097 GB, free: 53.84 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01074/0.1788, allocations: 1.845 MB / 0.9115 GB, free: 52.2 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001538/0.179, allocations: 262.4 kB / 0.9117 GB, free: 51.95 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.019/2.198, allocations: 4 kB / 0.9117 GB, free: 51.94 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)