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_DerivativeCheck.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_DerivativeCheck,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",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.496/1.496, allocations: 252 MB / 267 MB, free: 10.96 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.0009941/0.0009942, allocations: 180.5 kB / 326.6 MB, free: 2.219 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.629/1.629, allocations: 205.4 MB / 0.5776 GB, free: 20.2 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.0007704/0.0007704, allocations: 89.92 kB / 0.6822 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002954/0.0002955, allocations: 9.594 kB / 0.7965 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.162, allocations: 106.3 MB / 0.9003 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001056/0.1631, allocations: 1.001 MB / 0.9013 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007268/0.1639, allocations: 0.5572 MB / 0.9018 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.46e-05/0.1639, allocations: 0 / 0.9018 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.428e-05/0.1639, allocations: 0 / 0.9018 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.32e-05/0.164, allocations: 3.984 kB / 0.9018 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006199/0.1646, allocations: 127.5 kB / 0.902 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.686e-05/0.1647, allocations: 15.94 kB / 0.902 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.978e-05/0.1647, allocations: 0 / 0.902 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.298e-05/0.1648, allocations: 11.98 kB / 0.902 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.075e-05/0.1649, allocations: 11.92 kB / 0.902 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.317e-05/0.1649, allocations: 3.938 kB / 0.902 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003948/0.1653, allocations: 335.3 kB / 0.9023 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.009e-05/0.1653, allocations: 7.984 kB / 0.9023 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.131e-05/0.1653, allocations: 25.7 kB / 0.9024 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001862/0.1655, allocations: 96.05 kB / 0.9024 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1655, allocations: 0 / 0.9024 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.134e-06/0.1655, allocations: 0 / 0.9024 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.95e-06/0.1656, allocations: 4 kB / 0.9024 GB, free: 61.57 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003884/0.1659, allocations: 351.3 kB / 0.9028 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.166, allocations: 12.03 kB / 0.9028 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.269e-05/0.166, allocations: 34.55 kB / 0.9028 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.689e-05/0.1661, allocations: 0 / 0.9028 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.369e-05/0.1661, allocations: 167 kB / 0.903 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.1662, allocations: 4 kB / 0.903 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.001e-05/0.1662, allocations: 11.84 kB / 0.903 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.729e-05/0.1663, allocations: 41.69 kB / 0.903 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.1663, allocations: 0 / 0.903 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.1663, allocations: 0 / 0.903 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.1663, allocations: 0 / 0.903 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.927e-05/0.1664, allocations: 11.98 kB / 0.9031 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001244/0.1665, allocations: 165.7 kB / 0.9032 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001666/0.1667, allocations: 46.5 kB / 0.9033 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.856e-05/0.1667, allocations: 16.86 kB / 0.9033 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.819e-05/0.1667, allocations: 7.984 kB / 0.9033 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.382e-05/0.1668, allocations: 30.56 kB / 0.9033 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.1668, allocations: 0 / 0.9033 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.0005219/0.1673, allocations: 302.4 kB / 0.9036 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.218e-05/0.1673, allocations: 51.41 kB / 0.9036 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.172e-05/0.1674, allocations: 97.86 kB / 0.9037 GB, free: 60 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.546e-06/0.1674, allocations: 29.7 kB / 0.9038 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.519e-05/0.1674, allocations: 84.14 kB / 0.9038 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.038e-05/0.1674, allocations: 23.64 kB / 0.9039 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.047e-06/0.1675, allocations: 0 / 0.9039 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.361e-05/0.1675, allocations: 326.7 kB / 0.9042 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.297e-05/0.1675, allocations: 4 kB / 0.9042 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.933e-05/0.1676, allocations: 15.98 kB / 0.9042 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.647e-05/0.1676, allocations: 15.94 kB / 0.9042 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1676, allocations: 0 / 0.9042 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.241e-05/0.1677, allocations: 69.67 kB / 0.9043 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.1677, allocations: 8 kB / 0.9043 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.748e-06/0.1677, allocations: 3.938 kB / 0.9043 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.1677, allocations: 0 / 0.9043 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.982e-05/0.1678, allocations: 8 kB / 0.9043 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.1678, allocations: 0 / 0.9043 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.815e-05/0.1678, allocations: 4 kB / 0.9043 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-06/0.1678, allocations: 0 / 0.9043 GB, free: 59.4 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 (7): * Single equations (assignments): 7 * 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.102e-05/0.1679, allocations: 125.7 kB / 0.9044 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.298e-06/0.1679, allocations: 4 kB / 0.9044 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000119/0.168, allocations: 73.91 kB / 0.9045 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.168, allocations: 4 kB / 0.9045 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1681, allocations: 4 kB / 0.9045 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.1681, allocations: 0 / 0.9045 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002252/0.1683, allocations: 315.4 kB / 0.9048 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.1683, allocations: 0 / 0.9048 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.885e-05/0.1684, allocations: 12 kB / 0.9048 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.1684, allocations: 8.031 kB / 0.9048 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.1684, allocations: 0 / 0.9048 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.1684, allocations: 0 / 0.9048 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1684, allocations: 0 / 0.9048 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001286/0.1685, allocations: 184.3 kB / 0.905 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.839e-05/0.1686, allocations: 85 kB / 0.9051 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/0.1686, allocations: 4.031 kB / 0.9051 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.085e-05/0.1687, allocations: 4.062 kB / 0.9051 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.717e-05/0.1687, allocations: 8 kB / 0.9051 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.06e-06/0.1687, allocations: 0 / 0.9051 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.862e-05/0.1687, allocations: 79.28 kB / 0.9052 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1687, allocations: 0 / 0.9052 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002257/0.169, allocations: 19.98 kB / 0.9052 GB, free: 58.37 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0003151/0.1693, allocations: 0.7444 MB / 0.9059 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8.165e-05/0.1694, allocations: 31.98 kB / 0.906 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1694, allocations: 0 / 0.906 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.283e-05/0.1694, allocations: 23.92 kB / 0.906 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000202/0.1696, allocations: 6.031 kB / 0.906 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006024/0.1702, allocations: 0.4922 MB / 0.9065 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.536e-05/0.1703, allocations: 0.6809 MB / 0.9071 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.093e-05/0.1704, allocations: 3.984 kB / 0.9071 GB, free: 56.28 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.865e-05/0.1704, allocations: 20.97 kB / 0.9072 GB, free: 56.26 MB / 0.6042 GB Notification: Performance of SimCode: time 2.4e-07/0.1704, allocations: 0 / 0.9072 GB, free: 56.26 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01044/0.1809, allocations: 1.389 MB / 0.9085 GB, free: 55.09 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001334/0.181, allocations: 235 kB / 0.9087 GB, free: 54.85 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.495/1.676, allocations: 0 / 0.9087 GB, free: 54.85 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)