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_DerivativeCheck2.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_DerivativeCheck2,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.807/1.807, allocations: 288.4 MB / 303.3 MB, free: 8.195 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.0009875/0.0009875, allocations: 192.5 kB / 372 MB, free: 10.23 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.38/1.38, allocations: 205.4 MB / 0.6307 GB, free: 9.965 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.0007139/0.0007139, allocations: 89.88 kB / 0.744 GB, free: 5.875 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003567/0.0003568, allocations: 15.44 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1726/0.173, allocations: 115.3 MB / 0.9797 GB, free: 27.52 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.00109/0.1741, allocations: 0.9902 MB / 0.9806 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007206/0.1749, allocations: 0.5659 MB / 0.9812 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.44e-05/0.1749, allocations: 3.938 kB / 0.9812 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.357e-05/0.1749, allocations: 0 / 0.9812 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.977e-05/0.175, allocations: 3.938 kB / 0.9812 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004563/0.1754, allocations: 129.5 kB / 0.9813 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.645e-05/0.1755, allocations: 23.92 kB / 0.9813 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.597e-05/0.1755, allocations: 4 kB / 0.9813 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.91e-05/0.1756, allocations: 7.938 kB / 0.9813 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.79e-05/0.1756, allocations: 27.91 kB / 0.9814 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.1e-05/0.1756, allocations: 0 / 0.9814 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003609/0.176, allocations: 327.4 kB / 0.9817 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.012e-05/0.176, allocations: 15.92 kB / 0.9817 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.759e-05/0.1761, allocations: 25.7 kB / 0.9817 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001466/0.1762, allocations: 108 kB / 0.9818 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.736e-06/0.1762, allocations: 0 / 0.9818 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of FrontEnd: time 9.82e-07/0.1762, allocations: 0 / 0.9818 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.986e-06/0.1762, allocations: 4 kB / 0.9818 GB, free: 25.28 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002887/0.1765, allocations: 359.2 kB / 0.9822 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.1766, allocations: 19.95 kB / 0.9822 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.416e-05/0.1766, allocations: 30.56 kB / 0.9822 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.203e-05/0.1766, allocations: 4 kB / 0.9822 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.883e-05/0.1767, allocations: 171 kB / 0.9824 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.719e-06/0.1767, allocations: 4 kB / 0.9824 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.986e-05/0.1767, allocations: 7.938 kB / 0.9824 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.643e-05/0.1768, allocations: 45.69 kB / 0.9824 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.1769, allocations: 3.938 kB / 0.9824 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.1769, allocations: 4 kB / 0.9824 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1769, allocations: 8 kB / 0.9825 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.191e-05/0.1769, allocations: 15.98 kB / 0.9825 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001269/0.1771, allocations: 169.5 kB / 0.9826 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.421e-05/0.1772, allocations: 62.48 kB / 0.9827 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.241e-05/0.1772, allocations: 24.86 kB / 0.9827 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.979e-05/0.1772, allocations: 0 / 0.9827 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.554e-05/0.1773, allocations: 42.55 kB / 0.9828 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 7.82e-07/0.1773, allocations: 0 / 0.9828 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0008983/0.1782, allocations: 0.5761 MB / 0.9833 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.774e-05/0.1782, allocations: 59.39 kB / 0.9834 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.561e-05/0.1782, allocations: 93.86 kB / 0.9835 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/0.1783, allocations: 33.7 kB / 0.9835 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.293e-05/0.1783, allocations: 80.14 kB / 0.9836 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.597e-05/0.1783, allocations: 39.45 kB / 0.9836 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.218e-06/0.1783, allocations: 0 / 0.9836 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.514e-05/0.1784, allocations: 318.8 kB / 0.9839 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.44e-05/0.1784, allocations: 23.98 kB / 0.9839 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.132e-05/0.1784, allocations: 19.98 kB / 0.984 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.214e-05/0.1785, allocations: 25.12 kB / 0.984 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-07/0.1785, allocations: 7.938 kB / 0.984 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001138/0.1786, allocations: 97.59 kB / 0.9841 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.1786, allocations: 4.094 kB / 0.9841 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.1786, allocations: 11.92 kB / 0.9841 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.1787, allocations: 4 kB / 0.9841 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.379e-05/0.1788, allocations: 19.98 kB / 0.9841 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.1788, allocations: 0 / 0.9841 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.571e-05/0.1788, allocations: 8 kB / 0.9841 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.1788, allocations: 0 / 0.9841 GB, free: 22.61 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 (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.118e-05/0.1789, allocations: 125.7 kB / 0.9842 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.182e-05/0.1789, allocations: 4 kB / 0.9842 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001577/0.179, allocations: 109.6 kB / 0.9844 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.1791, allocations: 0 / 0.9844 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.1791, allocations: 0 / 0.9844 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.1791, allocations: 4 kB / 0.9844 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000274/0.1793, allocations: 354.4 kB / 0.9847 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1794, allocations: 0 / 0.9847 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.968e-05/0.1795, allocations: 23.98 kB / 0.9847 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.1795, allocations: 4 kB / 0.9847 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.1795, allocations: 0 / 0.9847 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1795, allocations: 3.938 kB / 0.9847 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1795, allocations: 0 / 0.9847 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001787/0.1797, allocations: 221.4 kB / 0.9849 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.615e-05/0.1797, allocations: 81.02 kB / 0.985 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.367e-05/0.1797, allocations: 4 kB / 0.985 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.43e-05/0.1798, allocations: 8.062 kB / 0.985 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.886e-05/0.1798, allocations: 7.984 kB / 0.985 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.144e-06/0.1799, allocations: 4 kB / 0.985 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.805e-05/0.1799, allocations: 79.28 kB / 0.9851 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1799, allocations: 0 / 0.9851 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002326/0.1801, allocations: 32 kB / 0.9851 GB, free: 21.47 MB / 0.6198 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.0003792/0.1805, allocations: 0.7905 MB / 0.9859 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001107/0.1806, allocations: 59.91 kB / 0.986 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1806, allocations: 8 kB / 0.986 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.723e-05/0.1807, allocations: 31.92 kB / 0.986 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001972/0.1809, allocations: 8 kB / 0.986 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007754/0.1817, allocations: 0.6541 MB / 0.9867 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.757e-05/0.1818, allocations: 0.6887 MB / 0.9873 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.593e-05/0.1818, allocations: 12.06 kB / 0.9873 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.319e-05/0.1819, allocations: 19.42 kB / 0.9874 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of SimCode: time 2.31e-07/0.1819, allocations: 0 / 0.9874 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01272/0.1946, allocations: 1.822 MB / 0.9891 GB, free: 17.49 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001727/0.1948, allocations: 245.4 kB / 0.9894 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.494/1.689, allocations: 0 / 0.9894 GB, free: 17.25 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu > Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)