Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.512/1.512, allocations: 288.4 MB / 303.6 MB, free: 8.172 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000889/0.000889, allocations: 181.3 kB / 372.3 MB, free: 10.13 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.301/1.301, allocations: 205.4 MB / 0.631 GB, free: 9.789 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006938/0.0006939, allocations: 86.42 kB / 0.7444 GB, free: 5.715 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003504/0.0003504, allocations: 16.28 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1566, allocations: 115.3 MB / 0.9802 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.0009427/0.1575, allocations: 0.9862 MB / 0.9812 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0006199/0.1582, allocations: 0.5581 MB / 0.9817 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.413e-05/0.1582, allocations: 0 / 0.9817 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.909e-06/0.1582, allocations: 3.938 kB / 0.9817 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.955e-05/0.1583, allocations: 0 / 0.9817 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003578/0.1586, allocations: 121.7 kB / 0.9818 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 3.867e-05/0.1587, allocations: 19.92 kB / 0.9818 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.231e-05/0.1587, allocations: 7.938 kB / 0.9819 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.633e-05/0.1587, allocations: 11.94 kB / 0.9819 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.753e-05/0.1588, allocations: 4 kB / 0.9819 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.012e-05/0.1588, allocations: 4 kB / 0.9819 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003311/0.1591, allocations: 335.3 kB / 0.9822 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.277e-06/0.1592, allocations: 7.984 kB / 0.9822 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.176e-05/0.1592, allocations: 33.64 kB / 0.9822 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001259/0.1593, allocations: 96.11 kB / 0.9823 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1593, allocations: 4 kB / 0.9823 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1593, allocations: 0 / 0.9823 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.046e-06/0.1593, allocations: 0 / 0.9823 GB, free: 25.04 MB / 0.6198 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.0002527/0.1596, allocations: 355.4 kB / 0.9827 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.123e-05/0.1596, allocations: 12.03 kB / 0.9827 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.114e-05/0.1597, allocations: 38.75 kB / 0.9827 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.895e-05/0.1597, allocations: 0.9375 kB / 0.9827 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.199e-05/0.1598, allocations: 164.3 kB / 0.9829 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.653e-06/0.1598, allocations: 8.312 kB / 0.9829 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.577e-05/0.1598, allocations: 4.359 kB / 0.9829 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.639e-05/0.1599, allocations: 38.27 kB / 0.9829 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.1599, allocations: 3.938 kB / 0.9829 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.543e-06/0.1599, allocations: 0 / 0.9829 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.1599, allocations: 3.984 kB / 0.9829 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.982e-05/0.1599, allocations: 16 kB / 0.9829 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001003/0.16, allocations: 153.7 kB / 0.9831 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001348/0.1602, allocations: 46.48 kB / 0.9831 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.547e-05/0.1602, allocations: 20.94 kB / 0.9832 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.58e-05/0.1602, allocations: 3.984 kB / 0.9832 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.203e-05/0.1603, allocations: 38.56 kB / 0.9832 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 9.51e-07/0.1603, allocations: 0 / 0.9832 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0004343/0.1607, allocations: 322.1 kB / 0.9835 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.155e-05/0.1607, allocations: 51.41 kB / 0.9836 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.227e-05/0.1608, allocations: 101.8 kB / 0.9836 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.883e-06/0.1608, allocations: 25.7 kB / 0.9837 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.264e-05/0.1608, allocations: 80.14 kB / 0.9837 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.731e-05/0.1608, allocations: 15.81 kB / 0.9838 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-06/0.1608, allocations: 7.938 kB / 0.9838 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.32e-05/0.1609, allocations: 318.8 kB / 0.9841 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.95e-05/0.1609, allocations: 12 kB / 0.9841 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.512e-05/0.1609, allocations: 4 kB / 0.9841 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.309e-05/0.161, allocations: 36.84 kB / 0.9841 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.52e-07/0.161, allocations: 0 / 0.9841 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.283e-05/0.161, allocations: 69.53 kB / 0.9842 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.576e-06/0.1611, allocations: 4 kB / 0.9842 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.1611, allocations: 3.984 kB / 0.9842 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.225e-06/0.1611, allocations: 4 kB / 0.9842 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.348e-05/0.1611, allocations: 15.94 kB / 0.9842 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.1612, allocations: 240 / 0.9842 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.778e-05/0.1612, allocations: 4 kB / 0.9842 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.119e-06/0.1612, allocations: 4 kB / 0.9842 GB, free: 22.82 MB / 0.6198 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 3.84e-05/0.1612, allocations: 109.8 kB / 0.9843 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.047e-06/0.1612, allocations: 7.938 kB / 0.9843 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001026/0.1613, allocations: 81.56 kB / 0.9844 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.1614, allocations: 4 kB / 0.9844 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.1614, allocations: 0 / 0.9844 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.1614, allocations: 0 / 0.9844 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001862/0.1616, allocations: 311.4 kB / 0.9847 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1616, allocations: 3.938 kB / 0.9847 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.418e-05/0.1616, allocations: 19.92 kB / 0.9847 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1616, allocations: 0 / 0.9847 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-06/0.1617, allocations: 0 / 0.9847 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1617, allocations: 7.938 kB / 0.9847 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1617, allocations: 4.031 kB / 0.9848 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001107/0.1618, allocations: 180.5 kB / 0.9849 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.363e-05/0.1618, allocations: 85.14 kB / 0.985 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.057e-05/0.1618, allocations: 4 kB / 0.985 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.206e-05/0.1619, allocations: 0 / 0.985 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.591e-05/0.1619, allocations: 7.984 kB / 0.985 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.1619, allocations: 8.062 kB / 0.985 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.65e-05/0.1619, allocations: 79.8 kB / 0.9851 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.31e-07/0.162, allocations: 3.938 kB / 0.9851 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002046/0.1622, allocations: 20 kB / 0.9851 GB, free: 21.79 MB / 0.6198 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.0002634/0.1624, allocations: 0.7328 MB / 0.9858 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.293e-05/0.1625, allocations: 35.92 kB / 0.9859 GB, free: 21 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1625, allocations: 0 / 0.9859 GB, free: 21 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.982e-05/0.1625, allocations: 12 kB / 0.9859 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001897/0.1627, allocations: 14.83 kB / 0.9859 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005082/0.1633, allocations: 491.7 kB / 0.9864 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.014e-05/0.1634, allocations: 0.6848 MB / 0.987 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.662e-05/0.1634, allocations: 8.062 kB / 0.987 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.218e-05/0.1634, allocations: 15.38 kB / 0.9871 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.1634, allocations: 0 / 0.9871 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.511/0.6744, allocations: 1.369 MB / 0.9884 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001996/0.6747, allocations: 229.9 kB / 0.9886 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.683/2.358, allocations: 0 / 0.9886 GB, free: 18.32 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)