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.417/1.417, allocations: 252 MB / 267 MB, free: 10.98 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.001009/0.001009, allocations: 180.7 kB / 326.6 MB, free: 2.238 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.513/1.513, allocations: 205.4 MB / 0.5777 GB, free: 20.28 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.0006952/0.0006951, allocations: 84.27 kB / 0.6822 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002905/0.0002906, allocations: 9.625 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1647/0.165, allocations: 106.3 MB / 0.9003 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001168/0.1662, allocations: 1.009 MB / 0.9013 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007403/0.167, allocations: 0.5624 MB / 0.9018 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.555e-05/0.167, allocations: 0 / 0.9018 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.422e-05/0.167, allocations: 0 / 0.9018 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.459e-05/0.1671, allocations: 3.938 kB / 0.9018 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004854/0.1676, allocations: 129.8 kB / 0.902 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.88e-05/0.1676, allocations: 27.92 kB / 0.902 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.504e-05/0.1677, allocations: 0 / 0.902 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.492e-05/0.1677, allocations: 15.92 kB / 0.902 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.302e-05/0.1678, allocations: 11.98 kB / 0.902 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.328e-05/0.1678, allocations: 0 / 0.902 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003833/0.1682, allocations: 335.3 kB / 0.9023 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.234e-05/0.1682, allocations: 15.91 kB / 0.9024 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.298e-05/0.1682, allocations: 29.7 kB / 0.9024 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001683/0.1684, allocations: 108 kB / 0.9025 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1684, allocations: 0 / 0.9025 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1684, allocations: 0 / 0.9025 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.183e-06/0.1684, allocations: 4 kB / 0.9025 GB, free: 61.58 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.0003182/0.1688, allocations: 355.3 kB / 0.9028 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.1688, allocations: 8.031 kB / 0.9028 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.258e-05/0.1689, allocations: 38.55 kB / 0.9029 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.639e-05/0.1689, allocations: 3.984 kB / 0.9029 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.695e-05/0.169, allocations: 171 kB / 0.903 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-06/0.169, allocations: 0 / 0.903 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.33e-05/0.169, allocations: 11.91 kB / 0.9031 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.1691, allocations: 53.62 kB / 0.9031 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.1692, allocations: 0 / 0.9031 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.1692, allocations: 7.984 kB / 0.9031 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.1692, allocations: 0 / 0.9031 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.749e-05/0.1692, allocations: 20 kB / 0.9031 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001435/0.1694, allocations: 169.6 kB / 0.9033 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.847e-05/0.1695, allocations: 54.56 kB / 0.9033 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.45e-05/0.1695, allocations: 28.78 kB / 0.9034 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.1696, allocations: 4 kB / 0.9034 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.742e-05/0.1696, allocations: 38.56 kB / 0.9034 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.1696, allocations: 0 / 0.9034 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0009882/0.1706, allocations: 0.5878 MB / 0.904 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.992e-05/0.1706, allocations: 51.41 kB / 0.904 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.346e-05/0.1707, allocations: 93.86 kB / 0.9041 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.1707, allocations: 29.7 kB / 0.9042 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.68e-05/0.1707, allocations: 84 kB / 0.9042 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.764e-05/0.1707, allocations: 35.45 kB / 0.9043 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.15e-06/0.1707, allocations: 4 kB / 0.9043 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.032e-05/0.1708, allocations: 322.8 kB / 0.9046 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.525e-05/0.1708, allocations: 24.12 kB / 0.9046 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.157e-05/0.1709, allocations: 19.98 kB / 0.9046 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.107e-05/0.1709, allocations: 20 kB / 0.9046 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1709, allocations: 0 / 0.9046 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000119/0.171, allocations: 111.9 kB / 0.9047 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.1711, allocations: 10.91 kB / 0.9048 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1711, allocations: 0 / 0.9048 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.1711, allocations: 0 / 0.9048 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.1712, allocations: 20.09 kB / 0.9048 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.054e-06/0.1712, allocations: 7.922 kB / 0.9048 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.546e-05/0.1712, allocations: 8 kB / 0.9048 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.1713, allocations: 4 kB / 0.9048 GB, free: 58.91 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.696e-05/0.1713, allocations: 117.7 kB / 0.9049 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.158e-05/0.1713, allocations: 7.906 kB / 0.9049 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001637/0.1715, allocations: 105.8 kB / 0.905 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1715, allocations: 4 kB / 0.905 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1715, allocations: 0 / 0.905 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.1715, allocations: 3.984 kB / 0.905 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002861/0.1718, allocations: 358.4 kB / 0.9054 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1718, allocations: 4 kB / 0.9054 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.92e-05/0.172, allocations: 19.98 kB / 0.9054 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.172, allocations: 0 / 0.9054 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.645e-06/0.172, allocations: 0 / 0.9054 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.172, allocations: 4 kB / 0.9054 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.172, allocations: 7.984 kB / 0.9054 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001742/0.1722, allocations: 223.3 kB / 0.9056 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.552e-05/0.1722, allocations: 77.11 kB / 0.9057 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.318e-05/0.1722, allocations: 8.031 kB / 0.9057 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.452e-05/0.1723, allocations: 0 / 0.9057 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.571e-05/0.1723, allocations: 7.984 kB / 0.9057 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.1723, allocations: 8 kB / 0.9057 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.595e-05/0.1724, allocations: 75.28 kB / 0.9058 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1724, allocations: 0 / 0.9058 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000233/0.1726, allocations: 39.92 kB / 0.9058 GB, free: 57.75 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 (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.0003659/0.173, allocations: 0.7905 MB / 0.9066 GB, free: 56.94 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001128/0.1731, allocations: 55.98 kB / 0.9066 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1731, allocations: 0 / 0.9066 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.957e-05/0.1732, allocations: 35.92 kB / 0.9067 GB, free: 56.85 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002011/0.1734, allocations: 12.59 kB / 0.9067 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007748/0.1741, allocations: 0.6602 MB / 0.9073 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.387e-05/0.1743, allocations: 0.6888 MB / 0.908 GB, free: 55.41 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.555e-05/0.1743, allocations: 11.92 kB / 0.908 GB, free: 55.4 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.333e-05/0.1743, allocations: 19.44 kB / 0.908 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.1743, allocations: 0 / 0.908 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01041/0.1848, allocations: 1.818 MB / 0.9098 GB, free: 53.78 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001218/0.1849, allocations: 242.1 kB / 0.91 GB, free: 53.54 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.525/1.71, allocations: 0 / 0.91 GB, free: 53.54 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)